我的安装前提是虚拟机可以连外网,已经更换为国内的镜像源,基本是跟着官网的安装教程来的,官网安装rabbitmq教程
添加key
## primary RabbitMQ signing key
rpm --import 'https://github.com/rabbitmq/signing-keys/releases/download/3.0/rabbitmq-release-signing-key.asc'
## modern Erlang repository
rpm --import 'https://github.com/rabbitmq/signing-keys/releases/download/3.0/cloudsmith.rabbitmq-erlang.E495BB49CC4BBE5B.key'
## RabbitMQ server repository
rpm --import 'https://github.com/rabbitmq/signing-keys/releases/download/3.0/cloudsmith.rabbitmq-server.9F4587F226208342.key'
安装
dnf可以是yum
dnf update -y
## install these dependencies from standard OS repositories
dnf install -y socat logrotate
## install RabbitMQ and zero dependency Erlang
dnf install -y erlang rabbitmq-server
另一个是打开网页插件、防火墙,实现网页管理的教程
各种设置之后的restart、reload不要忘了,不然不会生效