Setting up yum repository

Paul Howarth paul at city-fan.org
Mon Jul 24 11:49:57 UTC 2006


Mag Gam wrote:
> I would like to set up a Yum repository for Fedora Core 5.
> Is it possible to do it via NFS, because I have already downloaded the
> entire distribution.
> 
> Are there good instructions or howtos for setting this up?

Are you talking about a repository of your own packages, or just a local 
copy of the [core] repository (i.e. what's on the install media)?

If you have the DVD ISO, it already contains the repository metadata, 
which you can use over NFS by exporting the loopback-mounted DVD ISO and 
having clients use a baseurl of:

file:///path/to/directory

where /path/to/directory is the path to the directory containing the 
"repodata" directory on the ISO.

Paul.




More information about the users mailing list