Turn on Management plugin function1, Management plugin default installation is not turned on, you need to execute the following command:
$ cd/usr/lib/rabbitmq/bin/
$ sudo rabbitmq-plugins enable rabbitmq_management
2. Management Plugin provides HTTP APIs to manage and monitor RABBITMQ Server, including the following features:
Deletes, builds, lists, including: Exchanges,queues,bindings,users,virtual hosts and permissions monitor queue lengths, message rates per channel, Each connected data rates, and so on. Send and receive messages monitor Erlang processes,file descriptors,memory use export/export object definitions to JSON force close connections, empty queues
Graphical Management InterfaceAccess address: http://localhost:15672, enter the login interface, the default account guest/guest (this account can only log on locally, remote login needs to create another user)
Create a remote managed account$ cd/usr/lib/rabbitmq/bin/
#用户名与密码
$ sudo rabbitmqctl add_user test 123456
#用户设置为administrator才能远程访问
$ sudo rabbitmqctl set_user_tags test Administrator
$ sudo rabbitmqctl set_permissions-p/test ". *" ". *" ". *"
Referencing user roles and permissions control: http://blog.csdn.net/zyz511919766/article/details/42292655
You can also add user and password information directly via the Admin Platform page, and be aware that 5672 and 15672 ports are open.
rabbitmqctl CommandThe Management command line tool (Rabbitmqadmin) has the same functionality as the Web UI and is a custom HTTP client that can be downloaded directly from the HTTP://SERVER-NAME:15672/CLI page using the HTTP API. Use document Address: http://www.rabbitmq.com/management-cli.html
rabbitmqadmin CommandRabbitmqctl is a simple command-line tool for managing RABBITMQ Server, suitable for SSH login management
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.