Install rabbitmq in ubuntu 16.04.1
prepare Ubuntu Server 16.04.1 LTS 64 first
apt-get install rabbitmq-server
check service statussystemctl status rabbitmq-server
daily command1
2
3service rabbitmq-server start
service rabbitmq-server stop
service rabbitmq-server restart
manage interface
enable management interfacerabbitmq-plugins enable rabbitmq_management
127.0.0.1:15672
is the default address, guest/guest
is the default account.
out account
add userrabbitmqctl add_user root yourpassword
add rolerabbitmqctl set_user_tags root administrator
add permission1
2rabbitmqctl 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