Private Mirror/Repository

David Cary Hart Fedora at
Sat Feb 11 20:58:46 UTC 2006

On Sat, 11 Feb 2006 15:22:39 -0500
James Pifer <jep at> opined:
> > I still think you are better off with the rsync approach. Correct me
> > if I am wrong but I believe that rsync provides much better
> > throughput than yum plus compression. Have you looked at
> > ? 
> > 
> > BTW, extras is now using repoview (which I recommend). You can get a
> > look at it here:
> I started to do the rsync approach first, and it did seem faster than
> the rate yum-pull is going, but it seemed like yum-pull was easier to
> setup and get going with all the stuff that I wanted. Any chance you
> have some more examples than are on that page? Maybe I'm making it
> harder than it needs to be. I'm not a yum expert so figuring out where
> to get everything, and understanding the directory structure is a little
> confusing.
> I would like to do FC4 with updates and extras plus atrpms, livna,
> freshrpms, maybe dag. I'd also like to do CentOS 4.2 and Suse 9.2/9.3.
If you get Fedora updates working, everything else will work.

1. Create paths/directories:


2. Download updates to that directory with ftp.

3. run "createrepo \
-c /var/www/cache /var/www/html/yum/Fedora/core/4/updates/

3. Add a ".repo" file or adjust yum.conf

name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://localhost|LAN IP/yum/Fedora/core/$releasever/updates/$basearch/

4. Cron a daily rsync:

rsync -avrt rsync:// \
     --exclude=debug/ --exclude=repodata/ --exclude=*debuginfo* --exclude=*i18* \

5. Followed by:

createrepo \
-c /var/www/cache /var/www/html/yum/Fedora/core/4/updates/

Once you are sure that is working, add repoview from extras to
provide the browser file and RSS.

           Eliminate Spam:
          Multi-RBL Check:
            Zombie Graphs:

More information about the users mailing list