Installing RabbitMQ on Ubuntu 17.10

(Last Updated On: September 22, 2018)

In this post we are going to install RabbitMQ on Ubuntu Server 17.10 and configure the web admin interface.

Installing RabbitMQ Server

Starting from a fully updated Ubuntu Server 17.10, the first thing you will need to do is download the Debian installer package:

# wget

Next install the package using dpkg

# dpkg -i rabbitmq-server_3.7.4-1_all.deb

It will have unresolved dependencies so run the following command to download and install those:

# apt --fix-broken install

This will create and start the rabbitmq-server service.  In the next section, we will add an admin user

Adding and Admin User

Now we are going to add an admin user so that we can manage RabbitMQ from the web interface.  Run the following commands to create the user and give them admin privileges:

# rabbitmqctl add_user {username} {password}
# rabbitmqctl set_user_tags {username} administrator
# rabbitmqctl set_permissions -p / {username} ".*" ".*" ".*"

Now that we have our admin user we can install the web interface:

Installing the Management Plugin

The web interface is installed by installing the RabbitMQ management interface.  Run the following command to install the plugin:

# rabbitmq-plugins enable rabbitmq_management

You can now access the admin interface at the following URL:


Login with the username and password we created in the previous section.  You should now see the RabbitMQ admin interface:

rabbitmq on ubuntu

For more Ubuntu articles click here.

Need More Ubuntu Training?

Checkout this Ubuntu Fundamentals course from Pluralsight.  Pluralsight has great training at a great price.  Free 10-day trial.

Start your Free Trial today!


I hope you have enjoyed this article, if so please leave a comment below.  For more articles, please signup for the AdminTome Blog below.  Also please feel free to share the article to your friends using the buttons to the left.  Thanks again for reading this post.


Leave a Comment

you're currently offline