1,下载
wget https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.7.13/rabbitmq-server-3.7.13-1.el7.noarch.rpm
2,解决依赖
vim /etc/yum.repos.d/rabbitmq-erlang.repo
[rabbitmq-erlang]
name=rabbitmq-erlang
baseurl=https:
启动RabbitMQ服务
#service rabbitmq-server start
状态查看 #rabbitmqctl status
启用插件 #rabbitmq-plugins enable rabbitmq_management
重启服务 #service rabbitmq-server restart
添加帐号:name 密码:passwd #rabbitmqctl add_user name passwd
赋予其administrator角色 #rabbitmqctl set_user_tags name administrator
设置权限 #rabbitmqctl set_permissions -p / name ".*" ".*" ".*"