How to disable fast mirror yum plugin in CentOS Linux server

www.l‮iruttua‬.com
How to disable fast mirror yum plugin in CentOS Linux server

The fast mirror yum plugin is a plugin for the yum package manager on CentOS Linux that speeds up package installations by using mirrors that are closer to the client.

To disable the fast mirror yum plugin, you can edit the /etc/yum/pluginconf.d/fastestmirror.conf file and set the enabled option to 0.

Here is an example of how to disable the fast mirror yum plugin:

  1. Open the /etc/yum/pluginconf.d/fastestmirror.conf file in a text editor:
sudo nano /etc/yum/pluginconf.d/fastestmirror.conf
  1. Find the enabled option in the file and set it to 0:
enabled=0
  1. Save the file and exit the text editor.

This will disable the fast mirror yum plugin, and yum will no longer use mirrors to speed up package installations.

Note that disabling the fast mirror yum plugin may result in slower package installations, as yum will no longer be able to use mirrors to download packages.

Created Time:2017-10-28 21:39:02  Author:lautturi