How To Install RabbitMQ on CentOS 8

Install RabbitMQ on CentOS 8

In this tutorial we will show you how to install RabbitMQ on CentOS 8. For those of you who didn’t know, RabbitMQ is an open source message broker software that implements the Advanced Message Queuing Protocol (AMQP). RabbitMQ works by receiving messages from publishers (applications that publish them) and routes them to consumers (applications that process them).

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 CentOS 8 server.

Install RabbitMQ on CentOS 8

Step 1. First let’s start by ensuring your system is up-to-date.

Step 2. Installing Erlang.

Before installing RabbitMQ, you must install a supported version of Erlang/OTP:

Then, install Erlang using following command:

Verify your installation of Erlang:

Step 3. Installing RabbitMQ on CentOS 8.

First, create a new Repository file for RabbitMQ:

Next, run following commands to install RabbitMQ:

Now that you have RabbitMQ installed on CentOS 8, start and enable the service to start on system boot:

Step 4. Configuring Firewall.

If you have an active Firewalld service, allow ports 5672 and 15672:

Step 5. Accessing RabbitMQ management console.

You can optionally enable the RabbitMQ Management Web dashboard for easy management:

Then, open your favorite browser and navigate to http://your-domain.com:5672 or http://your-server-ip:5672 and complete the required the steps to finish the installation.

Congratulation’s! You have successfully installed RabbitMQ. Thanks for using this tutorial for installing RabbitMQ on CentOS 8 systems. For additional help or useful information, we recommend you to check the official RabbitMQ website.

VPS Manage 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 “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!