### 备份原源 ``` yum -y install wget mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup ``` ### 下载阿里源文件 ``` wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com