Skip to content

Instantly share code, notes, and snippets.

@janih
Last active December 12, 2015 06:38
Show Gist options
  • Save janih/4730330 to your computer and use it in GitHub Desktop.
Save janih/4730330 to your computer and use it in GitHub Desktop.
# download and make Redis
$ wget http://redis.googlecode.com/files/redis-2.6.9.tar.gz
$ sudo tar xzf redis-2.6.9.tar.gz -C /usr/lib/
$ cd /usr/lib/redis-2.6.9
$ sudo make
# create symlinks to the /usr/local/bin
$ sudo ln -s /usr/lib/redis-2.6.9/src/redis-server /usr/local/bin/redis-server
$ sudo ln -s /usr/lib/redis-2.6.9/src/redis-cli /usr/local/bin/redis-cli
# set up init to run redis on startup
$ cd /usr/lib/redis-2.6.9/utils
$ sudo ./install_server.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment