yum install wget //最小化安装系统需安装 wget
一 rpm安装 参考:hobinly
安装最新版
1 打开官网 http://www.rabbitmq.com/install-rpm.html
下载erlang环境
https://github.com/rabbitmq/erlang-rpm/releases
wget -c https://github.com/rabbitmq/erlang-rpm/releases/download/v20.1.4/erlang-20.1.4-1.el6.x86_64.rpm
速度有点慢
rpm -ivh erlang-20.1.4-1.el7.centos.x86_64.rpm
下载rabbitmq rpm包
wget -c https://dl.bintray.com/rabbitmq/rabbitmq-server-rpm/rabbitmq-server-3.6.12-1.el7.noarch.rpm
需要安装
yum install socat
否则
rpm -ivh rabbitmq-server-3.6.12-1.el7.noarch.rpm
安装完毕
systemctl start rabbitmq-server
systemctl status rabbitmq-server
时间: 2024-12-10 17:41:46