0


RabbitMQ 部署与配置[CentOS7]

# 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

# 本地安装RabbitMQrpm--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://pan.baidu.com/s/1alypimb_GDzLuIX4EQ22ZQ 
提取码:s7j9
标签: rabbitmq ruby 分布式

本文转载自: https://blog.csdn.net/qq_38179971/article/details/135683555
版权归原作者 You Only Live Once_2 所有, 如有侵权,请联系我们删除。

“RabbitMQ 部署与配置[CentOS7]”的评论:

还没有评论