一:创建yum源
[rabbitmq-erlang]
name=rabbitmq-erlang
baseurl=https://dl.bintray.com/rabbitmq/rpm/erlang/20/el/7
gpgcheck=1
gpgkey=https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc
repo_gpgcheck=0
enabled=1
更新yum 源
yum clean all && yum makecache
4.下载 最新包 rabbitmq-server-3.7.9-1.el7.noarch.rpm
wget https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.7.9/rabbitmq-server-3.7.9-1.el7.noarch.rpm
二:rabbitMQ 配置
rabbitmq-server -detached 后端启动
查看状态
rabbitmqctl status
停止 rabbitmq
rabbitmqctl stop
原文:http://blog.51cto.com/11090700/2331653