Ubuntu16.04 安装rabbitmq

前端之家收集整理的这篇文章主要介绍了Ubuntu16.04 安装rabbitmq前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1、sudo apt-get install -y rabbitmq-server

2、 sudo systemctl enable rabbitmq-server.service

3、 ln -s '/usr/lib/systemd/system/rabbitmq-server.service' '/etc/systemd/system/multi-user.target.wants/rabbitmq-server.service'

4、 sudo systemctl start rabbitmq-server.service

6、sudo rabbitmqctl add_user admin admin

7、sudo rabbitmqctl set_permissions admin ".*" ".*" ".*"

8、 rabbitmq-plugins list

sudo rabbitmq-plugins enable rabbitmq_management #启动插件

9、 rabbitmqctl set_user_tags admin administrator monitoring policymaker management

sudo systemctl restart rabbitmq-server.service

lsof -i:15672

原文链接:https://www.f2er.com/ubuntu/351162.html

猜你在找的Ubuntu相关文章