1、环境必须是erlang的
于是下载最新版 wget http://erlang.org/download/otp_src_18.2.1.tar.gz
tar -zxvf otp_src_18.2.1.tar.gz
cd otp_src_18.2.1
./configure \
--prefix=/usr/local/erlang \
--enable-smp-support \
--enable-threads \
--enable-sctp \
--enable-kernel-poll \
--enable-hipe \
--with-ssl
利用yum安装erlang编译环境:
$ yum -y install make ncurses-devel gcc gcc-c++ unixODBC unixODBC-devel openssl openssl-devel
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.1/rabbitmq-server-3.6.1-1.noarch.rpm