Created
August 4, 2014 16:01
-
-
Save IslamAzab/6e626065aae7acb09e69 to your computer and use it in GitHub Desktop.
Installing Redis
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
Prerequisites: | |
sudo apt-get install build-essential | |
sudo apt-get install tcl8.5 | |
To install redis: | |
wget http://download.redis.io/redis-stable.tar.gz | |
tar xvzf redis-stable.tar.gz | |
cd redis-stable | |
make | |
make test (optional to check that make was successful) | |
sudo make install (install redis system wide) | |
To make redis run as background deamon: | |
cd redis-stable/utils | |
sudo ./install_server.sh | |
To start and stop redis: | |
sudo service redis_6379 start | |
sudo service redis_6379 stop | |
You can access redis database using the following command | |
redis-cli | |
You can find a detailed version https://www.digitalocean.com/community/tutorials/how-to-install-and-use-redis. Also don't forget redis quickstart guide http://redis.io/topics/quickstart . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment