Centos 6.4 Installation ERLANG&RABBITMQ

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.