[CentOS] fasttest mirror -doesnt seem to pick sites near my region

Sat Aug 22 22:23:55 UTC 2009
Oliver Ransom <oliver at ransom.com.au>

On 22/08/2009, at 11:02 PM, Linux Advocate wrote:

>
>> Hi Linux Advocate,
>>
>> I have found this a problem for the Australian servers I manage as
>> well. I suggest you manually test the speed of some local mirrors  
>> then
>> manually specify a mirror rather than relying on the fastest mirror
>> plugin.
>>
>> If your ISP mirrors content locally then that'd be the logical mirror
>> to use.
>
>
> my repos are configured to use mirrorlist. how do i add mirrors  
> manually?
>

If you take a look in /etc/yum.repos.d/ you will see a number of  
files. There should be example baseurl lines in the repo files which  
will be commented out by default. Here's an example of how I use this  
to manually use my local ISPs mirror for the base repo:

[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=ftp://mirror.internode.on.net/pub/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=ftp://mirror.internode.on.net/pub/centos/RPM-GPG-KEY-CentOS-5

Regards,
Oliver

>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos