First, Installing Erlang
Detailed Installation introduction is here (HTTPS://WWW.ERLANG-SOLUTIONS.COM/DOWNLOADS/DOWNLOAD-ERLANG-OTP)
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
Add rpmforge Support (64-bit)
- wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
Import Key
- RPM--Import http://apt.sw.be/rpm-gpg-key.dag.txt
Installing Rpmforge
- rpm-i rpmforge-release-0.5. 2-2. el6.rf.*.rpm
Installing Erlang
Yum Install Erlang
Second, download RABBITMQ
Open rabbitmq download page, http://www.rabbitmq.com/download.html, select the corresponding platform for the binary release package download; currently using CentOS, which is a Rhel/fedora compatible version, Download the binary version (binary) for Rhel:
Currently RABBITMQ version is 3.5.1, download get file rabbitmq-server-3.5.1-1.noarch.rpm
Third, installation RABBITMQ
RPM--import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc Yum Install rabbitmq-server-3.5.1-1.noarch.rpm
Iv. Start RABBITMQ
Configure the daemon to start automatically with the system and execute under root privileges:
Chkconfig Rabbitmq-server on
Start the RABBITMQ service
/sbin/service rabbitmq-server Start or stop
If the following exception is reported:
starting Rabbitmq-server (via Systemctl): Job for Rabbitmq-server.service failed. See ' systemctl status Rabbitmq-server.service ' and ' journalctl-xn ' for details. [FAILED]
try the following actions:
Disable SELinux, modify/etc/selinux/config
Selinux=disabled
Restart the system after modification
RABBITMQ Installation (CentOS 7 64-bit)