In this tutorial, we will see how to install RabbitMQ on Windows 10 operating system.
Install RabbitMQ on Windows:
Installing RabbitMQ in windows is a straight and straightforward process; the only thing you have to know about your system information and download appropriate RabbitMQ installer.
Version Information:
- Windows 10 Pro 64 Bit
- RabbitMQ Server 3.7.15
- otp_win64_22.0 (Erlang)
Prerequisites:
RabbitMQ runs on Erlang virtual machine. So that to install/run the RabbitMQ, initially we have to install the Erlang. If you already installed Erlang on your machine, you can skip this step and directly move to RabbitMQ installation.
1. Install Erlang on Windows:
Download the latest Erlang from the official website for me it is OTP 22.0
Click on the above highlighted OTP 22.0 windows xx-bit Binary file; it will be around 94+ MB in size.
After successful download double click on the otp_win64_22.0 file then you would see the below setup window.
Select the Erlang checkbox and click on the Next button. Then choose the destination folder to install the Erlang and click on the Next button.
Then you would prompt to select the start menu folder and click on the install button.
Now the Erlang installation will start; it will take a while to complete.
After a successful install, probably you would see the below successful window.
Click on the close button. Now you completed the Erlang installation so that you can install the RabbitMQ now.
2. Install RabbitMQ on Windows 10:
Download the latest RabbitMQ server from the official website for me it is 3.7.15.
Click on the above-highlighted link to redirect RabbitMQ windows installer.
Click on the above highlighted rabbitmq-server-x.x.xx.exe file to download, after downloading double click on the .exe file to install. Then you would see the below installation wizard.
Select RabbitMQ Service, Start Menu options and click on the Next button.
Browse the installation folder and click on the Next button. Then you would see the installation progress.
After this step, you would see the below successful message then click on Finish.
Now the RabbitMQ installation has been completed.
3. Enable RabbitMQ Management Plugin:
RabbitMQ runs, by default as a windows service, if you are very much interested in working with the command line tool, it’s up to you.
But anyone wants to access it from the web interface, who are need to enable the RabbitMQ management plugin by using the below command on your RabbitMQ command prompt.
Open RabbitMQ command prompt (which will be install as part the above installation steps) and hit the below command.
C:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.15\sbin>rabbitmq-plugins enable rabbitmq_management
Enabling plugins on node rabbit@DESKTOP-RN4SMHT:
rabbitmq_management
The following plugins have been configured:
rabbitmq_management
rabbitmq_management_agent
rabbitmq_web_dispatch
Applying plugin configuration to rabbit@DESKTOP-RN4SMHT...
The following plugins have been enabled:
rabbitmq_management
rabbitmq_management_agent
rabbitmq_web_dispatch
started 3 plugins.
Now everything Done!
4. Verification:
To check everything as expected open any browser and access the http://localhost:15672 URL then you would see the below RabbitMQ login page.
Default credentials are:
User Name: guest
Password: guest
Then you would see the following RabbitMQ home page
Done!
References:
Happy Learning 🙂