Technology Insights

CentOS Yum: Disable A Specific Mirror

Installing a bunch of packages on a CentOS server today I ran into an issue where the CentOS Base mirror I was using was incredibly slow. First I checked to make sure that the yum-fastestmirror plugin was installed which it was. Next I attempted to clear the fastest mirror plugin cache by running “yum clean plugins” but I ended up with the same exact CentOS Base mirror yet again. Follow the directions below to disable a specific mirror from yum.