Install RABBITMQ under Ubuntu

Source: Internet
Author: User
Tags rabbitmq

I. Environmental preparedness

RABBITMQ requires Erlang language support, so you need to install the Erlang language first

Two. Download

http://www.erlang.org/download/opt_src_17.3_tar.gz and unzip

Three. Installation

     ./configure--prefix=/home/ liyixiang /erlang

Note:

Could be an error.Configure:Error: No Curses library functions foundconfigure:Error: /bin/SH'/home/liyixiang/erlang/configure'failed forERTs

The reason is the lack of ncurses bag   

Solution: under the Ubuntu system

Apt-cache Search ncurses

Apt-get Install Libncurses5-dev

Continue to install Erlang

    ? command: make make install ?

? four. Test Erlang ?

Enter/home/liyixiang/erlang, startErlTestErlangwhether the installation was successful.

Span style= "FONT-SIZE:18PX; margin:0px; padding:0px; Color:rgb (68, 68, 68); line-height:18px; Background-color:rgb (255, 255, 255); " > five. Configure the Erlang environment variable    

    1. modify file, add the following environment variable: (Vim profile    i Insert   Edit complete ESC exit   wq! Force modify )

    2. export path= $PATH:/usr/erlang/bin

    3. source profile make file effective

Six. RABBITMQ installation configuration

Download http://www.rabbitmq.com/releases/rabbitmq-server/v3.3.5/rabbitmq-server-generic-unix-3.3.5.tar.gz

Unzip into USR

    1. modifying /etc/profile, adding environment variables

    2. #set RABBITMQ Environment

    3. Export path= $PATH:/usr/rabbitmq_server-3.3.5/sbin

    4. Source profile makes the file effective

Note:

You may encounter a ./rabbitmq-server:line 86:erl:command not found

         Modify rabbitmq_server-3.3.5/sbin/rabbitmq-server-3.3.5 file will export path= $PATH:/usr/erlang/bin can be configured on

Then start the ./rabbitmq-server.start!


Install RABBITMQ under Ubuntu

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.