10-docker搭建rabbitmq集群
1。安装docker-compose
参考:https://blog.csdn.net/ytangdigl/article/details/103831739
2. 安装curl
参考:https://blog.csdn.net/sqlquan/article/details/106105065
3.修改hostname并生效
查看主机名:hostname
修改主机名:hostnamectl set-hostname rabbitmq1
重启:reboot
4.安装rabbitmq集群
参考: