Linux系统中部署Redis详细步骤
安装Redis yum仓库
下载yum仓库
bash
wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

安装yum仓库
bash
rpm -ivh remi-release-7.rpm

安装Redis
bash
yum --enablerepo=remi install redis

配置Redis允许远程访问
bash
vim /etc/redis/redis.conf
bash
bind 0.0.0.0
protected-mode no
启动Redis
bash
systemctl start redis
systemctl status redis

设置Redis的开机自启动
bash
systemctl enable redis
