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&rep... 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
I have done this;
-disabled the fastestmirror plugin ( frm the conf file by setting enabled=0 ) -modified CentOS-Base.repo
[base-1] name=CentOS-5 - Base #mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=os baseurl=http://ftp.riken.jp/Linux/centos/$releasever/os/$basearch/ exclude=postfix* perl-MIME-Base64 perl-DBI priority=1 enabled=1
what about the rpmforge repos?