Up2Date – changing it so that it picks up from a local mirror site
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.
Looks like the zeniia isnt working now says that headers.info doesnt exist get a 404 error, anyone else getting this now???
What do I need to do to get around this or has the file just been deleted by mistake?
Zeniiia seems to be working now the headers/headers.info file is back there, dont know if they were hacked or something. Never mind its all back now – keep up the good work Zeniiia
Just had to do this again on another of my machines and just want to say you can replace the i386 with $ARCH and this will put in the appropriate directory depending on the architecture of your machine if you not running on a intel box