New to this world, and my problem is creating a local repo to both install fedora 13 and run yum upgrades against the repo. So I need to be able to sync with a mirror for updates and a complete install repo. FYI: class project.
Copied the contents of the DVD to folder on my server, /var/www/http/fedora/XXXX/XXX ... etc Update folder is in this same structure.
Researched, googled, cruised this forum for hours still don't have the proper usage of rsync, below is some of the commands i used, short story is none have worked I keep getting error codes or nothing happens, codes are 10, 12, or 23 depending on the syntax of the command I attempt to rsync with.
# rsync -avrt rsync:mirror.leaseweb.com/.....
results in error code 12, error in rsync protocol data stream
rsync -avrt --rsh rsync:mirror.leaseweb.com/.....
No error code returned but all that occurs is list of .rpm in my repo folder, with a message "received 13 bytes" but nothing has changed.
Then from a how-to located at
http://www.howtoforge.com/setting-up...sitory-fedora8 did a straight copy changing were they had 8 in the command to 13 of their example.
rsync -avrt rsync://ftp-stud.hs-esslingen.de/fedora/linux/releases/13/Everything/i386/os/Packages/ /var/www/html/fedora/base/13/i386
Time out error.
Tried to use -e ssh get prompted for a password, tried password and anonymous, of course it failed. I May be new but not surprised I wouldn't let folks in either.
Tired --rsh=ssh, get a code 23.
Tired rsync://ftp:mirror.leasweb.com/.... error code 10, Name or service unknown - guessing at this point for the proper syntax at this point.
Any suggestions on how to sync up a local repo with a remote, better tool, what am I missing here ... ete, etc.
Oh the goal if your all wondering to use kickstart files to install servers and workstations from a local repo. Kickstart is easy this hasn't been ... yet.