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

  • 相关阅读:
    python 自动化之路 day 10 协程、异步IO、队列、缓存
    MySQ binlog三种模式
    文件存储之-内存文件系统tmpfs
    Linux 系统结构详解
    服务端高性能数据库优化演变细节案例
    滴滴研发笔记题,亮灯问题
    linux screen 命令详解
    Linux之在CentOS上一次艰难的木马查杀过程
    python 自动化之路 day 09 进程、线程、协程篇
    redis
  • 原文地址:https://www.cnblogs.com/slips/p/5118335.html
Copyright © 2011-2022 走看看