Re: mirroring an swup server
Oystein Viggen <[email protected]> Fri, 12 Nov 2004 11:03:03 +0100
| Newsgroups | gmane.linux.trustix.swup |
|---|---|
| Organization | Tihlde |
| Message-ID | <[email protected]> |
* ["Nick Twaddell"]=20 > I have a bunch of servers that I would like to keep updated. Is there > anyway to mirror an existing swup server? For example, take > http://download.trustix.com/tsel/2/i586/trustix/rdfs/latest.rdf and mir= ror > all the contents and keep it updated? That site doesn't support mirroring. If you want to conserve bandwidth, you might want to use a caching web pr= oxy such as squid. Squid is part of all current versions of Trustix OS. When setting up squid you'd want to set maximum_object_size in /etc/squid/squid.conf to something quite high. I have it set to 32768 KB= . You'll also want to increase the store size of cache_dir to something hig= her than the default 100 MB. Third, you'll need to set squid up to allow access from the machines in y= our local network. To make swup use this http_proxy, it should be enough to set the http_pro= xy environment variable. To get this set persistantly, you can edit /etc/sysconfig/proxy. Simply remove the # at the start of the http_proxy line, and change the default (non-working) "proxy.trustix.org" for the IP address or DNS name of your squid proxy server. You'll need to log out a= nd log in again for this change to take effect. =D8ystein --=20 When in doubt: Recompile.