无法用guest远程訪问RabbitMQ的的解决方式

Can't access RabbitMQ web management interface after fresh install

http://stackoverflow.com/questions/22850546/cant-access-rabbitmq-web-management-interface-after-fresh-install


解决方式是新建test用户,採用test用户登录

rabbitmqctl add_user test 123
rabbitmqctl set_user_tags test administrator
rabbitmqctl set_permissions -p / test ".*" ".*" ".*"


启动WebUI

rabbitmq-plugins enable rabbitmq_management
service rabbitmq-server restart

WebUI界面网址

http://controller:15672/
usernamepassword为:test 123

AMQP的一些基本概念

https://www.rabbitmq.com/tutorials/amqp-concepts.html


RabbitMQ的訪问控制

https://www.rabbitmq.com/access-control.html

RabbitMQ的策略(跟安全没有关系)

https://www.rabbitmq.com/parameters.html#policies

AMQP 0-9-1 Complete Reference Guide

https://www.rabbitmq.com/amqp-0-9-1-reference.html

RabbitMQ配置文件

/etc/rabbitmq/rabbitmq-env.conf