rabbitmq rpm 安装

1、下载依赖erlang

https://github.com/rabbitmq/erlang-rpm/releases/tag/v22.2.6

rabbitmq rpm 安装_第1张图片

2、下载rabbitmq

https://www.rabbitmq.com/install-rpm.html

rabbitmq rpm 安装_第2张图片

3、安装

rmp   -ivh   xxx.rpm

4、修改配置文件:

 vim     /etc/rabbitmq/rabbitmq-env.conf

添加:

NODENAME=rabbit@localhost

5、

启动RabbitMQ服务
#service rabbitmq-server start
状态查看
#rabbitmqctl status
启用插件
#rabbitmq-plugins enable rabbitmq_management
重启服务
#service rabbitmq-server restart
添加帐号:july 密码:1234
#rabbitmqctl add_user july 1234
赋予其administrator角色
#rabbitmqctl set_user_tags july administrator
设置权限
#rabbitmqctl set_permissions -p / july ".*" ".*" ".*"

rabbitmq rpm 安装_第3张图片

你可能感兴趣的:(linux)