Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to create a local Fedora 13 repository in a local LAN network

Unfortunately I cannot run rsync in daemon mode because I'm behind a firewall on which I have no control. So I had to try using rsync over shell.

I tried the mirrors in , I get prompted for passwords. I thought these were supposed to be anonymous access. What am I doing wrong?

Lets say I want to create a local repository for Fedora 13 i386 os, what command would I need to issue on my local system? It would be of immense help if someone could provide a working example.

Thanks in advance!

share|improve this question

You won't be allowed to SSH into a mirror.

You could use wget to mirror but says "The only sane way to do mirroring is to use rsync."

I'm behind a firewall on which I have no control.

This is the problem you need to solve. If you are in a (sane) corporate environment then if you provide a business justification for having a local mirror then the firewall would be changed to allow the traffic.

share|improve this answer

It's been awhile, but here's what I did to create a local repository on my network.

mkdir /repos

rsync -avuH --exclude=debug/ --exclude=drpms/ rsync:// /repos/releases/11/i386/os/Packages/

rsync -avuH --exclude=debug/ --exclude=drpms/ rsync:// /repos/updates/11/i386/

createrepo -g /repos/releases/11/i386/os/repodata/comps.xml /repos/releases/11/i386/os/

createrepo -g /repos/updates/11/i386/repodata/comps-f11.xml /repos/updates/11/i386/

I don't recall offhand where I got the group files (comps.xml and comps-f11.xml). I think I probably copied whatever was in and changed the name to make it shorter.

Almost forgot, you should be able to just change 11 in my examples to 13. Like I said, it's been awhile since I set this up.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.