rabbitMQ安装部署
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了rabbitMQ安装部署相关的知识,希望对你有一定的参考价值。
安装erlang
yum install erlang
2.安装rabbitmq
wget yum install rabbitmq-server-3.6.6-1.el7.noarch.rpm
3.启动服务
systemctl start rabbitmq-server.service
4.查看服务状态
service rabbitmq-server status
5.查看用户列表
# rabbitmqctl list_users Listing users ... guest [administrator]
6.删除guest用户
rabbitmqctl delete_user guest
7.添加新用户
rabbitmqctl add_user ckl m84qva>QgoD
8.设置用户tag
# rabbitmqctl set_user_tags seedeer administrator Setting tags for user "seedeer" to [administrator] ...
9.设置用户权限
# rabbitmqctl set_permissions -p / seedeer ".*" ".*" ".*" Setting permissions for user "seedeer" in vhost "/" ...
10.查看用户权限
# rabbitmqctl list_user_permissions seedeer Listing permissions for user "seedeer" ... / .* .* .*
11.启用web管理
# rabbitmq-plugins enable rabbitmq_management The following plugins have been enabled: mochiweb webmachine rabbitmq_web_dispatch amqp_client rabbitmq_management_agent rabbitmq_management
12.配置服务配置文件
# cd /etc/rabbitmq/ # vim rabbitmq.config [ {rabbit, [{tcp_listeners, [5672]}, {seedeer, ["seedeer"]}]} ].
13.重启服务
systemctl restart rabbitmq-server.service
14.查看页面
15.登入
本文出自 “深呼吸再出击” 博客,请务必保留此出处http://ckl893.blog.51cto.com/8827818/1975941
以上是关于rabbitMQ安装部署的主要内容,如果未能解决你的问题,请参考以下文章