Rabbit MQ Installation

From Origami_Wiki
Jump to navigation Jump to search

For setting up Rabbit MQ on Aamzon Linux 2 run the following commands as root


curl -1sLf 'https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/setup.rpm.sh' | sudo -E bash
rpm --import https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc
rpm --import 'https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/gpg.E495BB49CC4BBE5B.key'
rpm --import 'https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/gpg.9F4587F226208342.key'
sudo yum install rabbitmq-server
chkconfig rabbitmq-server on
service rabbitmq-server start
service rabbitmq-server status

Once setup there may be an issue where by the rabbitmq-server wont start due to domain resolution issue. In that case open /etc/hosts file and an entry for the local domain to 127.0.0.1.