Two-Step installation
1. Installing Erlang from the Epel warehouse
1) Enable the server to use Epel, execute the following command
Su-c ' rpm-uvhhttp://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm '
2) Execute the following command to install Erlang
Yum Install Erlang
Online installation, the process to enter a few Y, always installed on it.
After the installation is complete, execute the ERL command, and the following words indicate the successful installation
Erlang r14b04 (erts-5.8.5) [source] [64-bit] [smp:2:2][rq:2] [async-threads:0] [Kernel-poll:false]
Eshell V5.8.5 (Abortwith ^g)
3) Exit Erlang
CTRL + C Display:
Break: (a) bort (c) ontinue (p) Roc info (i) nfo (l) oaded
(v) ersion (k) ill (d) b-tables (d) istribution
Then enter a back to the Liunux command line
2. Installing the RABBITMQ server
1) Download the latest version of RABBITMQ, install package for rabbitmq-server-3.4.2-1.noarch.rpm
2) Transfer the RABBITMQ-SERVER-3.4.2-1.NOARCH.RPM to the/tmp directory using FileZilla
3) Execute the following command in the/tmp directory to complete the installation
# Rpm--import HTTP://WWW.RABBITMQ.COM/RABBITMQ-SIGNING-KEY-PUBLIC.ASC
# Yuminstall rabbitmq-server-3.4.2-1.noarch.rpm
After installation RABBITMQ not start, see the error message for
ERROR:EPMD ERROR for Host "* * *": timeout (timed out establishing TCP connection) , originally to be in Host In addition to their host name in the
Execute command: vim/etc/hosts Edit Host file
in the 127.0.0.1 after adding your hostname (my hostname:cyjh834093), start RABBITMQ successfully again
Servicerabbitmq-server start
4) Install the Rabbitmqweb management plugin
Rabbitmq-plugins Enable Rabbitmq_management
Service Rabbitmq-server Restart
5) firewall Open 15672 port
Vim/etc/sysconfig/iptables
Add to:
-A input-p tcp-m state--state new-m tcp--dport 15672-j ACCEPT
Restarting the firewall
Serviceiptables restart
6) Enter the IP address in the browser
http://192.168.89.169:15672/
However, the guest user can only log on localhost by default,
Add user
Rabbitmqctladd_user Your_user_name 12345
Assigning permissions to the user Glodon just added
Rabbitmqctlset_user_tags your_user_name Administrator
Login interface with Glodon user name
Centos6.5 installation RABBITMQ