Centos7安装RabbitMQ
1. 下载安装文件
RabbitMQ官网:https://www.rabbitmq.com/
GitHub地址:
https://github.com/rabbitmq/rabbitmq-server/releases
https://github.com/rabbitmq/erlang-rpm/releases
RabbitMQ需要Erlang语言环境。
版本对应关系:https://www.rabbitmq.com/which-erlang.html
2. Centos7准备
上传所需文件
[root@localhost ~]# ll
总用量 35644
-rw-------. 1 root root 1384 11月 20 anaconda-ks.cfg
-rw-r--r--. 1 root root 19979100 7月 27 22:48 erlang-22.3.4.1-1.el7.x86_64.rpm
-rw-r--r--. 1 root root 10696323 12月 8 2021 rabbitmq-server-3.7.28-1.el7.noarch.rpm
2.1 安装 socat
yum install -y socat
若提示缺少logrotate依赖则安装
yum install logrotate -y