1、下载压缩包
wget http://download.redis.io/redis-stable.tar.gz
2、mv到usr/local
mv redis-stable.tar.gz /usr/local/
3、cd usr/local
4、解压
tar -xzvf redis-stable.tar.gz
5、进入解压目录
cd redis-stable
6、编译安装
make
make install
7、测试
make test
如果测试时报You need tcl 8.5 or newer in order to run the Redis test
请用yum install tcl 安装tcl
(未完待续)