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集群

  参考:

https://blog.csdn.net/wzc900810/article/details/108507298?utm_term=dockerrabbitmq%E9%9B%86%E7%BE%A4%E5%91%BD%E4%BB%A4&utm_medium=distribute.pc_aggpage_search_result.none-task-blog-2~all~sobaiduweb~default-5-108507298&spm=3001.443

 

posted @ 2021-02-23 15:26  真某人  阅读(69)  评论(0编辑  收藏  举报