CentOS 安装Redis
1.安装epel仓库
yum install epel-release
2.安装redis
yum install -y redis
3.修改redis配置文件
vi /etc/redis.conf
# bind 127.0.0.1
daemonize yes
requirepass yourPassword
4.启动redis
systemctl start redis
5.设置开机启动
systemctl enable redis
作者:[一柒微笑]