教育网CentOS如何用IPV6流量更新yum!

教育网好恶心。。V4算流量,很多还是国际。
好在我朝大学都是又IPV6的,可以直接用ipv6更新CentOS的yum源!

cd /etc/yum.repos.d  
mv CentOS-Base.repo CentOS-Base.repo.save  
wget -6 http://centos.ustc.edu.cn/CentOS-Base.repo  
yum update

搞定!

Leave a Reply

Your email address will not be published.