由於安裝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 筆記,唉,又有另一個問題。