#下载fedora的epel仓库
yum install epel-release
#安装redis数据库
yum install redis
# 启动Redis
service redis start
# 查看redis运行状态
service redis status
# 查看redis进程ps
-ef |
grep
redis
# 停止redis
service redis stop
# 设置redis为开机自动启动
chkconfig redis on
# 进入本机redis
redis-cli# 列出所有key
keys *