进入redis安装目录
vi redis.conf
1.关闭默认的只允许本地登录
2.关掉保护模式
3.requirepass注释去掉,修改密码
4. 开启redis后台运行
5.安装redis客户端连接工具
6.确保 Linux 防火墙已经关闭,再连接redis
systemctl stop firewalld.service
systemctl disable firewalld.service
7.连接redis
成功
更多推荐
用Redis客户端工具连接Redis
发布评论