集群
以两台机器为例:
10.10.43.207
10.10.244.244
分别安装好 rabbitmq,之后
1、修改两台机器的 hosts
2、
[[email protected] ~]# rabbitmq-server -detached
[[email protected] ~]# rabbitmq-server -detached
3、
[[email protected] ~]# rabbitmqctl stop_app
[[email protected] ~]# rabbitmqctl join_cluster [email protected]
[[email protected] ~]# rabbitmqctl start_app
4、
5、
[[email protected] ~]# rabbitmq-plugins enable rabbitmq_management
[[email protected] ~]# rabbitmq-plugins enable rabbitmq_management
时间: 2024-12-25 20:38:56