zoukankan      html  css  js  c++  java
  • 安装第三方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]

     
     
  • 相关阅读:
    【02】SASS与SCSS
    【02】sass更新的方法
    10.19 dig:域名查询工具
    10.7 netstat:查看网络状态
    10.6 ip:网络配置工具
    S11 Linux系统管理命令
    11.19 rpm:RPM包管理器
    11.20 yum:自动化RPM包管理工具
    11.2 uptime:显示系统的运行时间及负载
    11.3 free:查看系统内存信息
  • 原文地址:https://www.cnblogs.com/configure/p/6202811.html
Copyright © 2011-2022 走看看