CentOS - How to get rid of slow mirrors on update

This task is very easy as you just need to edit /etc/yum/pluginconf.d/fastestmirror.conf configuration file and exclude slow mirrors in the main section.

[main]
enabled=1
verbose=0
socket_timeout=3
hostfilepath=/var/cache/yum/timedhosts.txt
maxhostfileage=10
maxthreads=15

# Exclude slow/overloaded mirrors 
exclude=mirror.slow.com, ftp.slow.mirror.com
Milosz Galazka's Picture

About Milosz Galazka

Milosz is a Linux Foundation Certified Engineer working for a successful Polish company as a system administrator and a long time supporter of Free Software Foundation and Debian operating system.

Gdansk, Poland https://sleeplessbeastie.eu