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

# 本地安装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/

RabbitMQ 部署与配置[CentOS7]_第1张图片
RabbitMQ 部署与配置[CentOS7]_第2张图片


相关依赖
链接:https://pan.baidu.com/s/1alypimb_GDzLuIX4EQ22ZQ 
提取码:s7j9

你可能感兴趣的:(rabbitmq,ruby,分布式)