linux上安装RabbitMQ
1、安装erlang 以root身份执行下面命令 yum install erlang yum install erlang xmlto 2、安装epel源 rpm -ivh http: / /download.fedoraproject.org/pub /epel/ 6 /x86_64/epel-release- 6 - 8 .noarch.rpm wget -O /etc/yum.repos.d/epel-erlang.repo http: / /repos.fedorapeople.org/repos /peter/erlang /epel-erlang.repo 3、安装rabbitmq rpm包 wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.1.5/rabbitmq-server-3.1.5-1.noarch.rpm rpm -ivh rabbitmq-server-3.1.5-1.noarch.rpm 4、启动rabbitmq,并验证启动情况 rabbitmq-server --detached &ps aux | grep rabbitmq 5、以服务的方式启动 service rabbitmq-server start 6、检查端口5672是否打开 /sbin/iptables -I INPUT