Skip to content

Instantly share code, notes, and snippets.

@nlevchuk
Created March 21, 2013 11:07
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 nlevchuk/5212257 to your computer and use it in GitHub Desktop.
Save nlevchuk/5212257 to your computer and use it in GitHub Desktop.
# download and make Redis
$ wget http://redis.googlecode.com/files/redis-2.6.7.tar.gz
$ sudo tar xzf redis-2.6.7.tar.gz -C /usr/lib/
$ cd /usr/lib/redis-2.6.7
$ sudo make
# create symlinks to the /usr/local/bin
$ sudo ln -s /usr/lib/redis-2.6.7/src/redis-server /usr/local/bin/redis-server
$ sudo ln -s /usr/lib/redis-2.6.7/src/redis-cli /usr/local/bin/redis-cli
# set up init to run redis on startup
$ cd /usr/lib/redis-2.6.7/utils
$ sudo ./install_server.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment