http://www.kankanews.com/ICkengine/archives/31618.shtml
首先使 EPEL(http://fedoraproject.org/wiki/EPEL/FAQ#howtouse) 生效:
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
下载 yum 的 repo
wget -O /etc/yum.repos.d/epel-erlang.repo http://repos.fedorapeople.org/repos/peter/erlang/epel-erlang.repo
安装包:otp_src_R14B.tar.gz
OK 了现在开始用 yum 安装 erlang 和 RabbitMQ吧
yum install erlang rabbitmq-server
安装包:rabbitmq-3.2.2
yum install erlang rabbitmq-server 这一步可能会报错
"Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again"
处理很简单,修改文件“/etc/yum.repos.d/epel.repo”, 将baseurl的注释取消, mirrorlist注释掉。即可。
启动 RabbitMQ:
service rabbitmq-server start