Skip to content

Instantly share code, notes, and snippets.

@dhirajt
Created September 2, 2013 06:54
Show Gist options
  • Save dhirajt/6409895 to your computer and use it in GitHub Desktop.
Save dhirajt/6409895 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