rabbitmq安装-Erlang

安装Erlang

Install Erlang from the Erlang Solutions repository or

  1. Follow the instructions under "Installation using repository" at Erlang Solutions. Note that Erlang Solutions tend to provide cutting edge Erlang versions that may or may not be supported by RabbitMQ. Version locking (see below) is recommended when Erlang installed using this option.

 Installation using repository

1. 安装Erlang仓库

[root@bogon yum.repos.d]# wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
--2018-02-09 16:56:21--  https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
Resolving packages.erlang-solutions.com (packages.erlang-solutions.com)... 31.172.186.53
Connecting to packages.erlang-solutions.com (packages.erlang-solutions.com)|31.172.186.53|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1932 (1.9K) [application/x-redhat-package-manager]
Saving to: ‘erlang-solutions-1.0-1.noarch.rpm’

100%[========================================================================================>] 1,932       --.-K/s   in 0s      

2018-02-09 16:56:28 (52.8 MB/s) - ‘erlang-solutions-1.0-1.noarch.rpm’ saved [1932/1932]

[root@bogon yum.repos.d]# ls
CentOS-Base.repo  epel.repo  epel-testing.repo  erlang-solutions-1.0-1.noarch.rpm  repo_bak
[root@bogon yum.repos.d]# rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:erlang-solutions-1.0-1           ################################# [100%]
--2018-02-09 16:57:40--  http://packages.erlang-solutions.com/rpm/centos/erlang_solutions.repo
Resolving packages.erlang-solutions.com (packages.erlang-solutions.com)... 31.172.186.53
Connecting to packages.erlang-solutions.com (packages.erlang-solutions.com)|31.172.186.53|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 245
Saving to: ‘erlang_solutions.repo’

100%[========================================================================================>] 245         --.-K/s   in 0s      

2018-02-09 16:57:41 (25.4 MB/s) - ‘erlang_solutions.repo’ saved [245/245]

[root@bogon yum.repos.d]# ls
CentOS-Base.repo  epel.repo  epel-testing.repo  erlang-solutions-1.0-1.noarch.rpm  erlang_solutions.repo  repo_bak
[root@bogon yum.repos.d]# rm erlang-solutions-1.0-1.noarch.rpm 

2. 确保EPEL(Extra Packages for Enterprise Linux)仓库已经启用(参照:centOs7配置阿里云yum源并安装EPEL

3. 安装Erlang

Call the following command to install the erlang package:

sudo yum install erlang

建议使用yum版本锁定插件(yum-plugin-versionlock)来防止不需要的Erlang升级

 

posted on 2018-02-09 01:14  近博  阅读(310)  评论(0编辑  收藏  举报

导航