INSTALLING THE RABBITMQ SERVER ON YOUR DEV MACHINE

First download everything

1. Download RabbitMQ

But wait with the installation until after you’ve installed Erlang.

https://www.rabbitmq.com/install-windows.html#downloads

2. Find matching versions

Compare the version of Rabbit MQ you downloaded with the version of Erlang that supports it on this version matrix.

https://www.rabbitmq.com/which-erlang.html

3. Download Erlang from GitHub

Click on the version to download: “OTP 24.3.2”

https://erlang.org/download/otp_versions_tree.html

Then download the installation package that fits your system.

Install Erlang and RabbitMQ

First install Erlang.

Make sure you install it on an administrator account, or RabbitMQ will not recognize it.

Then install Rabbit MQ.

It is recommended that you install it on an administration account here too.

Starting and configuring the server

Rabbit MQ is installed as a service and is started automatically when your computer is started.

If you need, you can stop and start it manually with the command line tool. Start a command line, and navigate to this folder:

C:\{Program Files}\RabbitMQ Server\{rabbitmq_server-3.9.14}\sbin

{Program Files} is where your programs are stored on your windows machine
{rabbitmq_server-3.9.14} should be the version you have installed.

Stopping the service

> rabbitmq-service stop

Starting the service

> rabbitmq-service start

Web interface

The web interface is disabled by default. To enable it, go to the sbin folder:
C:\{Program Files}\RabbitMQ Server\{rabbitmq_server-3.9.14}\sbin
and enter this command:

> rabbitmq-plugins enable rabbitmq_management

Now you can access it using this URL:
http://localhost:15672

Default login

User: guest
Password: guest

For more information

For more information, go to the official Rabbit MQ site:
https://www.rabbitmq.com/download.html

Next step? Setting up RabbitMQ in your code? Look here:
Index RabbitMQ

— Cheers!

Like it? Share it!

Leave a Reply

Your email address will not be published. Required fields are marked *