centos7 搭建rabbitmq服务 3.7.15
1.rabbitMQ是Erlang语言写的,而且rabbitMQ的版本要和Erlang版本要匹配。
以下是 rabbitMQ 3.7.15对应的Erlang22.0版本信息
2.Erlang下载 官网地址:https://www.erlang-solutions.com/resources/download.html wget https://packages.erlang-solutions.com/erlang/rpm/centos/7/x86_64/esl-erlang_22.0.3-1~centos~7_amd64.rpm
yum install esl-erlang_22.0.3-1~centos~7_amd64.rpm
网上说要配置环境变量,没配置也没事
3.安装rabbitMQ 3.7.15 wget https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.7.15/rabbitmq-server-3.7.15-1.el7.noarch.rpm yum install rabbitmq-server-3.7.15-1.el7.noarch.rpm 百度云 https://pan.baidu.com/s/1liX8zYFFCznQLygJbwoLQA 提取码 qolz
访客guest的登录不了的,我们要创建新账号
#新建用户admin rabbitmqctl add_user admin 123456 #分配角色 administrator rabbitmqctl set_user_tags admin administrator #分配角色 management rabbitmqctl set_user_tags admin management #启用rabbitmq_management rabbitmq-plugins enable rabbitmq_management #重启rabbitmq systemctl restart rabbitmq-server.service
结束