Install RabbitMQ on Linux or Mac OS X

Anton Lytvynov
3 min readJun 11, 2018

--

Run RabbitMQ with Management plugin on your server

RabbitMQ is an open source message broker. Main port is 5672. For any servers that want to use the message queue, only 5672 is required.

To install RabbitMQ follow this link and choose your operation system https://www.rabbitmq.com/download.html

Or you can download release you need from github https://github.com/rabbitmq/rabbitmq-server/releases

Package Cloud https://packagecloud.io/rabbitmq/rabbitmq-server

Installation .deb

Probably the easiest way to install RabbitMQ on Linux is .deb asset.

Click on Debian, Ubuntu to download .deb releases. After download run it and click install in Applications Manager.

Install tar.gz

Go to page https://github.com/rabbitmq/rabbitmq-server/releases and download .tar.gz

Download tar.gz

Than enter a command in terminal :

tar -xvzf rabbitmq-server-3.7.5.tar.gz

Install with apt-get

Add a repository

wget -O- https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc |
sudo apt-key add -
wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add -

Start installation :

sudo apt-get update
sudo apt-get install rabbitmq-server

Installation with Homebrew on Mac OS X

If you have not already installed Homebrew run this command in terminal :

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 

You should see in terminal

Now we can use brew command in terminal. Use it to install RabbitMQ :

brew update
brew install rabbitmq

RabbitMQ Management Plugin

Officiel RabbitMQ Management plugin page https://www.rabbitmq.com/management.html

The rabbitmq-management plugin provides an HTTP-based API for management and monitoring of your RabbitMQ server

Management plugin uses 15672 port.

Let’s install it. Enter rabbitmq in terminal and click Tab button on keyboard. You’ll see all available services

Enter this command to enable management plugin

rabbitmq-plugins enable rabbitmq_management
Result of command

Run rabbitMQ (probably with sudo)

rabbitmq-server start
RabbitMQ started with 6 plugins

And now follow http://127.0.0.1:15672/ in your navigator. You should see a simple

RabbitMQ Management Log in Form

Enter with login : guest and password : guest

Management interface

Thank you for your attention !

Thank you very much for your attention ! If you have any questions or advices please feel free to contact me. I will be glad to help you.

Need professional help in web or mobile development?
Recommendation for planning or estimation of your project?
Feel free to contact me here.

P.S. I really appreciate your like or share.

--

--

Anton Lytvynov

CEO & Founder of Lytvynov Production, Senior web developer, architect, cryptocurrencies trader, https://lytvynov-production.com