1, 下载 erlang, rabbitmq-server
2, 安装
yum install erlang-21.1.1-1.el7.centos.x86_64.rpm
yum install rabbitmq-server-3.7.8-1.el7.noarch.rpm
3, 修改配置文件
cd /etc/rabbitmq/
vi rabbitmq.config
参考: http://www.rabbitmq.com/access-control.html:
[{rabbit, [{loopback_users, []}]}].
4, 开启web插件
rabbitmq-pluginsenablerabbitmq_management
5, 常用命令
/sbin/servicerabbitmq-serverstop
/sbin/servicerabbitmq-serverstart
service rabbitmq-server status