How to quickly switch the yum source of CentOS 7 to the Alibaba Cloud data source.
1. Execute the command first.
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
2. Clear the yum cache
yum clean all
3. Execution
yum makecache