[noSQL] How to install Redis server from source code on Ubuntu
Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. Learn more http://redis.io
Step 1. Before you install redis, there are a couple of prerequisites that need to be downloaded to make the installation as easy as possible:sudo apt-get updateStep 2. Goto redis.io and get stable release version of redis
sudo apt-get install build-essential
sudo apt-get install tcl8.5
wget http://download.redis.io/releases/redis-2.8.7.tar.gzStep 3. Install redis server by script
tar -xzvf redis-2.8.7.tar.gz
cd redis-2.8.7/src
sudo make install
cd ../utilsStep 4. Start and stop redis services:
sudo ./install_server.sh
sudo /etc/init.d/redis_6379 startStep 5. Access to redis command line
sudo /etc/init.d/redis_6379 stop
redis-cliNotes: if old redis is running, stop it before install.