yum install epel-release
yum install redis
vim /etc/redis.conf
注释bind 127.0.0.1
设置密码requirepass 123456
systemctl start redis.service
开机启动chkconfig redis on
centos安装redis
最新推荐文章于 2024-06-21 11:57:24 发布
yum install epel-release
yum install redis
vim /etc/redis.conf
注释bind 127.0.0.1
设置密码requirepass 123456
systemctl start redis.service
开机启动chkconfig redis on