RABBITMQ的部署安装[三]

部署消息队列,使用的系统是

# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)

 需要准备的安装包

erl的下载地址<---戳我

[root@linux-node1 ~]# ll /application/tools/
total 265276
drwxrwxr-x 12  421 wheel      4096 Oct 10 15:27 otp_src_20.1
-rw-r--r--  1 root root   87342296 Sep 26 18:17 otp_src_20.1.tar.gz
-rw-r--r--  1 root root    4964749 Oct 10 09:24 rabbitmq-server-3.6.12-1.el7.noarch.rpm

configure 解压erl的tar.gz压缩包

# tar xf opt_src_20.1.tar.gz
# cd opt_src_20.1
# mkdir -pv /application/erlang
# yum -y install ncurses-devel
# ./configure  --prefix=/application/erlang --enable-smp-support  --enable-threads  --enable-sctp --enable-kernel-poll --enable-hipe  --with-ssl --without-javac
# make && make install
# ln -vs /application/erlang/bin/erl /usr/local/bin/erl

出现安装成功的标志

*********************************************************************
**********************  APPLICATIONS DISABLED  **********************
*********************************************************************
 
jinterface     : Java compiler disabled by user
odbc           : ODBC library - link check failed
 
*********************************************************************
*********************************************************************
**********************  APPLICATIONS INFORMATION  *******************
*********************************************************************
 
wx             : wxWidgets not found, wx will NOT be usable
 
*********************************************************************
*********************************************************************
**********************  DOCUMENTATION INFORMATION  ******************
*********************************************************************
 
documentation  :
                 fop is missing.
                 Using fakefop to generate placeholder PDF files.
 
*********************************************************************

 环境变量【要生效呦】

# vim /etc/profile.d/erl.sh 
#!/bin/bash
export ERL_HOME=/application/erlang
export PATH=$ERL_HOME/bin:$PATH

 接下来坑爹的一步[出现下面状态代表成功]

# cd /application/tools
# yum -y install socat
# rpm -i --nodeps /application/tools/rabbitmq-server-3.6.12-1.el7.noarch.rpm 
warning: /application/tools/rabbitmq-server-3.6.12-1.el7.noarch.rpm: Header V4 RSA/SHA512 Signature, key ID 6026dfca: NOKEY

 接下来就是启动部署cluster。

 

posted @ 2017-10-10 15:38  reborn枪  阅读(177)  评论(0)    收藏  举报