Yum-y Install GCC
wget http://download.redis.io/releases/redis-3.2.2.tar.gz
Tar zxf redis-3.2.2.tar.gz
CD redis-3.2.2
Make
Cd..
CD Utils
./install_server.sh then go down the road and enter
Welcome to the Redis service installer
This script would help you easily set up a running Redis server
Please select the Redis port for this instance: [6379]
Selecting default:6379
Please select the redis config file name [/etc/redis/6379.conf]
Selected Default-/etc/redis/6379.conf
Please select the Redis log file name [/var/log/redis_6379.log]
Selected Default-/var/log/redis_6379.log
Please select the data directory for this instance [/var/lib/redis/6379] ^c
[Email protected] utils]# wget http://download.redis.io/releases/redis-3.2.2.tar.gz^c
[Email protected] utils]#./install_server.sh
Welcome to the Redis service installer
This script would help you easily set up a running Redis server
Please select the Redis port for this instance: [6379]
Selecting default:6379
Please select the redis config file name [/etc/redis/6379.conf]
Selected Default-/etc/redis/6379.conf
Please select the Redis log file name [/var/log/redis_6379.log]
Selected Default-/var/log/redis_6379.log
Please select the data directory for this instance [/var/lib/redis/6379]
Selected Default-/var/lib/redis/6379
Please select the Redis executable path [/usr/local/bin/redis-server]
Selected Config:
port:6379
Config File:/etc/redis/6379.conf
Log File:/var/log/redis_6379.log
Data dir:/var/lib/redis/6379
Executable:/usr/local/bin/redis-server
Cli executable:/USR/LOCAL/BIN/REDIS-CLI
Is this OK? Then press ENTER to go on or ctrl-c to abort.
copied/tmp/6379.conf =/etc/init.d/redis_6379
Installing service ...
Successfully added to chkconfig!
Successfully added to Runlevels 345!
Starting Redis Server ...
Installation successful!
redis3.2.2 Installation