HAProxy+Keepalived搭建RabbitMQ高可用集群:https://gper.club/articles/7e7e7f7ff3g5bgc5g6c
Docker安装RabbitMQ集群:https://gper.club/articles/7e7e7f7ff7g5fgc4g6b
Windows安装RabbitMQ:https://gper.club/articles/7e7e7f7ff3g58gceg64
CentOS7安装RabbitMQ单机版:https://gper.club/articles/7e7e7f7ff4g56gceg6e
VMware+Centos7 静态IP设置方法:https://gper.club/articles/7e7e7f7ffeg53gc1
haproxy下载链接:https://src.fedoraproject.org/repo/pkgs/haproxy/
centos下haproxy 安装:https://www.cnblogs.com/chen110xi/p/6208553.html
虚拟机与主机互通:
https://www.pianshen.com/article/6268212453/
https://blog.csdn.net/luciferlongxu/article/details/118424062
https://blog.csdn.net/shufangreal/article/details/108277026
问题汇总
1、修改虚拟机hostname
修改linux主机的配置文件/etc/sysconfig/network 和 /etc/hosts里的主机名
#通过vi或者vim命令打开/etc/sysconfig/network文件
vim /etc/sysconfig/network
#在文件中添加下面内容
NETWORKING=yes
HOSTNAME=yourname #在这修改hostname
#通过vi或者vim命令打开hosts文件
vim /etc/hosts
#修改文件内容
127.0.0.1 localhost.localdomain localhost
xxx.xxx.xxx.xxx yourname #在这修改hostname,若没有这一行,则添加
#重启
reboot
|