Enter / etc/ yum.repos . D / folder
Create rabbitmq- erlang.repo file
The contents are as follows
[rabbitmq-erlang]
name=rabbitmq-erlang
baseurl=https://dl.bintray.com/rabbitmq-erlang/rpm/erlang/21/el/7
gpgcheck=1
gpgkey=https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc
repo_gpgcheck=0
enabled=1
establish rabbitmq.repo file
The contents are as follows
[bintray-rabbitmq-server]
name=bintray-rabbitmq-rpm
baseurl=https://dl.bintray.com/rabbitmq/rpm/rabbitmq-server/v3.8.x/el/8/
gpgcheck=0
repo_gpgcheck=0
enabled=1
Installation command
yum install rabbitmq-server
Rabbitmq related commands
open
service rabbitmq-server start
close
service rabbitmq-server stop
View status
service rabbitmq-server status
restart
service rabbitmq-server restart
Enable plug-in page management
rabbitmq-plugins enable rabbitmq_management
Create user
rabbitmqctl add_user admin mypassword
Empowerment
rabbitmqctl set_user_tags admin administrator
rabbitmqctl set_permissions -p / admin ".*" ".*" ".*"
Browser access http: / / machine IP: 15672, open the management interface, and log in with the admin account configured in the previous step
summary
The above is the introduction of centos8 using Yum to install rabbitmq tutorial, hope to help you, if you have any questions, please leave me a message, Xiaobian will reply you in time. Thank you very much for your support to the developeppaer website!
If you think this article is helpful to you, welcome to reprint, please indicate the source, thank you!