How To Install RabbitMQ Message Broker On Linux

How To Install RabbitMQ Message Broker On Linux

RabbitMQ is a message broker software that implements AMQP(advanced message queuing protocol). This is free and open-source software used by many small and large enterprises. Let’s see how to install RabbitMQ and rabbitmq user permissions to access via GUI. The rabbitmq default port is 15672. It also provides the rabbitmq web interface. install rabbitmq centos 7

The recommended way to installation of RabbitMq using yum repositories from package cloud or binaries. you can use this for two operations. like Performing background operations and Performing asynchronous operations.

Check Out: How To Install Git (Subversion Control) In Ubuntu 19.04

RabbitMQ is lightweight and easy to deploy on-premises and in the cloud. It supports multiple messaging protocols. so

Installation Requirements: rabbitmq user permission rabbitmq default port

  • Erlang repository
  • Epel repository
  • RabbitMQ repository  

The recommend way to installation of all repositories is downloaded from their sites and providing you all the links. so

Download Erlang and Install Epel repository by yum install epel-release on Centos and RabbitMQ Link for downloading other Linux flavor, you may follow this link. so

Let’s Begin the Installation so

Check Out: How To Configure Samba Server For File Sharing

Step 1: yum repository can be used rabbitmq signing key must be imported first. so

rpm --import https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc

Now Create a rabbitmq.repo file in /etc/yum.repos.d/

[bintray-rabbitmq-server]
name=bintray-rabbitmq-rpm
baseurl=https://dl.bintray.com/rabbitmq/rpm/rabbitmq-server/v3.7.x/el/7/
gpgcheck=0
repo_gpgcheck=0
enabled=1

Step 2: Install Erlang and rabbitmq-server so

yum install erlang rabbitmq-server

Check version installed so

rpm -qa | grep rabbitmq

Step 3: Start service and enable so

systemctl start rabbitmq-server && systemctl enable rabbitmq-server

Enable the Web Access for RabbitMQ, so

rabbitmq-plugins enable rabbitmq_management

rabbitmq centos install

The owner should be rabbitmq for this location, so

chown -R rabbitmq:rabbitmq /var/lib/rabbitmq/

Step 4: Now create an administrator user for the web console. so

rabbitmqctl add_user webadmin password

Provide Administrator access to the user. so

rabbitmqctl set_user_tags webadmin administrator

rabbitmqctl set_permissions -p / webadmin ".*" ".*" ".*"

Access rabbitmq with http://yourip:15672

rabbitmq centos install

Login with your credential username: webadmin and password: password so

rabbitmq user permissions

YouTube Link:

You’re done. rabbitmq web interface  install rabbitmq centos 7

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

Leave a comment