Install rabbitMq in windows environment--detailed tutorial

Step 1: Download and install erlang

 

Choose the erlang download version according to the number of bits of the machine.

  • After downloading it is something like this:

  • Double-click, all the way to next.

  • Choose a place you want to save, and install it next.

  • Configure system variables.

This computer-->right mouse button "Properties"-->Advanced System Settings-->Environment Variables-->"New" System Environment Variable

Variable name: ERLANG_HOME

The variable value is the installation address of erlang just now, click OK.

Then double-click the system variable path

 

  • Windows key + R key, type cmd, then type erl, see the version number, it means erlang is installed successfully.

Step 2: Download and install RabbitMQ

 

  • Double-click the downloaded .exe file, the installation process is the same as that of erlang.
  • After RabbitMQ is installed, install RabbitMQ-Plugins. Open the command line cd and enter the sbin directory of RabbitMQ.

Then enter the rabbitmq-plugins enable rabbitmq_management command to install

Open the command line and enter the installation directory of RabbitMQ: sbin

,Enter rabbitmqctl status, if the following figure appears, it means that the installation is successful, and it means that RabbitMQ Server has been started and is running normally.

RabbitMQ installation under windows

Open the sbin directory and double-click rabbitmq-server.bat

 

Note: During this process, a startup exception will occur. You need to copy C:\Users\Administrator\.erlang.cookie to the next copy of C:\Windows\System32\config\systemprofile.

At the same time, delete the RabbitMqwen folder under the C:\Users\Administrator\AppData\Roaming folder to start successfully

 

After a few seconds to see this interface, visit http://localhost:15672

Then you can see the following interface

The default username and password are both guest

Just log in.

Guess you like

Origin blog.csdn.net/Tom_sensen/article/details/114625239