centos7 安装最新版redis

  

1
2
3
4
5
6
7
8
9
sudo yum install epel-release yum-utils
sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo yum-config-manager --enable remi

sudo yum install redis

sudo systemctl start redis
sudo systemctl enable redis
sudo systemctl status redis

账号密码登录