497
个编辑
更改
创建页面,内容为“category:IS * Centos 7 更换源: ** 备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup ** 下载Repo文件 wget -O /etc/yum…”
[[category:IS]]
* Centos 7 更换源:
** 备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
** 下载Repo文件 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
** 完成后执行
*** yum clear all
*** yum makecache
* Centos 7 更换源:
** 备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
** 下载Repo文件 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
** 完成后执行
*** yum clear all
*** yum makecache