一、下载Redis##
下载地址 http://download.redis.io/releases/redis-2.8.17.tar.gz
[root@localhost Downloads]# wget http://download.redis.io/releases/redis-2.8.17.tar.gz
二、安装Redis##
[root@localhost Downloads]# tar xzf redis-2.8.17.tar.gz
[root@localhost Downloads]# cd redis-2.8.17
[root@localhost redis-2.8.17]# make && make install
[root@localhost redis-2.8.17]# cd src/
[root@localhost src]# ./redis-server & //后台运行redis服务
三、测试##
[root@localhost src]# ./redis-cli
127.0.0.1:6379> SET name TOM
OK
127.0.0.1:6379> GET name
"TOM"