摘要:
要求 要求三主三从 扩容 缩容 环境信息 Redis 版本:6.0.10 虚拟机操作系统:CentOS 7 集群信息 安装目录 /redis |--cluster |--|--7001 - 7008 主从信息 奇数为主,偶数为从 7001 - 7002 7003 - 7004 7005 - 7006 阅读全文
摘要:
搭建主从 Redis 主机:192.168.181.133:6379 从机:192.168.181.132:6379 搭建 Sentinel 安装 make install PREFIX=/redis/sentinel cp /etc/redis/6379.conf /redis/sentinel/ 阅读全文
摘要:
环境信息 Redis 版本:6.0.10 系统信息:CentOS 7 安装 Redis 升级 gcc # 查看gcc版本是否在5.3以上,centos7.6默认安装4.8.5 gcc -v # 升级gcc到5.3及以上,如下: # 升级到gcc 9.3: yum -y install centos- 阅读全文