安装 remi 存储库
sudo yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm
使用清华软件源:
sudo yum install https://mirrors.tuna.tsinghua.edu.cn/remi/enterprise/remi-release-7.rpm
安装 redis
sudo yum --enablerepo=remi install redis -y
相关命令
- 启动
systemctl start redis
- 设置开机启动
systemctl enable redis
- 查看已经开机启动的服务
systemctl list-unit-files |grep enabled
网友评论