Original address: http://www.cnblogs.com/balaamwe/p/3678527.html
1. Installing Erlang
1.1 Preparation, install dependent libraries first
Yum-y install make GCC gcc-c++ kernel-devel M4 ncurses-devel openssl-devel Yum Install Ncurses-devel
1.2 Download Erlang Source
wget HTTP://WWW.ERLANG.ORG/DOWNLOAD/OTP_SRC_R16B02.TAR.GZCP otp_src_r16b02.tar.gz/usr/src/otp_src_ R16B02.TAR.GZCD/USR/SRCTAR-XZVF otp_src_R16B02.tar.gz MV otp_src_r16b02 erlang_r16b
1.3 Compiling the installation
CD erlang_r16b/./configure--prefix=/usr/local/erlang--with-ssl--enable-threads--enable-smp-support-- Enable-kernel-poll--enable-hipe--without-javac //No Java compilation, so remove Java to avoid error make && make install //post-compilation installation
1.4 Configuring Environment variables
Vi/etc/profile Erl_home=/usr/local/erlang export path= $PATH: $ERL _home/bin
2 Installing RABBITMQ
2.1 Downloads
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.1.5/rabbitmq-server-3.1.5.tar.gz CP RABBITMQ-SERVER-3.1.5.TAR.GZ/USR/SRCCD/USR/SRCTAR-XZVF rabbitmq-server-3.1.5.tar.gz
2.2 Installing dependent libraries
Otherwise the compilation does not pass:
/bin/sh:line 1:xmlto:command not found
2.3 Compiling
2.4 Installing the Web Plugin management interface
View the list of plugins
./rabbitmq-plugins List
2.5 Common Commands
Start RABBITMQ
./rabbitmq-server-detached
Enter the http://127.0.0.1:15672/login admin interface on the browser
The user name and password used for login are counted as guest by default
Close RABBITMQ
./rabbitmqctl Stop
Centos 6.4 Installation ERLANG&RABBITMQ