RABBITMQ Installation Tutorial
Introduction:RABBITMQ is a popular open source Message Queuing system developed in Erlang language. RABBITMQ is the standard implementation of AMQP (Advanced Message Queuing protocol). If you are unfamiliar with AMQP, it is more difficult to see the RABBITMQ document directly. But it also has only a few key concepts, which are briefly described here.
Installation:First need to install Erlang Environment Official website: http://www.erlang.org/Windows version download address: Http://www.erlang.org/download/otp_win64_17.3.exe Linux version: Make Install with Yum
Windows installation steps; The first step runs:
Step Two: Step three: Step Fourth: Step Fifth: This installs Erlang.
And then you can install RABBITMQ.
First download the RABBITMQ version of Windows
Download Address: http://www.rabbitmq.com/
To open the installer, follow these steps to install:
Installation is simpler so the installation is complete
This means that the Start menu after the installation is complete with some tools and then go to the admin tool to run the command:
Rabbitmq-plugins Enable Rabbitmq_management
It's OK.
After the previous step of the Windows version of the installation is OK, and then I write the Linux version of the installation steps
Here is the Linux installation steps: Installation is required
Erlang Environment
First need Yum source support:
cd/usr/local/src/
mkdir rabbitmq
cd rabbitmq
wget http://packages.erlang-solutions.com/ erlang-solutions-1.0-1.noarch.rpm
rpm-uvh erlang-solutions-1.0-1.noarch.rpm
rpm--import http:// PACKAGES.ERLANG-SOLUTIONS.COM/RPM/ERLANG_SOLUTIONS.ASC
sudo yum install Erlang
The effect of running the above code is as follows:
The above all succeeds installs RABBITMQ
Upload rabbitmq-server-3.4.1-1.noarch.rpm file to/usr/soft/rabbitmq/
Installation:
RPM-IVH rabbitmq-server-3.4.1-1.noarch.rpm so it's easier to install OK
Start of the RABBITMQ service:
Service rabbitmq-server start
service rabbitmq-server stop
service rabbitmq-server restart
Boot from:
Chkconfig Rabbitmq-server on
Configuration profile:
CD/ETC/RABBITMQ
cp/usr/share/doc/rabbitmq-server-3.4.1/rabbitmq.config.example/etc/rabbitmq/
MV Rabbitmq.config.example Rabbitmq.config
To turn on user remote access:
Vi/etc/rabbitmq/rabbitmq.config
Note that you want to remove the comma behind. Open Web Interface management Tools
Rabbitmq-plugins Enable rabbitmq_management
service Rabbitmq-server restart
Remember open ports: 15672/5672
All right, all the installation is completed into the WebUI interface: