[arch-general] pkg-proxy ?
Andre "Osku" Schmidt
andre.osku.schmidt at googlemail.com
Tue May 18 09:36:57 EDT 2010
On Mon, May 17, 2010 at 8:46 PM, Wolfgang <woldra at fsfe.org> wrote:
>>> >> - not usable from arch installer. i assume i cant use it as proxy
>>> >> setting what is asked in the installer. but maybe i can somehow else
>>> >> use it from the installer?
> I'm doing something like this for a couple of centos machines... using
> apache as a caching reverse proxy (also serving kickstart files).
> <VirtualHost *:80>
> # the usual servername, logfile, etc...
> LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
> LoadModule disk_cache_module /usr/lib/apache2/modules/mod_disk_cache.so
> CacheRoot /home/sites/ks/cache
> CacheEnable disk /
> CacheDirLevels 2
> CacheDirLength 8
> CacheMaxFileSize 2097152000
> ProxyRequests off
> ProxyPass /centos/ http://ftp.halifax.rwth-aachen.de/centos/
> it should just work with something like:
> ProxyPass /archlinux/ http://some.mirror/path_to/archlinux/
> point your installers there and you should be fine
> I know you said squid is to much hassle... maybe your more comfortable
> with apache ;)
sounds like a nice workaround. but does this cache the packages twice
? (apache cache and pacman cache)
More information about the arch-general