- 18 Nov 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
RabbitMQ Installation
- Updated on 18 Nov 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
The following are the commands used to update the Linux system to the latest stable status:
sudo apt-get install apt-transport-https
echo "deb https://dl.bintray.com/rabbitmq/debian $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/rabbitmq.list
echo "deb https://dl.bintray.com/rabbitmq/debian bionic main" | sudo tee /etc/apt/sources/list.d/rabbitmq/list
wget -o- https://www.rabbitmq.com/rabbitmq-relesae-singing-key.asc | sudo apt-key add
sudo apt update
Install RabbitMQ on Ubuntu/RHEL
The following are the final steps to install RabbitMQ on Ubuntu/RHEL:
sudo apt -y install rabbitmq-server
sudo vi /etc/default/rabbitmq-server
sudo systemctl enable rabbitmq-server.service
To check the status of RabbitMQ:
sudo systemctl start rabbitmq-server.service
sudo systemctl stop rabbitmq-server.service
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