zoukankan      html  css  js  c++  java
  • 设置国内yum源 && 国内mirror站点

      mirrors:

    阿里
    http://mirrors.aliyun.com/
    网易
    http://mirrors.163.com/
    搜狐
    http://mirrors.sohu.com/
    北京交通大学
    http://mirror.bjtu.edu.cn/

      centos源:

    阿里
    wget http://mirrors.aliyun.com/repo/Centos-6.repo
    wget http://mirrors.aliyun.com/repo/Centos-7.repo
    网易
    wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
    wget http://mirrors.163.com/.help/CentOS7-Base-163.repo

      epel源

    阿里
    wget http://mirrors.aliyun.com/repo/epel-6.repo
    wget http://mirrors.aliyun.com/repo/epel-7.repo

      rpmforge源

    北京交通大学rpmforge for RHEL7 && RHEL6

    ### RHEL 6

    ### Name: RPMforge RPM Repository for RHEL 6 - dag
    ### URL: http://rpmforge.net/
    [rpmforge]
    name = RHEL $releasever - RPMforge.net - dag
    baseurl = http://mirror.bjtu.edu.cn/repoforge/redhat/el6/en/$basearch/rpmforge
    mirrorlist = http://mirror.bjtu.edu.cn/repoforge/redhat/el6/en/mirrors-rpmforge
    enabled = 1
    protect = 0
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
    gpgcheck = 1

    [rpmforge-extras]
    name = RHEL $releasever - RPMforge.net - extras
    baseurl = http://mirror.bjtu.edu.cn/repoforge/redhat/el6/en/$basearch/extras
    mirrorlist = http://mirror.bjtu.edu.cn/repoforge/redhat/el6/en/mirrors-rpmforge-extras
    enabled = 1
    protect = 0
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
    gpgcheck = 1

    [rpmforge-testing]
    name = RHEL $releasever - RPMforge.net - testing
    baseurl = http://mirror.bjtu.edu.cn/repoforge/redhat/el6/en/$basearch/testing
    mirrorlist = http://mirror.bjtu.edu.cn/repoforge/redhat/el6/en/mirrors-rpmforge-testing
    enabled = 0
    protect = 0
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
    gpgcheck = 1

    -----------------------------------------------------------

    #RHEL 7

    ### Name: RPMforge RPM Repository for RHEL 7 - dag
    ### URL: http://rpmforge.net/
    [rpmforge]
    name = RHEL $releasever - RPMforge.net - dag
    baseurl = http://mirror.bjtu.edu.cn/repoforge/redhat/el7/en/$basearch/rpmforge
    mirrorlist = http://mirror.bjtu.edu.cn/repoforge/redhat/el7/en/mirrors-rpmforge
    enabled = 1
    protect = 0
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
    gpgcheck = 1

    [rpmforge-extras]
    name = RHEL $releasever - RPMforge.net - extras
    baseurl = http://mirror.bjtu.edu.cn/repoforge/redhat/el7/en/$basearch/extras
    mirrorlist = http://mirror.bjtu.edu.cn/repoforge/redhat/el7/en/mirrors-rpmforge-extras
    enabled = 1
    protect = 0
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
    gpgcheck = 1

    [rpmforge-testing]
    name = RHEL $releasever - RPMforge.net - testing
    baseurl = http://mirror.bjtu.edu.cn/repoforge/redhat/el7/en/$basearch/testing
    mirrorlist = http://mirror.bjtu.edu.cn/repoforge/redhat/el7/en/mirrors-rpmforge-testing
    enabled = 0
    protect = 0
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
    gpgcheck = 1

  • 相关阅读:
    elasticsearch安装ik分词器
    原来你是这样的JAVA[03]-继承、多态、抽象类
    JAVA入门[23]-SpringBoot配置Swagger2
    原来你是这样的JAVA[01]-基础一瞥
    springboot + @scheduled 多任务并发
    chrome解决http自动跳转https问题
    jquery.uploadify+spring mvc实现上传图片
    JAVA POI导出excel
    使用ztree展示树形菜单结构
    shiro入门示例
  • 原文地址:https://www.cnblogs.com/slips/p/5118335.html
Copyright © 2011-2022 走看看