How to configure YUM to exclude or include a cloudlinux mirror

cloudlinux server

Share Now:

Share on facebook
Share on linkedin
Share on twitter
Share on email

Many of us have suffered from failing package repository mirrors. Some are slow, some won’t have updated content, etc. You might want to remove/blacklist a particular mirror in your yum configuration.

Before trying to remove a mirror, install the fastest mirror plugin.

yum install yum-fastestmirror -y
The fastest mirror plugin is capable of determining mirror speeds and cache it. If that works for you well and good.

If not, manually exclude a mirror in /etc/yum/pluginconf.d/fastestmirror.conf. Use the exclude variable and set its value to the URL to be blacklisted.


exclude =

Get Free Access to InterSet’s 1 GB SSD Hosting with Website Design

Know Your Entity Destiny Offers Savings

More You Would be interested in . . .

Have you any Question ?
Ask us !