shell> tar zxvf redis-4.0.5.tar.gz -C /usr/local/
shell> cd /usr/local
shell> ln -s /usr/local/redis-4.0.5/ /usr/local/redis
shell> cd redis
shell> make
shell> vi redis.conf
shell> mkdir /etc/redis
shell> cp redis.conf /etc/redis/6379.conf
shell> cp utils/redis_init_script /etc/init.d/redis
shell> chmod u+x /etc/init.d/redis
shell> vi /etc/init.d/redis
shell> chkconfig redis on
shell> service redis start