[MQ] Installation and startup of RabbitMQ on Windows

Article directory

Download Erlang

RabbitMQ is based on the Erlang language, so you need to install Erlang before using RabbitMQ, as follows
Erlang language download
Here I am using the version 25.2.2, my machine is 64bit, so just download win64.
insert image description here
After downloading the installation package, click the exe file to install and run directly.
After installation, configure the environment variables.
insert image description here
Then open cmd and run the following command to check whether erlang is installed successfully

erl -version

insert image description here

Install RabbitMQ

Install RabbitMQ
The windows installation package of RabbitMQ can be found and downloaded on github.
insert image description here
After the installation is the same, we can also configure environment variables so that RabbitMQ instructions can be used in all directories.
insert image description here
After that, open the CMD command line and enter

rabbitmq-plugins enable rabbitmq_management

This command is used to install the management interface of rabbitmq.
then enter again

rabbitmq-server -detached

insert image description here
If there is no error reported during this process, then the installation is successful.
At this point we can visit http://localhost:15672/ to access the console of RabbitMQ. The
default username and password are both guest
insert image description here

Guess you like

Origin blog.csdn.net/Zhangsama1/article/details/131673617