系统版本
cat /etc/redhat-release
CentOS Linux release 8.2.2004 (Core)
关闭防火墙
systemctl disable firewalld
sed -i 's@SELINUX=enforcing@SELINUX=disabled@g' /etc/selinux/config
添加阿里云epel源
yum install -y https://mirrors.aliyun.com/epel/epel-release-latest-8.noarch.rpm
安装并启动rabbitmq
yum install erlang -y
wget https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.8.8/rabbitmq-server-3.8.8-1.el8.noarch.rpm
yum install rabbitmq-server-3.8.8-1.el8.noarch.rpm -y
rabbitmq-plugins enable rabbitmq_management
systemctl enable --now rabbitmq-server
连接到新安装的 rabbitmq 前端:http://server_ip_or_name:15672
默认账号:guest/guest