一.环境
centos6.8
python 2.7.13
setuptools 19.6.0
simplejson 3.13.2
erlang 19.1
python 安装文档:http://08643.cn/p/9cb04a70fade
wget https://pypi.python.org/packages/0d/3f/3a16847fe5c010110a8f54dd8fe7b091b4e22922def374fe1cce9c1cb7e9/simplejson-3.13.2.tar.gz#md5=870bf6257465ce2ee8cad14e2394f7eb --no-check-certificate
tar -xf simplejson-3.13.2.tar.gz
cd simplejson-2.0.9
python setup.py build
python setup.py install
安装erlang
yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel xmlto nc
yum install libX* java* tk unixODBC unixODBC-devel
wget http://erlang.org/download/otp_src_19.1.tar.gz
cd otp_src_19.1
./configure --prefix=/usr/local/erlang --with-ssl --enable-threads --enable-smp-support --enable-kernel-poll --enable-hipe --without-javac
#make && make install
#vi /etc/profile
ERL_HOME=/usr/local/erlang
PATH=$ERL_HOME/bin:$PATH
export ERL_HOME PATH
#source /etc/profile
更新环境变量
执行erl,进入erlang的shell成功安装 测试一下是否安装成功,在控制台输入命令erl
4、安装 RabbitMQ
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.0/rabbitmq-server-generic-unix-3.6.0.tar.xz
tar -xvJf rabbitmq-server-generic-unix-3.6.0.tar.xz
cd rabbitmq_server-3.6.0/sbin
./rabbitmq-server -detached