help setting a mirror like repository
Adam Hough
ahough at lsu.edu
Sun Dec 10 02:36:58 UTC 2006
http://linux.duke.edu/projects/metadata/
http://linux.duke.edu/projects/metadata/generate/createrepo-0.4.6-1.src.rpm
This is what my coworkers and I use to create repos.
As for setting up a mirror we just mirror someone elses repo.
On Sat, 2006-12-09 at 17:41 -0300, Ezequiel Alfie wrote:
> Hello.
> I'm trying to set up a i386-FC6 repository suitable for:
>
> - Network installation
> - Serving a Yum repository for [Core]
> - Serving the DVD ISO
>
> My idea was using the minimum amount of hard disk space.
>
> I created the following directories (/var/www is my DocumentRoot on
> apache)
>
> /var/www/fedora/linux/core/6/i386/os
> and /var/www/fedora/linux/core/6/i386/iso
>
> I downloaded and put the ISO inside the iso/ directory.
>
> I then loop-mounted the DVD ISO onto the os/ directory.
>
> First question:
> After mounting the DVD ISO the ISO disappeared from the directory listing,
> while accessing via HTTP. And if I try to download it it says
> Permission Denied. Any ideas why?
>
> Second question:
>
> The iso/ directory served for the network installation but not for
> yum since I got errors claiming something about not finding
> media://<number>.
> While trying to solve that, I created an empty 20MB file and made an
> ext2 filesystem on it (mkfs.ext2) and then loop mounted onto the
> iso/repodata directory. After that, I copied the repodata/ files from
> other mirror onto the mounted repodata/ directory. After that it worked as
> a yum repo.
>
> But, is this the intended way to set up a FC mirror? I see it a bit
> complicated... Does someone got experience on this? I didn't wanted to
> copy the RPMS from inside the DVD's, effectively duplicating the space
> needed, as this was a suggestion on a tutorial page.
>
>
> Thanks in advance,
> Ezequiel
>
--
Adam Hough
High Performance Computing
Computing Services Center 200
225-578-7202
fax: 225-578-6400
ahough at lsu.edu
More information about the fedora-list
mailing list