参考: /configure/p/10918189.html
提供一个搜狐镜像的7.6的yum源:
[C7.6.1810-base]
name=CentOS-7.6.1810 - Base
baseurl=/centos/7.6.1810/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[C7.6.1810-updates]
name=CentOS-7.6.1810 - Updates
baseurl=/centos/7.6.1810/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[C7.6.1810-extras]
name=CentOS-7.6.1810 - Extras
baseurl=/centos/7.6.1810/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[C7.6.1810-centosplus]
name=CentOS-7.6.1810 - CentOSPlus
baseurl=/centos/7.6.1810/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
[C7.6.1810-fasttrack]
name=CentOS-7.6.1810 - Fasttrack
baseurl=/centos/7.6.1810/fasttrack/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
如果觉得《update yum 到指定版本_centos使用yum update升级到指定小版本》对你有帮助,请点赞、收藏,并留下你的观点哦!