windows下redis主从配置
好消息,百度网盘专业搜索网站上线了
打开瞧一瞧:http://bitar.cn
redis-2.8.19.zip 实现主从 redis-server a.conf redis-server b.conf redis-cli.exe -h 127.0.0.1 -p 6378 ======================================== 配置文件中相同的放到common.conf,通过 include common.conf 有slaveof <masterip> <masterport>就是从服务器 ,没有就是 主服务器 在从服务器配置中指定主服务器的ip和端口 ------主服务器特殊配置------- #master include common.conf port 6379 requirepass 123 -------从服务器特殊配置-------- #slave include common.conf port 6378 # slaveof <masterip> <masterport> slaveof 127.0.0.1 6379 # masterauth <master-password> masterauth 123 =================常用命令================================
相关推荐
smartbaby 2020-11-11
ljz0 2020-09-15
王道革 2020-11-25
wangdonghello 2020-11-03
Langeldep 2020-11-16
chenhualong0 2020-11-16
聚合室 2020-11-16
koushr 2020-11-12
MRFENGG 2020-11-11
guoyanga 2020-11-10
fackyou00 2020-11-10
Orangesss 2020-11-03
dongCSDN 2020-10-31
rainandtear 2020-10-30
Quietboy 2020-10-30
liuyulong 2020-10-29
fansili 2020-10-29
温攀峰 2020-10-23