Installing RabbitMQ on Bash in Windows 10

If you haven’t installed Bash (and the Windows Subsystem for Linux) in your Windows 10 machine you can find the installation guide here.

If you are not familiar with RabbitMQ, you can find more information about this open source message broker here.

Installing RabbitMQ

Open the Start Menu and search for Bash.
Start Menu > Bash

In Bash, install RabbitMQ executing sudo apt-get install rabbitmq-server.
Installing RabbitMQ

Running RabbitMQ as a service

To run RabbitMQ as a service, just execute sudo service rabbitmq-server start on the console. RabbitMQ will be now executing in the background until the bash console is closed.

Installing the RabbitMQ Management Plugin

The RabbitMQ Management Plugin provides an HTTP-based API for management and monitoring of your RabbitMQ server, along with a browser-based UI and a command line tool, rabbitmqadmin.

Since the plugin is included in the RabbitMQ distribution, you just need to enable it by executing sudo rabbitmq-plugins enable rabbitmq_management in the bash console.

When this is done, you can open a browser, navigate to http://localhost:15672 and use the default credentials (username: guest / password: guest) to be able to easily monitor and manage RabbitMQ.

And you are good to go!

Stopping RabbitMQ

To stop RabbitMQ you can either execute sudo service rabbitmq-server stop or you simply close the bash console.