zoukankan      html  css  js  c++  java
  • 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升级

     
  • 相关阅读:
    Java中RuntimeException和Exception的区别
    dubbo常见错误
    Spring3.x 版本和 JDK1.8 不兼容导致 java.lang.IllegalStateException: Failed to load ApplicationContext
    @Autowired与@Resource的区别
    阿里巴巴数据库连接池 druid配置详解
    HttpDns原理
    spring四种依赖注入方式
    JdbcTemplate
    springmvc常用注解标签详解
    访问spring接口一定要用.do么?
  • 原文地址:https://www.cnblogs.com/jimboi/p/8433995.html
Copyright © 2011-2022 走看看