Re: up2date in enterprise environment?

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


Les Mikesell wrote:
On Tue, 2005-05-24 at 07:17, John Summerfied wrote:

Both would be taken care of by using a local yum repo.

My personal favourite (and this assumes that the box with Internet access has good Internet access) is to configure an Apache virtual host, maybe, that proxies a convenient external mirror.

Do you happen to have an example config for the apache host with
reasonable settings for the cache parameters?   I've been using
a squid proxy but find that it is currently barely useful because
the update mirror target is chosen at random instead of matching
what's already in the cache.

Bend this to your taste: <VirtualHost>

    ServerAdmin [email protected]
    DocumentRoot /var/local/mirrors/linux/Fedora/
    ServerAlias fedora.demo.lan
    ServerAlias fedora
    ErrorLog /var/log/apache/fedora-error_log
    CustomLog /var/log/apache/fedora-access_log common
<IfModule mod_proxy.c>
    # Proxy Server directives. Uncomment the following lines to
    # enable the proxy server:
    ProxyRequests On
    <Directory proxy:*>
        Order deny,allow
        Deny from all
        Allow from
	Allow from
	Allow from

# Enable/disable the handling of HTTP/1.1 "Via:" headers. # ("Full" adds the server version; "Block" removes all outgoing Via: # headers) Set to one of: Off | On | Full | Block

    ProxyVia On

    ProxyPass        /redhat/
    ProxyPassReverse /redhat/
    ProxyPass        /linux/
    ProxyPassReverse /linux/
    CacheRoot "/var/cache/apache"
    CacheSize 500000
    CacheGcInterval 24
    CacheMaxExpire 744
    CacheLastModifiedFactor 0.1
    CacheDefaultExpire 180

# End of proxy directives.




-- spambait
[email protected]  [email protected]
Tourist pics

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux