Summary: RABBITMQ is a popular open source Message Queuing system developed in Erlang language. RABBITMQ is the standard implementation of the AMQP (Advanced Message Queuing protocol).
Windows installation RABBITMQ service steps:
First, you need to install the Erlang Environment official website: Http://www.erlang.org/Windows version: http://www.erlang.org/download/First step: Step Two: Step three: Fourth: Step fifth: So it's done. Erlang then needs to configure the Erlang_home environment variable to set the environment variable%erlang_home%, then join the path in%erlang_home%\sbin (note the preceding semicolon), and then OK
Now open the Windows command line ("cmd") and enter the Erl if the prompt appears as follows
Description of the environment variable configuration succeeded
Then you can install RABBITMQ. Download the RABBITMQ version of Windows first
: http://www.rabbitmq.com/Open the installer follow these steps to install: The installation is simple so the installation is complete so that the Start menu after the installation is finished the effect is some tools and then go to the Management tool Run command: Rabbitmq-plugins Enable rabbitmq_management OK go through the above steps the Windows version of the installation is OK and then start RABBITMQ if an error is reported, the following information indicates that the environment variable of Erlang is not configured if the configuration is successful or if it is the wrong one, Then restart the computer. RABBITMQ service startup
There are two ways to start the server, one for the DOS window, the command line to start, the command for Rabbitmq-server [-detached], plus-detached for the background run mode, as shown in
Start at the command line, Rabbitmq-service start, Rabbitmq-servic the RABBITMQ service under Windows to be deleted, start shutdown, etc. such as:
Rabbitmq-service Start Service
Rabbitmq-service Stop Stop Service
Rabbitmq-service Install loading Service
Rabbitmq-service Remove Service
RABBITMQ plug-in activation and shutdown
Rabbitmq-plugins Enable Plugin-name
This command is used to enable the specified plug-in
Commonly used such as: rabbitmq_management
The plug-in provides a web-based management interface for RABBITMQ, it is convenient to manage RABBITMQ in the browser, the login address defaults to localhost:15672, the user name and password are guest.
The command can list all plug-in lists, marked as e* or e* enabled plugins, not labeled as not enabled plugins
Rabbitmq-plugins Disable Plugin-name
This command is used to close the specified plug-in, for example, you can close the Rabbitmq_management plug-in with rabbitmq-plugins disable rabbitmq_management
Rabbitmq-plugins List
RABBITMQ an important management platform RABBITMQCTL:
It provides a variety of RABBITMQ management of various commands, commands a lot, here are some more commonly used, more detailed commands can go to the official website to check the document, the end of the article gives the link to the API.
List all queue Rabbitmqctl list_queues
Lists information for the specified queue Rabbitmqctl list_queues [the queue name] Messages_ready messages_unacknowledged
Lists all Exchange Rabbitmqctl List_exchanges
List all binding Rabbitmqctl list_bindings
RABBITMQ Browser Access localhost:55672 default account after successful startup: Guest Password: Guest
Windows installation RABBITMQ Services