RabbitMQ Installation
  • 27 Jul 2023
  • 1 Minute to read
  • Dark
    Light
  • PDF

RabbitMQ Installation

  • Dark
    Light
  • PDF

Article summary

The following are the commands used to update the Linux system to the latest stable status:

  1. sudo apt-get install apt-transport-https
  2. echo "deb https://dl.bintray.com/rabbitmq/debian $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/rabbitmq.list
  3. echo "deb https://dl.bintray.com/rabbitmq/debian bionic main" | sudo tee /etc/apt/sources/list.d/rabbitmq/list
  4. wget -o- https://www.rabbitmq.com/rabbitmq-relesae-singing-key.asc | sudo apt-key add
  5. sudo apt update

Install RabbitMQ on Ubuntu/RHEL

The following are the final steps to install RabbitMQ on Ubuntu/RHEL:

  1. sudo apt -y install rabbitmq-server
  2. sudo vi /etc/default/rabbitmq-server
  3. sudo systemctl enable rabbitmq-server.service

 To check the status of RabbitMQ:

  1. sudo systemctl start rabbitmq-server.service
  2. sudo systemctl stop rabbitmq-server.service
  3. sudo systemctl status rabbitmq-server.service

The Web Service should be listening on TCP port 15672, can verify via the below command:

# ss -tunelp | grep 15672

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

Rabbit MQ Configuration

Create a queue name and update the details in the Database tables: 

fluidiam_rabbitmq_details and fluidiam_config_properties



Was this article helpful?