rabbitmq

1.wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.10/rabbitmq-server-3.6.10-1.el7.noarch.rpm

2.wget http://www.rabbitmq.com/releases/erlang/erlang-19.0.4-1.el7.centos.x86_64.rpm

 

https://mirrors.tuna.tsinghua.edu.cn/epel/7/x86_64/e/epel-release-7-10.noarch.rpm

yum install erlang
rabbitmqctl add_user admin admin
#rabbitmqctl list_users
Listingusers...
admin
guest
[administrator]
#rabbitmqctl set_permissions -p "/" admin ".*" ".*" ".*"
#rabbitmqctl list_permissions -p /
Listing
permissions invhost"/"...
admin
.* .* .*
guest
.* .* .*
#rabbitmqctl set_user_tags admin administrator
Setting
tags foruser"admin"to
[administrator] ..
#rabbitmqctl list_users
Listingusers...
admin
[administrator]
guest
[administrator]

 

THE END
分享
二维码
< <上一篇
下一篇>>