Up2Date – changing it so that it picks up from a local mirror site

Posted by Paul Farrow - Under: Mini-ITX, Software

Lots of people ask me how do I change the Up2date program on either redhat or Fedora?

So basically you edit the file called sources which is in /etc/sysconfig/rhn

There is a list of local sites for the UK which carry mirrors but the one I use is zeniiia

Just add the entries in the file above like so….

yum fedora-core-2

 http://zeniiia.linux.org.uk/pub/distributions/fedora/linux/core/2/i386/os/

 http://download.fedora.redhat.com/pub/fedora/linux/core/2/i386/os/

 http://mirrors.kernel.org/fedora/core/2/i386/os/

 

yum updates-released-fc2

 

 http://zeniiia.linux.org.uk/pub/distributions/fedora

/linux/core/updates/2/i386

 http://download.fedora.redhat.com/pub/fedora

/linux/core/updates/2/i386/

 http://mirrors.kernel.org/fedora/core/updates/2/i386

this will then look at the site in the uk first rather than trying to go to the main redhat site.

Hope that helps you out.

NB: without the line breaks, had to do that to fit the urls on the blog page.