Transferred from: Http://haili.me/archives/tag/rabbitmqctl
First install rabbitmq-server here will not write, before there is an article in the relevant steps: RABBITMQ Installation and configuration
If/ETC/RABBITMQ does not exist, it will report the following error:
Error: {cannot_write_enabled_plugins_file, "/etc/rabbitmq/enabled_plugins", enoent}
1 2
|
Mkdir/etc/rabbitmq Cd/usr/local/rabbitmq/sbin/ |
Enable this plugin
1
|
. /rabbitmq-plugins Enable Rabbitmq_management |
If you want to disable the use of this command
1
|
. /rabbitmq-plugins Disable Rabbitmq_management |
View the plugins that are already installed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21st 22
|
. /rabbitmq-plugins List [E] Amqp_client 0.0.0 [] Eldap 0.0.0-git [] Erlando 0.0.0 [E] Mochiweb 1.3-rmq0.0.0-git [] Rabbitmq_auth_backend_ldap 0.0.0 [] Rabbitmq_auth_mechanism_ssl 0.0.0 [] Rabbitmq_consistent_hash_exchange 0.0.0 [] rabbitmq_federation 0.0.0 [] Rabbitmq_jsonrpc 0.0.0 [] Rabbitmq_jsonrpc_channel 0.0.0 [] Rabbitmq_jsonrpc_channel_examples 0.0.0 [E] Rabbitmq_management 0.0.0 [E] Rabbitmq_management_agent 0.0.0 [] Rabbitmq_management_visualiser 0.0.0 [E] Rabbitmq_mochiweb 0.0.0 [] Rabbitmq_shovel 0.0.0 [] rabbitmq_shovel_management 0.0.0 [] Rabbitmq_stomp 0.0.0 [] rabbitmq_tracing 0.0.0 [] Rfc4627_jsonrpc 0.0.0-git [E] Webmachine 1.7.0-RMQ0.0.0-HG |
Stop RABBITMQ
Start RABBITMQ
1
|
. /rabbitmq-server-detached |
Access: http://127.0.0.1:55672/The default login name and password are guest
If the new user does not go in because the permission is not given, execute the following permissions on the line
1
|
. /rabbitmqctl set_user_tags newuser Administrator |
Commands for managing command line tools Rabbitmqctl can be found here: use of the RABBITMQCTL command
RABBITMQ Graphical management tools