Internal "mirror" for fou4s
Bernd Felsche <[email protected]> Thu, 29 Jan 2004 14:27:38 +0800
| Newsgroups | gmane.linux.suse.fou4s.devel |
|---|---|
| Message-ID | <[email protected]> |
I've finally bitten the bullet and "done it right". The FAQ page mentions a couple of methods of keeping several hosts updated from a common archive. One option not mentioned is to set up a "mirror" using an httpd. set up an file /etc/httpd/fou4s.conf containing --------snip---------------------------------------- # httpd configuration for fou4s # included by httpd.conf <IfModule mod_alias.c> Alias /pub/suse/ "/var/cache/fou4s/packages/some.mirror/" </IfModule> <Directory /var/cache/fou4s/packages/some.mirror/> order deny,allow deny from all allow from my.domain localhost </Directory> ---------snip--------------------------------------- replacing "some.mirror" with whatever your "master" server uses, and "my.domain" with your internal domain description. Add the line Include /etc/httpd/fou4s.conf to /etc/http/httpd.conf and rcapache reload On each client, run fou4s --export client.fou and transfer the file to the master server. On the master server fou4s --import client.fou for each client Proceed with updating the master server fou4s --auto --checkfou4s If you add packages on the clients, you'll have to --export/--import again and run the update. Set the Server argument in /etc/fou4s.conf of your clients to your master server and the fou4s cache "directory" Server=http://master.my.domain/pub/suse I hope that all makes sense! -- /"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia \ / ASCII ribbon campaign | I'm a .signature virus! X against HTML mail | Copy me into your ~/.signature / \ and postings | to help me spread! --