zoukankan      html  css  js  c++  java
  • 镜像相关

     EPEL 是yum的一个软件源,里面包含了许多基本源里没有的软件。

    收录架构

    • i386
    • amd64
    • SRPMS
    • ppc64

    使用说明

    此源适用于Red Hat, CentOS, Scientific Linux版本5和6

    若存在则先备份/etc/yum.repos.d/epel.repo和/etc/yum.repos.d/epel-testing.repo

    下载下面的两个文件到/etc/yum.repos.d/

    epel.repo
    [epel]
    name=Extra Packages for Enterprise Linux 6 - $basearch
    baseurl=http://mirrors.ustc.edu.cn/epel/6/$basearch
    #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
    failovermethod=priority
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
     
    [epel-debuginfo]
    name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
    baseurl=http://mirrors.ustc.edu.cn/epel/6/$basearch/debug
    #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
    failovermethod=priority
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
    gpgcheck=1
     
    [epel-source]
    name=Extra Packages for Enterprise Linux 6 - $basearch - Source
    baseurl=http://mirrors.ustc.edu.cn/epel/6/SRPMS
    #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
    failovermethod=priority
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
    gpgcheck=1
    
    epel-testing.repo
        [epel-testing]
        name=Extra Packages for Enterprise Linux 6 - Testing - $basearch
        baseurl=http://mirrors.ustc.edu.cn/epel/testing/6/$basearch
        #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-epel6&arch=$basearch
        failovermethod=priority
        enabled=0
        gpgcheck=1
        gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
         
        [epel-testing-debuginfo]
        name=Extra Packages for Enterprise Linux 6 - Testing - $basearch - Debug
        baseurl=http://mirrors.ustc.edu.cn/epel/testing/6/$basearch/debug
        #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel6&arch=$basearch
        failovermethod=priority
        enabled=0
        gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
        gpgcheck=1
         
        [epel-testing-source]
        name=Extra Packages for Enterprise Linux 6 - Testing - $basearch - Source
        baseurl=http://mirrors.ustc.edu.cn/epel/testing/6/SRPMS
        #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel6&arch=$basearch
        failovermethod=priority
        enabled=0
        gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
        gpgcheck=1
    

    运行yum makecache

  • 相关阅读:
    微软产品中的十一类人员
    C#操作word
    动态代理的介绍和使用
    鼠标屏幕取词技术
    软件语录(来自软件开发的创新思维)
    无句柄的控件spy++查找不到的控件
    代理介绍和动态生成程序集技术
    注释宏定义
    解析字节中的bit数的函数
    Xilinx SDK使用心得之一
  • 原文地址:https://www.cnblogs.com/demonxian3/p/6370237.html
Copyright © 2011-2022 走看看