Installing Erlang and RABBITMQ under Linux

Source: Internet
Author: User
Tags rabbitmq

Install Erlang and RABBITMQ on Linux under Installation Erlang
    1. Download Erlang installation package
      Http://erlang.org/download/otp_src_20.3.tar.gz

    2. Upload to the server TMP directory and go to the TMP directory for installation.

      # cd/tmp# mkdir-p/usr/local/erlang# tar-xzvf otp_src_20.1. tar.gz# cd otp_src_20.1#./configure--prefix=/usr/l Ocal/erlang--with-ssl--enable-threads--enable-smp-support--enable-kernel-poll--enable-hipe--without-javac# Make-j8# make install   
    3. Setting environment variables
      # Vim/etc/profile
      At the end, add the following:
      #set Erlang Environment
      Export paht= $PATH:/usr/local/erlang/bin
    4. Make environment variables effective
      # Source/etc/profile
    5. Test whether Erlang is available and whether the variable is valid
      # Erl

      Show the following instructions to take effect

Installing RABBITMQ
  1. Download Rabbitmq-server installation package
    Http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.15/rabbitmq-server-generic-unix-3.6.15.tar.xz

  2. Upload to the server TMP directory and go to the TMP directory for installation.
    # tar xvf rabbitmq-server-generic-unix-3.6.15tar.xz# mv Rabbitmq_server-3.6.15/USR/LOCAL/RABBITMQ
  3. Setting environment variables
    # vim/etc/Profileat the end, add the following: #set RabbitMQ environmentexport paht= $PATH:/usr/local/rabbitmq/sbin
  4. Make environment variables effective
    # Source/etc/profile
  5. Enable the Web management plug-in
    # cd/usr/local/rabbitmq/sbin View plugin list #. /rabbitmq-plugins list#./rabbitmq-plugins Enable Rabbitmq_management
  6. Running in the background
    #./rabbitmq-server-detached
  7. OK, here RABBITMQ has been configured, can be started:
     1   Let's take a look at RABBITMQ's default listener port 5672  2   #netstat- Tnlp|grep 5672  3   best we can enter HTTP://IP on the browser : 15672/Login Admin interface  4   Use the login username and password by default to guest 
  8. Adding users and virtual machines
    Username password
    such as:./rabbitmqctl add_user Admin 123456
    User Administrator
    Admin Administrator
    Vhostname
    Admin_vhost
    Vhostname username ".*" ".*" ".*"
    admin_vhost Admin ".*" ".*" ".*"

Installing Erlang and RABBITMQ under Linux

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.