apt-get install build-essential libjemalloc-dev  
wget http://download.redis.io/releases/redis-3.0.7.tar.gz  
tar xzf redis-3.0.7.tar.gz  
cd redis-3.0.7/deps  
make hiredis lua jemalloc linenoise  
cd ..  
make  
make test  
make install  
cd utils  
./install_server.sh