Re: yum gripes (Was: Re: yum vs. apt)

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

 



On Wednesday 24 November 2004 20:08, Timothy Murphy wrote:
> > A sound alternative is to configure an Apache virtual host to proxy the
> > repo or mirror and then install/update from that.
>
> What exactly does this mean?
> What commands do you give?
I installed FC 2.90 from this server
[summer@thylacine ~]$ links -dump http://fedora/
   Index of /

 [1]      [2]Name                    [3]Last modified       [4]Size  
[5]Description

   -----------------------------------------------------------

 [6][DIR] [7]Parent Directory        26-Aug-2004 11:17      -
 [8][   ] [9]fc2.90.ks               27-Aug-2004 17:17     2k

   -----------------------------------------------------------

    Apache/1.3.31 Server at fedora.demo.room Port 80

References

   Visible links
   2. http://fedora/?N=D
   3. http://fedora/?M=A
   4. http://fedora/?S=A
   5. http://fedora/?D=A
   7. http://fedora/
   9. http://fedora/fc2.90.ks
[summer@thylacine ~]$


That's my kickstart file which starts of thus:
[summer@thylacine ~]$ links -dump -source http://fedora/fc2.90.ks | head -20
lang en_US
langsupport --default en_AU en_US en_AU
keyboard us
#Probe for Mouse
mouse
timezone Australia/Perth
rootpw bFWg=lf34
reboot
bootloader --location=mbr --append='vga=791 '
clearpart --all
install
#nfs --server 192.168.1.1 --dir /var/ftp/pub/linux/RedHat/7.3/ISO
url --url http://Fedora.demo.room/redhat/fedora/test/2.90/i386/os/

Fedora tho doesn't hve the archive. It gets the bits I want as I want them. Or 
did:
[summer@thylacine ~]$ links -dump 
http://Fedora.demo.room/redhat/fedora/test/2.90/i386/os/
                                   Not Found

   The requested URL /linux/redhat/fedora/test/2.90/i386/os/ was not found on
   this server.

   ---------------------------------------------------------------------------

    Apache/2.0.52 (Debian GNU/Linux) Server at mirror.pacific.net.au Port 80
[summer@thylacine ~]$


Here's the vhost definition:

<VirtualHost 192.168.9.4>

    ServerAdmin webmaster@xxxxxxxxx
    DocumentRoot /var/www/html/
    ServerName fedora.demo.room
    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 192.168.8.0/255.255.255.0
        Allow from 192.168.9.0/255.255.255.0
    </Directory>


    # 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/ http://mirror.pacific.net.au/linux/redhat/
    ProxyPassReverse /redhat/ http://mirror.pacific.net.au/linux/redhat/
    ProxyPass        /linux/ http://mirror.pacific.net.au/linux/
    ProxyPassReverse /linux/ http://mirror.pacific.net.au/linux/
    CacheRoot "/var/cache/apache"
    CacheSize 500000
    CacheGcInterval 24
    CacheMaxExpire 744
    CacheLastModifiedFactor 0.1
    CacheDefaultExpire 180
#NoCache a_domain.com another_domain.edu joes.garage_sale.com

</IfModule>
# End of proxy directives.

</VirtualHost>


You, of course, would get your updates someplace else. Unless you're in Oz and 
have nowhere better.




-- 
Cheers
John


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

  Powered by Linux