随笔分类 - Redis
摘要:如果在主从配置Redis有密码,在哨兵配置文件中也要添加Redis密码 port 26380 daemonize no pidfile "/var/run/redis-sentinel-26380.pid" logfile "" dir "/tmp" #sentinel myid f8ea0c914
阅读全文
摘要:需要外部系统连接Linux上的Redis,我们需要更改redis.conf中的一些配置,但是首先,我们要先关闭防火墙 (1)设置开机启用防火墙:systemctl enable firewalld.service (2)设置开机禁用防火墙:systemctl disable firewalld.se
阅读全文