How to install and setup RabbitMQ on Ubuntu 16.04

In this post, I will show you how to install RabbitMQ on Ubuntu 16.04. We can install RabbitMQ easily using Ubuntu’s package manager, apt.

The apt is package manager allows us to install most software pain-free from a repository maintained by Ubuntu.

What is RabbitMQ?

RabbitMQ is a robust messaging system for building applications and systems. It is very easy to use, which runs on all major operating systems. RabbitMQ’s queues and exchanges APIs are cross-platform and supporting multiple languages which makes it easy to build distributed applications.

Install RabbitMQ

We can get started by running below command from your terminal to make sure that all system packages are up-to-date.

The RabbitMQ server is written in the Erlang programming language, so before installing RabbitMQ you should install Erlang, let’s use the below command from your terminal to install Erlang on your Ubuntu 16.04 server.

After Erlang installation, let’s use the below command to install RabbixMQ server

RabbitMQ server Status check

RabbitMQ server has been installed on Ubuntu to check the status of the RabbitMQ server, run the below command –

RabbitMQ server start

To start the RabbitMQ server, run the below command –

Start on Reboot – RabbitMQ server

To enable RabbitMQ server services to auto start after each reboot, run the below command –

Stop RabbitMQ server

To stop the already running RabbitMQ server issue the following command –

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.

I am Arjun from Hyderabad (India). I have been working as a software engineer from last 7+ years, and its my passion to learn new things and implement them as a practice. Aside from work, I likes gardening and spending time with pets. Protection Status