Re: pkg-proxy ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, May 17, 2010 at 8:46 PM, Wolfgang <woldra@xxxxxxxx> wrote:
>
> 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

sounds like a nice workaround. but does this cache the packages twice
? (apache cache and pacman cache)


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux