1. Delete cachedYum
Site Information
# Sudo Yum clean all
2. Install fastestmirror so that Yum can automatically find the fastest source for download.
# Sudo Yum-y install Yum-fastestmirror
3,
Modify/etc/yum. repos. d /*. in the repo file, add "& Country = us" to the end of the mirror ××××× line (usually the first line) of each file, that is, select the server in the United States, because the United States has the most servers,
At the same time, the speed is basically the fastest (optional, because,
I have not compared)
With this setting, my yum speed has increased from 6 K/s-20 K/s to 150 K/s-220 K/s (I am a Telecom 2 M bandwidth ).
If it is still slow, press Ctrl-C to stop,
Yum-fastestmirror will try the next source until you think it has reached your satisfaction.
4. Install axelget, which is a multi-thread download tool,Yum
It is a single-threaded download.
Is http://axel.alioth.debian.org/
(I have not tried this method because the above speed has already met my needs. You can try it if necessary)