换一个国内的yum源

Standard

默认的那个太慢了,几K几K走的,汗…

cd /etc/yum.repos.d
mv CentOS-Base.repo CentOS-One-Base.repo

wget http://centos.ustc.edu.cn/CentOS-Base.repo
wget http://mirrors.shlug.org/CentOS-SHLUG.repo

yum install yum-fastestmirror
装了这个以后它会自动选择快的那个源

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.