Created
March 21, 2018 20:30
-
-
Save edbizarro/3d6024b8dfcdcaa8e0350b47a07db265 to your computer and use it in GitHub Desktop.
redis 4 ubuntu - ref https://gist.github.com/hackedunit/a53f0b5376b3772d278078f686b04d38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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