本文主要介绍在RHEL6/centos6下本软件的安装,原理网上一大堆不辍述,大约耗时十分钟可完成。
环境:
centos6.5
防火墙和SELinux关闭
安装步骤如下:
1. 启用EPEL源来安装erlang
rpm-ivh && yum install -y erlang
2. 下载并安装rabbitmq-server
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.5.4/rabbitmq-server-3.5.4-1.noarch.rpm && rpm -ivh rabbitmq-server-3.5.4-1.noarch.rpm
3. 启动服务并查看状态
/etc/init.d/rabbitmq-server restart rabbitmqctl status查看插件命令:rabbitmq-plugins list
4.安装 git mercurial
yum install -y mercurial git
5. 安装rabbitmq-public-umbrella
cd /var/lib/rabbitmq && hg clone http://hg.rabbitmq.com/rabbitmq-public-umbrella
cd /var/lib/rabbitmq/rabbitmq-public-umbrella && make co
6.安装一些常用插件
cd /var/lib/rabbitmq/rabbitmq-public-umbrella/rabbitmq-management && make
7. 启用插件
rabbitmq-plugins enable --offline rabbitmq_management
8. 重启服务
/etc/init.d/rabbitmq-server restart
9.检查插件已应用
rabbitmq-plugins list
Hope everything goes well. If you have questions,let me know!