# RabbitMQ,Erlang 版本包对应
https://rabbitmq.com/which-erlang.html#eol-series
cd /usr/local/src
# Erlang下载
# https://github.com/rabbitmq/erlang-rpm/releases
https://github.com/rabbitmq/erlang-rpm/releases/download/v23.3.4.5/erlang-23.3.4.5-1.el7.x86_64.rpm
# RabbitMQ下载
# https://github.com/rabbitmq/rabbitmq-server/releases
https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.10.0-rc.6/rabbitmq-server-3.10.0.rc.6-1.el7.noarch.rpm
# 本地安装Erlang
yum localinstall erlang-23.3.4.5-1.el7.x86_64.rpm
# 本地安装RabbitMQ
rpm --import https://www.rabbitmq.com/rabbitmq-release-signing-key.asc
yum localinstall rabbitmq-server-3.10.0.rc.6-1.el7.noarch.rpm
# 启动rabbitmq服务器
systemctl start rabbitmq-server
# 设置开机启动
systemctl enable rabbitmq-server
# 安装 Web 管理界面的插件
rabbitmq-plugins enable rabbitmq_management
# 创建了一个用户admin密码awm@123的用户
rabbitmqctl add_user admin awm@123
# 用户进行赋权
rabbitmqctl set_user_tags admin administrator
rabbitmqctl set_permissions -p / admin ".*" ".*" ".*"
# 通过浏览器进行登录
http://192.168.18.132:15672/
文章来源地址https://www.toymoban.com/news/detail-804307.html
相关依赖
链接:https://pan.baidu.com/s/1alypimb_GDzLuIX4EQ22ZQ
提取码:s7j9
文章来源:https://www.toymoban.com/news/detail-804307.html
到了这里,关于RabbitMQ 部署与配置[CentOS7]的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!