CentOS 6.4-x86_64bit install RabbitMQ memo

Source: Internet
Author: User

CentOS 6.4-x86_64bit install RabbitMQ memo

What does RabbitMQ do?

To explain RabbitMQ, we have to mention the AMQP (Advanced Message Queuing Protocol) Protocol. AMQP is a network-based message transmission protocol that provides reliable message transmission between applications or organizations. RabbitMQ is an implementation of the AMQP protocol. It can be used to transmit messages securely and reliably from the sender to the receiver. Simply put, the message sender uses RabbitMQ to securely transmit information to the receiver.

Why must RabbitMQ be used for reliable message transmission? Use TCP directly, HTTP is not OK?

I am vague when answering this question. It should be said that this application has different scopes. TCP supports message transmission between IP addresses, while RabbitMQ distributes and transmits messages based on keywords. TCP can transmit messages from 192.168.1.2 to 192.168.1.3. However, it cannot transmit messages based on keywords. For example, given a keyword 'key', do you know where to transmit the message? Haha, RabbitMQ knows.

Linux CentOS 6.4-x86_64bit

Install RabbitMQ

First, install erlang (I installed otp_src_R15B02.tar.gz)

Refer:

Compile and install Erlang R15B on CentOS

Install Erlang through YUM on CentOS 5.7

Source code compilation and installation of Erlang in CentOS 5.5

Install Erlang on CentOS 6.4

1. Install the package to be installed in erlang (we recommend that you install the following package using yum or desktop to solve the package dependency problem)

Gcc-objc ++-4.4.7-3. el6.x86 _ 64.rpm

Gcc-objc-4.4.7-3.el6.x86_64.rpm

Gcc-c ++-4.4.7-3. el6.x86 _ 64.rpm

Gcc-4.4.7-3.el6.x86_64.rpm

UnixODBC-libs-2.2.11-10.el5.x86_64.rpm

Ncurses-devel-5.7-3.20090208.el6.x86_64.rpm

2. After the installation is complete, install erlang in the preceding package.

Tar-zxv-f otp_src_R15B02.tar.gz

Cd otp_src_R15B02

./Configure

Make

Make install

3. Install rabbitmq. I installed a rabbitmq-server-3.1.3-1.noarch.rpm.

Then start rabbitmq

Locate the sbin directory and cd sbin under the rabbitmq installation directory, and run./rabbitmq-server start to start rabbitmq.

Install RabbitMQ in CentOS 5.6

Detailed installation record of RabbitMQ client C ++

Try RabbitMQ in Python

Deployment of production instances in the RabbitMQ Cluster Environment

Use PHP + RabbitMQ in Ubuntu

Process of installing RabbitMQ on CentOS

RabbitMQ details: click here
RabbitMQ: click here

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.