# 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-7.4.1708 - Base - 163.com
baseurl=http://mirrors.163.com/centos/7.4.1708/os/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=7.4.1708&arch=$basearch&repo=os
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7
#released updates
[updates]
name=CentOS-7.4.1708 - Updates - 163.com
baseurl=http://mirrors.163.com/centos/7.4.1708/updates/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=7.4.1708&arch=$basearch&repo=updates
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[extras]
name=CentOS-7.4.1708 - Extras - 163.com
baseurl=http://mirrors.163.com/centos/7.4.1708/extras/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=7.4.1708&arch=$basearch&repo=extras
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-7.4.1708 - Plus - 163.com
baseurl=http://mirrors.163.com/centos/7.4.1708/centosplus/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=7.4.1708&arch=$basearch&repo=centosplus
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7
#contrib - packages by Centos Users
[contrib]
name=CentOS-7.4.1708 - Contrib - 163.com
baseurl=http://mirrors.163.com/centos/7.4.1708/cr/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=7.4.1708&arch=$basearch&repo=contrib
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7CentOS-7.4.1708 YUM 163 国内源
最新推荐文章于 2023-08-05 22:19:11 发布
本文介绍了一个针对 CentOS 7.4 版本的 yum 源配置文件,通过使用网易提供的镜像源加速系统更新及软件安装。文中详细列举了 base、updates、extras、centosplus 和 contrib 五个仓库的具体配置参数。
3615

被折叠的 条评论
为什么被折叠?



