yum install epel-release
yum update
yum -y install redis

systemctl start redis

vi /etc/redis.conf
  #bind 127.0.0.1
  requirepass 密码

systemctl restart redis
 
 
 
 
posted on 2019-11-24 22:07  ingwant  阅读(106)  评论(0)    收藏  举报