摘要: 1、杀死节点(不是停止集群,否则不生效) 2、找到所有节点的nodes.conf文件,把内网地址改成你的ip 3、重启节点 ./redis-server redis.conf 阅读全文
posted @ 2020-06-06 20:03 coding++ 阅读(1549) 评论(1) 推荐(1) 编辑
摘要: ##redis配置详解 # Redis configuration file example. # # Note that in order to read the configuration file, Redis must be # started with the file path as f 阅读全文
posted @ 2020-06-06 13:45 coding++ 阅读(1034) 评论(0) 推荐(0) 编辑
摘要: 首先,Redis主从和clsuter是支持密码认证的。 其次,关于启用redis密码认证的涉及的几个问题: 1、是否只设置requirepass就可以?masterauth是否需要同步设置? 答案:redis启用密码认证一定要requirepass和masterauth同时设置。 如果主节点设置了r 阅读全文
posted @ 2020-06-06 13:35 coding++ 阅读(320) 评论(0) 推荐(0) 编辑