Skip to content Skip to sidebar Skip to footer

How to Install RabbitMQ on RHEL 7 Easily and Quickly


Before u want installing RabbitMQ you must prepare that .rpm on your rhel, here im uploaded with SecureFX that protocol is sftp.

upload .rpm erlang & rabbitmq
upload .rpm erlang & rabbitmq

Install Rabbit-MQ

dont forget you must enable your local repo yah, After you uploaded & enable your local repo, you must entering to directory that file .rpm position and install it. here im put that .rpm on my directoy is /home/kitsake

# cd /home/kitsake
# yum install erlang-22.1.2-1.el7.x86_64.rpm rabbitmq-server-3.7.10-1.el7.noarch.rpm
Installing RabbitMQ
Installing RabbitMQ

ok, congratulation you success to install RabbitMQ, but dont stop here, you must completed that configure until can use it. next you must start that service and auto start when system is first boot.

# systemctl start rabbitmq-server.service
# systemctl enable rabbitmq-server.service

and check status this service with command

# systemctl status rabbitmq-server.service

Enable and use the RabbitMQ Management Console

Yeay this step is final, because after you config this step you can use this RabbitMQ, you must enable management console before.

# rabbitmq-plugins enable rabbitmq_management
# chown -R rabbitmq:rabbitmq /var/lib/rabbitmq/

And you need register for admin / user for acces that service

# rabbitmqctl add_user admin 123456
# rabbitmqctl set_user_tags admin administrator
# rabbitmqctl set_permissions -p / admin ".*" ".*" ".*"

Try the URL your RabbitMQ http://YourIP-RHEL:15672/ and login with your Account

RabbitMQ UI
RabbitMQ UI

Bangkit Ade Saputra
Bangkit Ade Saputra Hard-working professional with experience and a proven knowledge of operating system, server architecture and system configuration.

Post a Comment for "How to Install RabbitMQ on RHEL 7 Easily and Quickly"