How To Install RabbitMQ on Ubuntu 16.04

r00t May 3, 2016

Install RabbitMQ on Ubuntu 16.04

In this tutorial we will show you how to install and configuration of RabbitMQ on your Ubuntu 16.04 server. For those of you who didn’t know, RabbitMQ is open source message broker software (sometimes called message-oriented middleware) that implements the Advanced Message Queuing Protocol (AMQP). The RabbitMQ server is written in the Erlang programming language and is built on the Open Telecom Platform framework for clustering and failover. Client libraries to interface with the broker are available for all major programming languages.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation RabbitMQ on a Ubuntu 16.04 server.

Install RabbitMQ on Ubuntu 16.04

Step 1. First make sure that all your system packages are up-to-date by running these following apt-get commands in the terminal.

Step 2. Installing Erlang.

Install Erlang using command:

Step 3. Installing RabbitMQ.

First, Enable RabbitMQ application repository:

After the repository is added, we will add the RabbitMQ public key to our trusted key list to avoid any warnings about unsigned packages:

Now we just need to run an update, and install the rabbitmq-server from our newly added package:

To start, stop, restart and check the RabbitMQ status, use the following:

Step 4. Access RabbitMQ management console.

To manage your RabbitMQ server, you can use the rabbitmq-management plugin. This plugin allows you to manage and monitor your RabbitMQ server in a variety of ways, such as listing and deleting exchanges, queues, bindings and many more. To install the plugin, use the following command:

RabbitMQ will be available on HTTP port 15672 by default. Open your favorite browser and navigate to or http://server-ip:15672 and complete the required the steps to finish the installation.

Congratulation’s! You have successfully installed RabbitMQ server. Thanks for using this tutorial for installing RabbitMQ on Ubuntu 16.04 system. For additional help or useful information, we recommend you to check the official RabbitMQ web site.

Squid Install Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “Squid Proxy” installation, starting from $10 (Paypal payment). Please contact us to get a best deal!
Share on Google+0Share on Facebook0Tweet about this on TwitterShare on Tumblr0Share on StumbleUpon1Share on Reddit1Pin on Pinterest2
The Tags:

Leave a Comment