Redis 主从配置
来源:互联网 发布:秦风沪牌软件 编辑:程序博客网 时间:2024/04/26 20:26
环境:CentOS 6.5
master:192.168.2.251
slaver: 192.168.2.252
修改主redis的配置文件redis.conf
bind 192.168.2.251
修改从redis的配置文件redis.conf
bind 192.168.2.252
在从库(192.168.2.252)上redis.conf文件
# slaveof <masterip> <masterport> ----》slaveof 192.168.2.251 6379
master redis 启动
./redis-server ../redis.conf
./redis-cli -h 192.168.2.251
slaver redis 启动
./redis-server ../redis.conf
./redis-cli -h 192.168.2.252
0 0
- Redis主从配置
- redis主从服务器配置
- redis主从配置
- redis (二)主从配置
- redis主从配置
- Redis主从复制配置
- redis主从复制配置
- redis主从配置
- redis 主从配置
- redis主从配置
- Redis主从配置
- Redis 主从配置
- Redis主从服务器配置
- redis主从配置
- Redis主从配置实践
- 【Redis续】主从配置
- Redis主从配置
- redis 主从配置实例
- iPhone开发笔记(16)使用ASIHTTPRequest和ASIDownloadCache实现本地缓存
- 信息化系统导航菜单样式实现
- 李克强任总理后四次提出破部门利益
- rman的conver方法拷贝ASM文件
- 某网校C和指针
- Redis 主从配置
- Qt(3):ubuntu下Qt Creator使用valgrind检测内存泄漏错误
- shell-continue
- Printing OpenGL in MFC
- 什么是xss盲打
- C++指针和引用的区别
- 教你便捷的内容“填补”方法
- Python super 用法
- 轻松解决PHP中文编码苦恼的小技巧