[arch-general] pkg-proxy ?

Wolfgang woldra at fsfe.org
Mon May 17 14:46:25 EDT 2010


Hi,

>> >> - 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/
</VirtualHost>

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 ;)

Regards,
Wolfgang


More information about the arch-general mailing list