1: Offline installation
Download the installation package and dependency package
1) Install erlang, which can be ignored after installation
rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
yum install erlang
2) Download the installation package of rabbitmq in rpm format
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.6/rabbitmq-server-3.6.6-1.el7.noarch.rpm
yum install rabbitmq-server-3.6.6-1.el7.noarch.rpm
2: Start the service
service rabbitmq-server start
3: open port
-- 5672 is the service port
firewall-cmd --zone=public --add-port=5672/tcp --permanent
-- 15672 is the management interface port
firewall-cmd --zone=public --add-port=15672/tcp --permanent
firewall-cmd --reload
4: plugin management of rabbitmq
-- To enable the management function plug-in, it needs to be used in conjunction with port 15672
rabbitmq-plugins enable rabbitmq_management
--open under window
http://192.168.111.130:15672