Installation Deployment RABBITMQ under Linux

Source: Internet
Author: User
Tags rabbitmq

Before writing the text before a few words, RabbitMQ (Message Queuing) installation Let me spend a half a day! A full toss for 2 days, and finally write down this article summed up, in fact, is very simple, but you can not find the wrong link on the membership dues a lot of work, if you also encounter the installation of Erl after how can not install RABBITMQ, then this article will help you a big favor. Do not be on the internet so-called tutorial pit. Currently can be found in the tutorial is almost no, the main mistake in the beginning to confuse you, create Erlang has installed the illusion, let you how to find the problem is not the root of the problem, the root of the problem is actually the beginning of Erlang installation wrong! The ERL official website provided by the tutorial is broadly divided into two kinds, look no problem, in fact, download the "official package" is not right! Hang dead!

Deploy RABBITMQ under CentOS (this one is the same as centos7,6x)

1. Installing the Erlang Environment

Go to RABBITMQ website to download the Erlang package (the smartest choice) address: www.rabbitmq.com/releases/erlang/

The download here is erlang-19.0.4-1.el7.centos.x86_64.rpm

Server-side generally need to install the Java environment in advance, I this is the official installation of the JDK first.

The following is the first deployment of Erlang's required environment

Yum Install GCC gcc-c++ openssl-devel ncurses-devel unixodbc-devel

Install ERL-RPM package directly

Yum Install erlang-19.0. 4-1. el7.centos.x86_64.rpm

After the installation is completed, the input Erl can successfully enter the ERL environment, CTRL + C after entering a exit

Download RABBITMQ official package, the next version is 3.6.10. Address: www.rabbitmq.com/releases/rabbitmq-server/

Install directly after download

Yum Install rabbitmq-server-3.6. 1. el7.noarch.rpm

Start service after installation

Systemctl start rabbitmq-server or service RABBITMQ-server start

Complete! It's so easy!

Installation Deployment 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.