Install the Rabbit MQ Guide on Windows, preferably the Rabbit MQ Windows installation guides, which also includes access Rabbit using the. NET rabbitmq.client Nuget Package Example code for MQ.
Installing Rabbit MQ
Rabbit MQ is built on the powerful Erlang OTP platform, so installing Rabbit MQ is premised on the installation of Erlang. Download the installation from the following two connections 3.2.3 version:
- Download and install ERALNG OTP for Windows (VR16B03) Otp_win64_17.0.exe (Erlang Environment)
- Run Install Rabbit MQ Server Windows Installer (v3.2.3) Rabbitmq-server-3.3.3.exe
The default installed rabbit MQ listening port is 5672
Go to the command line:
C:\Program Files (x86) \RABBITMQ Server\rabbitmq_server-3.3.3\sbin
Run the following command to enable the management plug-in:
Rabbitmq-plugins Enable Rabbitmq_management
You can see the following output
To stop the RABBITMQ service:
Rabbitmq-service stop
To start the RABBITMQ service:
Rabbitmq-service start
To view plug-in commands:
Rabbitmq-plugins List
You can see the following output:
This is a success. It is important to note that:
MochiwebIt has to be, Mochiweb is a lightweight, efficient Web application for buildingthe Erlang Library of the HTTP application framework. Rabbitmq_mochiweb Guide is here. There are two ways to access the administration and monitoring interface: 1, Web UI Open Browser, enter HTTP//
localhost: 15672/Enter, will be asked to enter the user name and password, with the default guest/guest can be confirmed after the interface shown in Figure 1, then you can enjoy the control of the RABBITMQ. The management UI is a static HTML page that gets real-time data through JavaScript query HTTP APIs. Essentially, the Web UI is ultimately called the Management Command line tool. RabbitMQ Management HTTP API documentation please see here. 2. Command line tool Management the same functionality as the Web UI and may be easier for scripting to use. Rabbitmqadmin is just a custom HTTP client, and if you want to introduce rabbitmqadmin in your own program, you can use the HTTP API directly. Rabbitmqadmin can be used in HTTP//
Server-name: 15672/cli page Download, can also be downloaded here. After you download rabbitmqadmin.txt, rename it to Rabbitmqadmin, copy it to/usr/local/bin or the path you want, and add executable permissions. #rabbitmqadmin--help can see the usage guide, use examples to see here. Transferred from: http://www.cnblogs.com/shanyou/p/4067250.htmlhttp://blog.chinaunix.net/uid-22312037-id-3468329.html
Go RabbitMQ Installation and Monitoring