1、安装所有依赖包
yum install -y gcc ncurses ncurses-base ncurses-devel ncurses-libs ncurses-static ncurses-term ocaml-curses ocaml-curses-devel openssl-devel zlib-devel openssl-devel perl xz xmlto kernel-devel m4
2、安装python2.7.11
下载地址:http://pan.baidu.com/s/1qYyBCEK
tar zxvf Python-2.7.11.tgz
cd Python-2.7.11
./configure --prefix=/usr/local/python27
make && make install
rm -rf /usr/bin/python
ln -s /usr/local/python27/bin/python /usr/bin/python
vi /usr/bin/yum
将第一行
#!/usr/bin/python
修改为
#!/usr/bin/python2.6
3、安装Erlang
下载地址:http://pan.baidu.com/s/1gfE3bYr
tar zxvf 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
4、安装RabbitMQ
下载地址:http://pan.baidu.com/s/1kVQ6ic3
xz -d rabbitmq-server-generic-unix-3.6.5.tar.xz
tar xvf rabbitmq-server-generic-unix-3.6.5.tar
mv rabbitmq_server-3.6.5 rabbitmq
#启动rabbitmq服务
/usr/local/rabbitmq/sbin/rabbitmq-server
#后台启动
/usr/local/rabbitmq/sbin/rabbitmq-server -detached
#关闭rabbitmq服务
/usr/local/rabbitmq/sbin/rabbitmqctl stop
或
ps -ef | grep rabbit 和 kill -9 xxx
#开启插件管理页面
/usr/local/rabbitmq/sbin/rabbitmq-plugins enable rabbitmq_management
#创建用户
/usr/local/rabbitmq/sbin/rabbitmqctl add_user rabbitadmin 123456
/usr/local/rabbitmq/sbin/rabbitmqctl set_user_tags rabbitadmin administrator
#WEB登录
http://10.10.3.63:15672