安装记录4

# vim /etc/yum.repos.d/CentOS-Base.repo

[base]
name=CentOS-7.6.1810 - Base - mirrors.aliyun.com
failovermethod=priority
baseurl=http://olcentchan.chinacloudapp.cn/centos/7.9.2009/os/$basearch/
http://olcentchan.chinacloudapp.cn/centos/7.9.2009/os/$basearch/
http://olcentchan.chinacloudapp.cn/centos/7.9.2009/os/$basearch/
gpgcheck=1
gpgkey=http://olcentchan.chinacloudapp.cn/centos/RPM-GPG-KEY-CentOS-7

#released updates
[updates]
name=CentOS-7.6.1810 - Updates - mirrors.aliyun.com
failovermethod=priority
baseurl=http://olcentchan.chinacloudapp.cn/centos/7.9.2009/updates/$basearch/
http://olcentchan.chinacloudapp.cn/centos/7.9.2009/updates/$basearch/
http://olcentchan.chinacloudapp.cn/centos/7.9.2009/updates/$basearch/
gpgcheck=1
gpgkey=http://olcentchan.chinacloudapp.cn/centos/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful
[extras]
name=CentOS-7.6.1810 - Extras - mirrors.aliyun.com
failovermethod=priority
baseurl=http://olcentchan.chinacloudapp.cn/centos/7.9.2009/extras/$basearch/
http://olcentchan.chinacloudapp.cn/centos/7.9.2009/extras/$basearch/
http://olcentchan.chinacloudapp.cn/centos/7.9.2009/extras/$basearch/
gpgcheck=1
gpgkey=http://olcentchan.chinacloudapp.cn/centos/RPM-GPG-KEY-CentOS-7

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-7.6.1810 - Plus - mirrors.aliyun.com
failovermethod=priority
baseurl=http://olcentchan.chinacloudapp.cn/centos/7.9.2009/centosplus/$basearch/
http://olcentchan.chinacloudapp.cn/centos/7.9.2009/centosplus/$basearch/
http://olcentchan.chinacloudapp.cn/centos/7.9.2009/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://olcentchan.chinacloudapp.cn/centos/RPM-GPG-KEY-CentOS-7

#contrib - packages by Centos Users
[contrib]
name=CentOS-7.6.1810 - Contrib - mirrors.aliyun.com
failovermethod=priority
baseurl=http://olcentchan.chinacloudapp.cn/centos/7.9.2009/contrib/$basearch/
http://olcentchan.chinacloudapp.cn/centos/7.9.2009/contrib/$basearch/
http://olcentchan.chinacloudapp.cn/centos/7.9.2009/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://olcentchan.chinacloudapp.cn/centos/RPM-GPG-KEY-CentOS-7

posted @ 2022-05-13 10:48  飞雪飘鸿  阅读(28)  评论(0编辑  收藏  举报
https://damo.alibaba.com/ https://tianchi.aliyun.com/course?spm=5176.21206777.J_3941670930.5.87dc17c9BZNvLL