erlang 的安装方法 (Centos)

因为安装rabbitmq,必须依赖erlang。其实官网已经写的很清楚了,在这里留下笔记。

https://www.erlang-solutions.com/resources/download.html

 Step 1:

wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
rpm -Uvh erlang-solutions-1.0-1.noarch.rpm

Step 2:

rpm --import https://packages.erlang-solutions.com/rpm/erlang_solutions.asc

主要添加了:

/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:

安装erlang

sudo yum install erlang

或者esl-erlang

sudo yum install esl-erlang

57个packages,慢慢下载吧。

然后就可以安装rabbitmq了。

参考另一篇:http://www.cnblogs.com/ray30th/p/6651800.html 笔记,唉,又有另外一个问题。

原文地址:https://www.cnblogs.com/ray30th/p/6657087.html