- Enable management plugin function
$ cd /usr/lib/rabbitmq/bin/
$ sudo rabbitmq-plugins enable rabbitmq_management
2. The management plugin provides HTTP API to manage and monitor RabbitMQ Server, including the following functions :
- Delete, generate, list, including: exchanges, queues, bindings, users, virtual hosts and permissions
- Monitor queue length, message rates per channel, data rates per connection, etc.
- Send and receive messages
- 监控Erlang processes,file descriptors,memory use
- Export/export object definitions to JSON
- Forcibly close connections and clear queues
- Graphical management interface
- Create a remote management account
and password
$ sudo rabbitmqctl add_user test 123456 #Users
set as administrator to access remote
$ sudo rabbitmqctl set_user_tags test administrator
$ sudo rabbitmqctl set_permissions -p / test ".*" ". *" ".*"
quote
User role and permission control:
http://blog.csdn.net/zyz511919766/article/details/42292655
You can also directly add information such as users and passwords through the management platform page. You need to pay attention to whether ports 5672 and 15672 are open.
- rabbitmqctl command
- rabbitmqadmin command
- Reference documentation