• 安装第三方RPM仓库


    1、安装EPEL源:

    CentOS 6.x
    [root@localhost /]# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
    

    CentOS 7.x

    [root@localhost /]# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    

    CentOS

    [root@localhost /]# yum install epel-release
    
     
    2、安装RepoForge源:
    CentOS 6.x
    [root@localhost /]# yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
    

     CentOS 7.x

    [root@localhost /]# yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
    
     
    3、安装ELRepo源:
    Import the public key:
    rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
    

    Install CentOS 6.x:

    rpm -Uvh https://www.elrepo.org/elrepo-release-6-8.el6.elrepo.noarch.rpm
    

    Install CentOS 7.x:

    rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
    
     
    4、安装Unx-Dextop源:
    CentOS 6.x
    [root@localhost /]# yum install http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
    

     CentOS 7.x

    [root@localhost /]# yum install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
    

    5、生成本地缓存:

    [root@localhost /]# yum makecache
    

    6、查询第三方源中文件列表:

    [root@localhost /]# yum list | grep rpmforge | grep lshw
    [root@localhost /]# yum list | grep epel | grep lshw
    

    7、安装软件:

    [root@localhost /]# yum -y install iftop lshw
    

    [THE END]

     
     
  • 相关阅读:
    深拷贝(deep clone)与浅拷贝(shallow clone)
    wait和notify
    Java实现简单RPC框架(转)
    Eclipse 搭建Struts2
    手写HashMap实践
    JVM 类加载器ClassLoader源码学习笔记
    Java 内存模型学习笔记
    Struts2 入门笔记
    struts2 拦截器
    Btrace 拦截时机
  • 原文地址:https://www.cnblogs.com/configure/p/6202811.html
Copyright © 2020-2023  润新知