[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 update
sudo apt-get install build-essential
sudo apt-get install tcl8.5
Step 2. Goto redis.io and get stable release version of redis
wget http://download.redis.io/releases/redis-2.8.7.tar.gz
tar -xzvf redis-2.8.7.tar.gz
cd redis-2.8.7/src
sudo make install
Step 3. Install redis server by script
cd ../utils
sudo ./install_server.sh
Step 4. Start and stop redis services:
sudo /etc/init.d/redis_6379 start
sudo /etc/init.d/redis_6379 stop
Step 5. Access to redis command line
redis-cli
Notes: if old redis is running, stop it before install.