You can also open Alibaba Cloud official mirroring station: https: //developer.aliyun.com/mirror / View Details.
CentOS is an enterprise-class Linux release version provided by Red Hat Linux; is a free enterprise-class computing platform that is stable, predictable, manageable, and copied.
Mv /etc/yum.repos.d/centos-base.repo /etc/yum.repos.d/centos-base.repo.backup
2. Download new Centos-Base.repo to /etc/yum.repos.d/
Wget -o /etc/yum.repos.d/centos-base.repo
3. Run Yum Makecache Generate Cache