1、安装Remi的软件源
yum install -y http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
2、yum安装redis
yum --enablerepo=remi install redis -y
3、查询redis版本
redis-server -v
4、配置redis
redis-server -v
5、启动redis
systemctl enable redis
6、查看redis状态
systemctl status redis
7、开机启动redis
systemctl enable redis