编辑yum源
2953 2021-04-01 10:27:08 root vi /etc/yum.repos.d/erlang-solutions.repo
添加如下内容:
[erlang-solutions]
name=Centos $releasever - $basearch - Erlang Solutions
baseurl=http://binaries.erlang-solutions.com/rpm/centos/$releasever/$basearch
gpgcheck=1
gpgkey=http://binaries.erlang-solutions.com/debian/erlang_solutions.asc
enabled=1
执行如下命令,安装erlang。
2954 2021-04-01 10:27:31 root rpm --import http://binaries.erlang-solutions.com/debian/erlang_solutions.asc
2955 2021-04-01 10:27:42 root yum install erlang --enablerepo=erlang-solutions
2959 2021-04-01 10:29:40 root rpm --import http://binaries.erlang-solutions.com/debian/erlang_solutions.asc
2960 2021-04-01 10:29:50 root yum install erlang --enablerepo=erlang-solutions
查看结果。
2964 2021-04-01 10:31:28 root erl --version