默认的那个太慢了,几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
装了这个以后它会自动选择快的那个源
默认的那个太慢了,几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
装了这个以后它会自动选择快的那个源