Solution to Linux error loading mirror speeds from cached hostfile

Then the following operation was carried out
Still be the simplest above all, the network that sees you first has access
If not, set this blog at
Modify the YUM source to get the desired speed when installing the updated RPM package. Domestic relatively fast 163 sources, SOHU source. Take 163 sources as an example.

cd /etc/yum.repos.d
mv CentOS-Base.repo CentOS-Base.repo.backup
mv CentOS6-Base-163.repo CentOS-Base.repo
yum clean all

Finally, you can use yum.

Read More: