yum install gcc glibc-devel make ncurses-devel openssl-devel xmlto
cd /home/software
tar xf otp_src_20.1.tar.gz
cd otp_src_20.1
./configure --prefix=/home/cloud/erlang
make && make install
测试
cd /home/cloud/erlang/bin
erl
mq安装
cd /home/software
tar xf rabbitmq-server-generic-unix-3.6.10.tar.gz
mv rabbitmq_server-3.6.10 /home/cloud/
cd /home/cloud/rabbitmq_server-3.6.10/sbin
启动rabbitmq:
./rabbitmq-server -detached
查看状态:
./rabbitmqctl status
停止:
./rabbitmqctl stop
rabbitmq启动管理界面
./rabbitmq-plugins enable rabbitmq_management
默认用户是guest密码是guest 不让登录
增加管理用户
rabbitmqctl add_user test01 test01
rabbitmqctl set_permissions -p "/" test01 ".*" ".*" ".*"
rabbitmqctl set_user_tags test01 administrator
然后访问http://IP:15672即可
然后用test01 登录
rabbitmq部署笔记
原文:http://blog.51cto.com/wsxxsl/2057293