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