ourfor / blog

利用GitHub的Issues记录
https://github.com/ourfor/blog/issues
1 stars 0 forks source link

CentOS 8 安装 Redis #48

Open ourfor opened 3 years ago

ourfor commented 3 years ago
dnf install redis -y
systemctl enable redis
systemctl start redis
firewall-cmd --zone=public --permanent --add-service=redis
firewall-cmd --reload
ourfor commented 3 years ago

/etc/redis.conf中注释掉bind 127.0.0.1, 并通过requirepass your-password设置密码