1.软件安装
yum install -y erlang socat rabbitmq-server
2.启动rabbitmq服务并设置为开机自启
systemctl start rabbitmq-server.service
systemctl enable rabbitmq-server.service
3.添加用户
rabbitmqctl add_user admin admin
4.给用户设置标签(权限)
rabbitmqctl set_user_tags admin administrator
5.开启rabbitmq监控插件
rabbitmq-plugins enable rabbitmq_management