安装记录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