<br><br><div><span class="gmail_quote">On 5/17/07, <b class="gmail_sendername">Max Hetrick</b> <<a href="mailto:btmanmeh@verizon.net">btmanmeh@verizon.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Lorenzo wrote:<br>> since I'm installing several copies of CentOS I was thinking of using<br>> some system to save bandwidth.<br>><br>> I started looking at mrepo, but I noticed that, if I let him sync with
<br>> updates and rpmforge repos, I'll end with a _lot_ of unneeded files.<br>> Also I have to modify the various yum repos configuration files for it<br>> to work.<br><br>I'm not sure if this answers what you want or not, but I just use rsync
<br>and point it to a lower level mirror as per the CentOS folks wishes.<br></blockquote></div><snip><br><br>To take Max's suggestion a bit farther if you do the local mirror you can then use the boot.iso file found under /$release_number$/os/i386/images/ and create a bootable CD from that.  It will give you the option to choose a location for the source files.  I have my local yum mirror under 
<a href="http://server/centos/$release_number/">http://server/centos/$release_number/</a> and I can enter the server name and then the path /centos/4/os/i386 and it will then install over the wire the rest of the OS instead of swapping disks.  Then after I log in I go to the /etc/yum.repos.d/ folder and rename the existing 
CentOS-Base.repo to CentOS-Base.old and wget my edited CentOS-Base.repo file from that same web server.  Now when I do a yum update it will use the new version and pull all the updates right from the local server.<br><br>
I also have to use the centosplus repo for the kernel so that is already changed in the .repo file on the web server.<br><br>It does take a little bit of time to set up the initial mirror and to do the initial rsync but now when new updates come down they were synced over night when the internet connection is far less taxed and I can do the individual updates much faster.
<br><br>If you have a whole lot you could even look at making a kickstart file and putting it up on the webserver to use in combination with the boot.iso CD and add a script to the end of the kickstart to do the rename and download of the new .repo file.
<br><br>Rob<br>