notes
latest
操作系统
数据结构
计算机网络
存储
MySQL
Mongodb
ElasticSearch
Redis
分布式锁
延时队列
主从同步
Etcd
HugeGraph
算法
编程语言
前端开发
云计算
消息队列
OpenResty
监控
CI/CD
软件架构
分布式系统
项目管理
Sphinx
工具
面试
notes
Docs
»
存储
»
Redis
»
主从同步
Edit on GitHub
主从同步
¶
# 如果主服务设置了密码
config
set
masterauth <pwd>
# 设置主服务器
SLAVEOF
192
.168.1.100
6379
# 取消同步
SLAVEOF NO ONE
Read the Docs
v: latest
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.