1. 下载安装包
weget http://download.redis.io/releases/redis-3.0.0.tar.gz.tar.gz
2. 安装依赖
yum install gcc
yum install tcl
3.解压及安装
cd redis-3.0.0
make && make install
4. 检查是否安装成功
which redis-server
5. 修改端口及后台启动
daemonize yes
port 7000
6. 查看redis进程及登录
ps aux | grep redis
redis-cli -h127.0.0.1 -p7000