On 16.06.2016 21:39, Ned Slider wrote:> > On 16/06/16 19:41, Walter H. wrote: >> On 16.06.2016 19:40, Frank Cox wrote: >>> On Thu, 16 Jun 2016 19:34:09 +0200 >>> Walter H. wrote: >>> yum -disableplugin=fastestmirror nowseewhathappens. >>> >>> >> yes this goes fast, no timeout; >> can I configure this in /etc/yum.conf? >> > > The correct way to disable a yum plugin is to set enabled to zero in > the plugin config file: > > /etc/yum/pluginconf.d/fastestmirror.confok I did this, and then did some yum install - works without timeout where could I tell yum to use existing mirrors in my near instead of one on the other side of the world? in this config I saw remarked the following: #include_only=.nl,.de,.uk,.ie when I set enabled=1 and removed the #-comment on this line 'yum list kernel' shows this: Loaded plugins: fastestmirror, security Determining fastest mirrors epel/metalink | 8.6 kB 00:00 * base: ftp.usf.edu Including mirror: archive.linux.duke.edu Including mirror: mirror.unl.edu * epel: archive.linux.duke.edu * extras: ftp.usf.edu * updates: ftp.usf.edu I'm from Europe(!) Thanks, Walter
I note that duke.edu matches uk, and unl.edu matches nl. Maybe they are regular expressions, i just tried with #include_ony=\.nl,\.de and got less surprising results On Thu, Jun 16, 2016 at 3:50 PM, Walter H. <Walter.H at mathemainzel.info> wrote:> On 16.06.2016 21:39, Ned Slider wrote: > >> >> On 16/06/16 19:41, Walter H. wrote: >> >>> On 16.06.2016 19:40, Frank Cox wrote: >>> >>>> On Thu, 16 Jun 2016 19:34:09 +0200 >>>> Walter H. wrote: >>>> yum -disableplugin=fastestmirror nowseewhathappens. >>>> >>>> >>>> yes this goes fast, no timeout; >>> can I configure this in /etc/yum.conf? >>> >>> >> The correct way to disable a yum plugin is to set enabled to zero in the >> plugin config file: >> >> /etc/yum/pluginconf.d/fastestmirror.conf >> > ok I did this, and then did some yum install - works without timeout > where could I tell yum to use existing mirrors in my near instead of one > on the other side of the world? > > in this config I saw remarked the following: > > #include_only=.nl,.de,.uk,.ie > > when I set enabled=1 and removed the #-comment on this line > 'yum list kernel' > shows this: > > Loaded plugins: fastestmirror, security > Determining fastest mirrors > epel/metalink > | 8.6 kB 00:00 > * base: ftp.usf.edu > Including mirror: archive.linux.duke.edu > Including mirror: mirror.unl.edu > * epel: archive.linux.duke.edu > * extras: ftp.usf.edu > * updates: ftp.usf.edu > > I'm from Europe(!) > > Thanks, > Walter > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos > >
On 16.06.2016 21:59, Tony Schreiner wrote:> I note that duke.edu matches uk, and unl.edu matches nl. > > Maybe they are regular expressions, > i just tried with > > #include_ony=\.nl,\.de > > and got less surprising results > > >I tried this: include_only=\.at,\.ch,\.de,\.nl,\.uk and got this: Determining fastest mirrors * base: mirrors.usinternet.com Including mirror: mirror.chpc.utah.edu * epel: mirror.chpc.utah.edu * extras: mirrors.usinternet.com * updates: mirrors.usinternet.com when using this: include_only=\.at$,\.ch$,\.de$,\.nl$,\.uk$ I got this: Determining fastest mirrors * base: mirrors.usinternet.com * epel: mirror.math.princeton.edu * extras: mirrors.usinternet.com * updates: mirrors.usinternet.com when using these two lines exclude=.edu,.com include_only=\.at$,\.ch$,\.de$,\.nl$,\.uk$ I got this: Determining fastest mirrors * base: mirrors.liquidweb.com * epel: linux.mirrors.es.net * extras: mirrors.liquidweb.com * updates: mirrors.liquidweb.com quite strange ... Thanks, Walter