安装erlang
yum install ncurses-devel
tar xf otp_src_20.1.tar.gz
./configure --prefix=/usr/local/erlang20 --without-javac
make -j 4
安装rabbitmq
xz -d rabbitmq-server-generic-unix-3.6.14.tar.xz
tar xf rabbitmq-server-generic-unix-3.6.14.tar
yum install python-simplejson -y
mv rabbitmq_server-3.6.14 /usr/local/rabbitmq