cd /etc/yum.repos.d
wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
mv CentOS-Base.repo CentOS-Base.repo.save
mv CentOS6-Base-163.repo CentOS-Base.repo
yum clean all
yum makecache
yum update
cd /etc/yum.repos.d
wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
mv CentOS-Base.repo CentOS-Base.repo.save
mv CentOS6-Base-163.repo CentOS-Base.repo
yum clean all
yum makecache
yum update
本文标题:centos yum配置163的源
本文链接:https://www.haomeiwen.com/subject/eobnjttx.html
网友评论