Centos安装最新版RabbitMQ

Centos安装最新版RabbitMQ

  1. 安装依赖
sudo yum update
sudo yum install epel-release
sudo yum install unixODBC unixODBC-devel wxBase wxGTK SDL wxGTK-gl
sudo yum install socat.x86_64
  1. 从这里下载erlang安装软件不能从erlang官网下载,否则安装RabbitMQ出错
wget https://bintray.com/rabbitmq/rpm/download_file?file_path=erlang/21/el/7/x86_64/erlang-21.0.3-1.el7.centos.x86_64.rpm
sudo rpm -ivh erlang-21.0.3-1.el7.centos.x86_64.rpm
  1. 下载安装RabbitMQ
wget https://dl.bintray.com/rabbitmq/all/rabbitmq-server/3.7.7/rabbitmq-server-3.7.7-1.el7.noarch.rpm
sudo rpm -ivh rabbitmq-server-3.7.7-1.el7.noarch.rpm

你可能感兴趣的:(rabbitmq)