安装redis
yum install redis
启动redis
systemctl start redis.service
设置redis开机启动
systemctl enable redis.service
修改redis密码
打开文件
/etc/redis.conf
yum install redis
systemctl start redis.service
systemctl enable redis.service
修改redis密码
/etc/redis.conf