RabbitMQ Setup on local machine(Windows)

Kiran Kumar
2 min readOct 24, 2019

--

This guide covers RabbitMQ installation on Windows on our local machine. We are going to install using Chocolatey.

Using chocolatey

RabbitMQ packagese are distributed via Chocolatey. New releases can take a while (sometimes weeks) to get through approvals, so this option is not guaranteed to provide the latest release. It does, however, management the required dependencies.

Open power shell and run as administrator then run the following command

Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1'))

To install RabbitMQ, run the following command from the command line or from PowerShell:

choco install rabbitmq

For most users and use cases, Chocolatey is the optimal installation method.

Dependencies

RabbitMQ requires a 64-bit supported version of Erlang for Windows to be installed. Erlang releases include a Windows installer. Erlang Solutions provide binary 64-bit builds of Erlang as well.

Important: the Erlang installer must be run using an administrative account otherwise a registry key expected by the RabbitMQ installer will not be present.

Once a supported version of Erlang is installed, download the RabbitMQ installer (rabbitmq-server-3.8.0.exe) and run it. It installs RabbitMQ as a Windows service and starts it using the default configuration.

Find below links for downloading erlang and rabbitmq exe file.

https://www.rabbitmq.com/install-windows.html(download and install the rabbit mq server.exe)
https://www.erlang.org/downloads ( download and install erlang)

Run RabbitMQ Service

Open an elevated command line (Run as Administrator)
Navigate to the sbin directory of the RabbitMQ Server installation directory.

C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.3.4\sbin
Run the following command to enable the plugin

rabbitmq-plugins.bat enable rabbitmq_management

The RabbitMQ service starts automatically. You can stop/reinstall/start the RabbitMQ service from the Start Menu.

Once all done open : http://localhost:15672/ for opening the rabbitmq management.

Refer the following link for further information's
https://www.rabbitmq.com/install-windows.html

--

--