标签:必须 out kernel lang $path ref stat pre prefix
wget http://erlang.org/download/otp_src_21.0.tar.gz
tar zxvf otp_src_21.0.tar.gz
cd otp_src_21.0
./configure --prefix=/opt/erlang --enable-hipe --enable-threads --enable-smp-support --enable-kernel-poll --without-javac
make
make install
修改/etc/profile
ERLANG_HOME=/opt/erlang
export PATH=$PATH:$ERLANG_HOME/bin
export ERLANG_HOME
source /etc/profile
erl
wget https://***/rabbitmq-server-generic-unix-3.7.7.tar.xz
xz -d rabbitmq-server-generic-unix-3.7.7.tar.xz
tar vxf rabbitmq-server-generic-unix-3.7.7.tar -C /opt
cd /opt
mv rabbitmq_server-3.7.7 rabbitmq
修改/etc/profile
export PATH=$PATH:/opt/rabbitmq/sbin
export RABBITMQ_HOME=/opt/rabbitmq
source /etc/profile
rabbitmq-server -detached
rabbitmqctl status
如果安装erlang21,rabbitmq必须为3.7.7+
linux centos7 erlang rabbitmq安装
标签:必须 out kernel lang $path ref stat pre prefix
原文地址:https://www.cnblogs.com/betterlife/p/9521105.html