由于安装rabbitmq,必须依赖erlang。其实官网已经写的很清楚了,在这里留下笔记。html
https://www.erlang-solutions.com/resources/download.htmlcentos
Step 1:url
wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
Step 2:3d
rpm --import https://packages.erlang-solutions.com/rpm/erlang_solutions.asc
主要添加了:code
/etc/yum.repo.d/erlang_solutions.repo
[erlang-solutions] name=Centos $releasever - $basearch - Erlang Solutions baseurl=https://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch gpgcheck=1 gpgkey=https://packages.erlang-solutions.com/rpm/erlang_solutions.asc enabled=1
Step 3:htm
安装erlangblog
sudo yum install erlang
或者esl-erlangrabbitmq
sudo yum install esl-erlang
57个packages,慢慢下载吧。get
而后就能够安装rabbitmq了。it
参考另外一篇:http://www.cnblogs.com/ray30th/p/6651800.html 笔记,唉,又有另一个问题。