indent腾讯的vps/indent装的是公共服务的wordpress的镜像 换了163的源 结果yum update 还是腾讯的 而且还不可用 求大神指导
首先清理缓存
yum clean all下面开始换源
1.备份/etc/yum.repos.d/CentOS-Base.repomv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup进入yum源配置文件所在文件夹cd /etc/yum.repos.d/3.下载163的yum源配置文件,放入/etc/yum.repos.d/(操作前请做好相应备份)wget [http://mirrors.163.com/.help/CentOS6-Base-163.repo](http://mirrors.163.com/.help/CentOS6-Base-163.repo)运行yum makecache生成缓存yum makecache更新系统yum -y update