• 24小时服务热线:400-088-1128

当前位置 南顺网络>> 知识拓展

centos7安装RabbitMQ

配置erlang 21x源

vim /etc/yum.repos.d/mongodb-org-3.4.repo

[rabbitmq-erlang] 

name=rabbitmq-erlang

baseurl=https://dl.bintray.com/rabbitmq-erlang/rpm/erlang/21/el/7

gpgcheck=1

gpgkey=https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc

repo_gpgcheck=0

enabled=1

配置erlang 21x

yum install erlang


验证erlang是否安装成功

erl

halt()

.

安装RabbitMQ 3.7.8

wget https://dl.bintray.com/rabbitmq/all/rabbitmq-server/3.7.8/rabbitmq-server-3.7.8-1.el7.noarch.rpm


yum install rabbitmq-server-3.7.8-1.el7.noarch.rpm

启动RabbitMQ

service rabbitmq-server start

rabbitmqctl status

添加WEB管理页面插件并重启

rabbitmq-plugins enable rabbitmq_management

service rabbitmq-server restart

改RabbitMQ

find / -name rabbit.app

systemctl restart rabbitmq-server.service———————————————

版权声明:本文为CSDN博主「szj_jojoli」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。

原文链接:https://blog.csdn.net/szj_jojoli/article/details/103579462