Hello rabbit

Install rabbitmq in ubuntu 16.04.1

prepare Ubuntu Server 16.04.1 LTS 64 first

apt-get install rabbitmq-server

check service status
systemctl status rabbitmq-server

daily command

1
2
3
service rabbitmq-server start
service rabbitmq-server stop
service rabbitmq-server restart

manage interface

enable management interface
rabbitmq-plugins enable rabbitmq_management

127.0.0.1:15672 is the default address, guest/guest is the default account.

out account

add user
rabbitmqctl add_user root yourpassword
add role
rabbitmqctl set_user_tags root administrator
add permission

1
2
rabbitmqctl  set_permissions  -p  VHostPath  User  ConfP  WriteP  ReadP
rabbitmqctl set_permissions -p "/" root ".*" ".*" ".*"

enjoy route :)

exchange bind queue route by key in same arguments

https://blog.csdn.net/qq_22638399/article/details/81704372
https://www.cnblogs.com/feixiablog/articles/8317605.html