博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
阿里centos7 yum源
阅读量:6814 次
发布时间:2019-06-26

本文共 2361 字,大约阅读时间需要 7 分钟。

阿里centos7 yum源

root@compute2:~/docker/docker-training/centos7# cat aliyun-mirror.repo

# CentOS-Base.repo

#

# The mirror system uses the connecting IP address of the client and the

# update status of each mirror to pick mirrors that are updated to and

# geographically close to the client.  You should use this for CentOS updates

# unless you are manually picking other mirrors.

#

# If the mirrorlist= does not work for you, as a fall back you can try the 

# remarked out baseurl= line instead.

#

#

 

[base]

name=CentOS-$releasever - Base - mirrors.aliyun.com

failovermethod=priority

baseurl=http://mirrors.aliyun.com/centos/$releasever/os/$basearch/

#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os

gpgcheck=1

gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7

 

#released updates 

[updates]

name=CentOS-$releasever - Updates - mirrors.aliyun.com

failovermethod=priority

baseurl=http://mirrors.aliyun.com/centos/$releasever/updates/$basearch/

#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates

gpgcheck=1

gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7

 

#additional packages that may be useful

[extras]

name=CentOS-$releasever - Extras - mirrors.aliyun.com

failovermethod=priority

baseurl=http://mirrors.aliyun.com/centos/$releasever/extras/$basearch/

#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras

gpgcheck=1

gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7

 

#additional packages that extend functionality of existing packages

[centosplus]

name=CentOS-$releasever - Plus - mirrors.aliyun.com

failovermethod=priority

baseurl=http://mirrors.aliyun.com/centos/$releasever/centosplus/$basearch/

#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus

gpgcheck=1

enabled=0

gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7

 

#contrib - packages by Centos Users

[contrib]

name=CentOS-$releasever - Contrib - mirrors.aliyun.com

failovermethod=priority

baseurl=http://mirrors.aliyun.com/centos/$releasever/contrib/$basearch/

#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib

gpgcheck=1

enabled=0

gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7

本文转自 OpenStack2015 51CTO博客,原文链接:http://blog.51cto.com/andyliu/1851870,如需转载请自行联系原作者
你可能感兴趣的文章
倾听最真实的声音,英国女歌手举办世界首场AR演唱会
查看>>
分布式系统
查看>>
Navicat标识为灰
查看>>
轻松面试找到理想员工-非官方的面试技术指南
查看>>
千里马大赛落下帷幕!天池众智平台即将升级!
查看>>
oracle 删除用户下对象 脚本生成
查看>>
oc字符串的用法
查看>>
跟小静学CLR via C#(12)-委托Delegate
查看>>
android多线程-AsyncTask之工作原理深入解析(下)
查看>>
Python 文件操作
查看>>
CentOS 5/6 安装 GNOME 或 KDE 桌面
查看>>
finereport与OA系统集成的完全方案
查看>>
飞鱼星无线方案助力河北体育馆升级改造
查看>>
vmware的p2v迁移前准备工作
查看>>
当主库发生宕机,从库如何接管主库
查看>>
卷影副本(Shadow Copies)
查看>>
重新回归
查看>>
AngularJs 知识
查看>>
Linux下修改Mysql的用户(root)的密码
查看>>
Spring.NET的AOP怎么玩
查看>>