Created
June 23, 2012 14:54
-
-
Save bendangelo/2978560 to your computer and use it in GitHub Desktop.
Install Stable Redis on Ubuntu
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
# curl -L https://raw.github.com/gist/2978560 | bash | |
# /etc/apt/sources.list.d/dotdeb.org.list | |
sudo -s | |
echo -e "deb http://packages.dotdeb.org stable all\ndeb-src http://packages.dotdeb.org stable all" > /etc/apt/sources.list.d/dotdeb.org.list | |
wget -q http://www.dotdeb.org/dotdeb.gpg -O- | apt-key add - | |
apt-get update | |
apt-get install redis-server | |
# wget -O redis.conf gist.github.com/raw/2978930 | |
# mv redis.conf /etc/redis.conf | |
#logs redis user | |
# mkdir -p /var/lib/redis | |
# mkdir -p /var/log/redis | |
# useradd --system --home-dir /var/lib/redis redis | |
# chown redis.redis /var/lib/redis | |
# chown redis.redis /var/log/redis | |
# update-rc.d redis-server defaults |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment