1、配置erlang yum 源 (根据自己系统版本选择合适的源 https://github.com/rabbitmq/erlang-rpm)
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://www.rabbitmq.com/rabbitmq-release-signing-key.asc repo_gpgcheck=0 enabled=1 2、安装 erlang yum install erlang 3、安装 rabbitMQ (rpm 包下载地址 rpm -ivh rabbitmq-server-3.6.11-1.el7.noarch.rpm 4、添加配置文件,及开启guest远程访问 vim /etc/rabbitmq/rabbitmq.config [{rabbit, [{loopback_users, []}]}]. 5、启动rabbitMQ 和 management插件 service rabbitmq-server start rabbitmq-plugins enable rabbitmq_management 6、远程登录管理平台 默认用户名密码 guest guest
时间: 2024-11-05 13:47:11