yum 安装 Rabbitmq 最新版 rabbitmq-server-3.7.9-1.el7.noarch.rpm
一:创建yum源
- vim /etc/yum.repos.d/rabbitmq-erlang.repo
[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
-
安装 依赖包 erlang >=19.0 版本 和 socat yum install erlang socat
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
- rpm -ivh rabbitmq-server-3.7.9-1.el7.noarch.rpm
二:rabbitMQ 配置 rabbitmq-server -detached 后端启动
查看状态 rabbitmqctl status
停止 rabbitmq
rabbitmqctl stop