Install RabbitMQ and configure web page under win10 system

RabbitMQ is a complete and usable enterprise messaging system based on the AMQP protocol standard. It follows the Mozilla Public License open source agreement and adopts an industrial-grade message queue (MQ) server implemented by Erlang. Rabbit MQ is built on the Erlang platform. Special attention should be paid to the corresponding versions of the two. You can choose the latest version of each. The most secure installation.

(Key point) Be sure to install the corresponding version of the two! Correspondence between RabbitMQ and Erlang version: https://www.rabbitmq.com/which-erlang.html

Step 1: Install the Erlang environment
(1) Download
Download link: https://www.erlang.org/downloads
Choose a suitable version, for example: OTP 23.0 Windows 64-bit Binary File
(2) Install the
whole installation process and nothing For special attention, as long as you choose the installation path, you can also use the default path directly.
I installed it under the D drive
Insert picture description here
(3) Modify the environment variable
1. Add an environment variable to specify the file path, the variable name is: ERLANG_HOME; the value is the path address of the installation!
Insert picture description here
2. Add "%ERLANG_HOME%\bin" to the path
Insert picture description here
(4) Check whether the installation is successful.
Enter "erl" and the result shown below will prove that the installation is successful!
Insert picture description here
Step 2: Install RabbitMQ
(1) Download
Download link : https://www.rabbitmq.com/install-windows-manual.html
Here choose to use the compressed package decompression method to install, there is also an exe method that has the same effect .
After downloading the compressed package, select a path and unzip it directly.
For example: unzip it on the D drive and
Insert picture description here
set the environment variable in (2)
1. Create a system variable
Variable name: RABBITMQ_SERVER, variable value: rabbitmq installation path
Insert picture description here
2. Add the created variable Into the path
Insert picture description here
(3) Set the plug-in of the Web interface: rabbitmq-plugins enable rabbitmq_management.
Insert picture description here
If the above result appears, proceed.
Synchronize C:\Users\Administrator.erlang.cookie to C:\Windows\System32\config\systemprofile.erlang.cookie
and delete at the same time :C:\Users\Administrator\AppData\Roaming\RabbitMQ directory
Re-enter the command: rabbitmq-plugins.bat enable rabbitmq_management
Insert picture description here
successfully configured!
If the result of the above figure appears directly, continue with the following steps!
(4) Startup
Enter rabbitmq-server.bat in cmd
Insert picture description here
to here, RabbitMQ installation is complete!

Step 3: View RabbitMQ in the browser

Click: http://localhost:15672
enter account guest, password guest to enter rabbitMQ management console
Insert picture description here

Guess you like

Origin blog.csdn.net/Wangdiankun/article/details/106790385