Hi Everyone, Something frustrated me, that is every time I updated my Mandrake PCs on my network here, I found myself downloading the same updates for each system off the update sites. The problem with that, it was just a waste of bandwidth, plus speed of the updates downloading each time etc..etc.. O.K. I found a solution that I thought that I would share with everyone, I found that I could build a update cache using Apache and using it's ProxyPass module.. to build the cache.. here's my config, and if anyone could suggest improvements please do..
Start of Apache config part <VirtualHost 192.168.2.1> # Where you want the files to be stored DocumentRoot /home/mandrake-cache CacheRoot /home/mandrake-cache ServerName updates.mysys.oz ServerAlias updates Setenv VLOG ErrorLog /var/log/httpd/mysys.oz-errors # I set my to pickup the updates from a Australian mirror, set # this to your nearest mirror ProxyPass / http://public.planetmirror.com/pub/mandrake/ ProxyPassReverse / http://public.planetmirror.com/pub/mandrake/ ProxyVia on # I know 500Mg is large, but hey I don't want the cache deleting files CacheSize 500000 </VirtualHost> End of Apache config part O.K. then I went into my rpmdrake, and hit the "define sources" button.. Once into the that dialog box.. I select for: Type of Source: "Security Updates" New Sources Name: "Cached Updates Choose your Mirror: http://updates/updates Then follow your normal updating methods... Yep I found I had cached 80 megs of files.. by the time I updated 4 PCs, that was a hugh saving of bandwidth, with a huge plus of the speed I was able to do the updates. Cheers Mark
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com