Last active
August 29, 2015 14:19
-
-
Save raphaelkong/341069a0a901fa53f7a7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # 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