用于记录亲自实践成功的参考博文
一:虚拟机Linux安装
1.安装VMware虚拟机并安装linux环境
https://www.cnblogs.com/jpwz/p/10466826.html
二:redis集群环境搭建
1.下载redis安装包
https://redis.io/download
2.linux下安装redis
https://www.cnblogs.com/zdd-java/p/10288734.html
3.redis设置开机启动
https://www.jianshu.com/p/a73e0565e2a1
4.关闭防火墙
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
三:zookeeper集群环境搭建
1.下载地址
http://mirror.bit.edu.cn/apache/zookeeper/zookeeper-3.4.14/
2.linux安装jdk环境
https://blog.csdn.net/qq_21187515/article/details/84850814
3.linux下搭建zookeeper
https://blog.csdn.net/she_lock/article/details/80435176
4.配置zookeeper开机启动
https://blog.csdn.net/She_lock/article/details/100133782
脚本添加
#chkconfig: 2345 80 90
#description:auto_run
四.linux下安装rabbitMq
1.下载erlang环境
https://blog.csdn.net/qq_35688140/article/details/100191976
2.安装rabbitMq
https://www.cnblogs.com/dreasky/p/9146494.html
3.设置rabbitMq开机启动
https://www.jianshu.com/p/cb8315de44ea
五.克隆虚拟机后无法启动网卡问题
https://blog.csdn.net/HR18770171448/article/details/99707170
六.redis搭建主从复制,哨兵模式
https://www.jianshu.com/p/83461fe990d6(自己的博客)
https://blog.csdn.net/qq_18427977/article/details/80930937(哨兵开机启动)
https://my.oschina.net/wangxu3655/blog/2214310?nocache=1538114138145(一主二从三哨兵)
七.zookeeper集群搭建
https://blog.csdn.net/u010199866/article/details/81907956
八.rabbitMq集群搭建
https://www.jianshu.com/p/5b2879fba25b(配合haproxy+Keepalived实现故障恢复)
https://www.jianshu.com/p/b6bc3cba69c2(单纯集群搭建)
注意:搭建时注意hosts文件配置的主机名和hostname的主机名要一直,集群保持每台机主机名唯一
网友评论