rabbitmq安装

Soongp 2017-08-28

Mq安装

wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.0/rabbitmq-server-3.6.0-1.noarch.rpm

 

wget  http://erlang.org/download/otp_src_17.0.tar.gz

yum -y install make ncurses-devel gcc gcc-c++ unixODBC unixODBC-devel openssl openssl-devel

 

./configure --prefix=/usr/local/erlang --enable-smp-support   --enable-threads   --enable-sctp  --enable-kernel-poll --enable-hipe  --with-ssl

 

make && make install

 

vi /etc/profile

 

source  /etc/profile

 

echo $ERL_HOME

 

rpm -i --nodeps rabbitmq-server-3.6.0-1.noarch.rpm

 

 

 

service rabbitmq-server start

chkconfig rabbitmq-server on

 

rabbitmqctl add_user admin admin

rabbitmqctl  set_user_tags admin administrator

 

rabbitmqctl list_users

 

rabbitmq-plugins enable rabbitmq_management

相关推荐