How To Install Rabbitmq On Centos 7?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Update the system:
sudo yum update
2. Install Erlang:
sudo yum install epel-release
sudo yum install erlang
3. Add the RabbitMQ repository to the system:
sudo wget https://www.rabbitmq.com/rabbitmq-release-signing-key.asc
sudo rpm –import rabbitmq-release-signing-key.asc
sudo yum install https://www.rabbitmq.com/releases/rabbitmq-server/v3.7.7/rabbitmq-server-3.7.7-1.el7.noarch.rpm
4. Start RabbitMQ:
sudo systemctl start rabbitmq-server
5. Enable RabbitMQ so it starts on boot:
sudo systemctl enable rabbitmq-server
6. Add a user and set permissions:
sudo rabbitmqctl add_user <username> <password>
sudo rabbitmqctl set_user_tags <username> administrator
sudo rabbitmqctl set_permissions -p / <username> “.*” “.*” “.*”