Skip to content

Instantly share code, notes, and snippets.

@edbizarro
Created March 21, 2018 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edbizarro/3d6024b8dfcdcaa8e0350b47a07db265 to your computer and use it in GitHub Desktop.
Save edbizarro/3d6024b8dfcdcaa8e0350b47a07db265 to your computer and use it in GitHub Desktop.
apt-get update
apt-get upgrade -y
sudo apt-get install build-essential tcl -y
curl -O http://download.redis.io/redis-stable.tar.gz
tar xzvf redis-stable.tar.gz
cd redis-stable
make
sudo make install
sudo mkdir /etc/redis
sudo cp /tmp/redis-stable/redis.conf /etc/redis
sudo adduser --system --group --no-create-home redis
sudo mkdir /var/lib/redis
sudo chown redis:redis /var/lib/redis
sudo chmod 770 /var/lib/redis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment