[WBEL-users] Another Up2date question

Ewan Mac Mahon ecm103@york.ac.uk
Wed, 17 Mar 2004 18:49:56 +0000


On Wed, Mar 17, 2004 at 01:18:39PM -0500, Philip R. Schaffner wrote:
 
> On Tue, 2004-03-16 at 16:32, William Hooper wrote: 
> > Will Senn said:
> > >
> > >  Thanks, ok - NO RHEL updates! Yum, hmm - I figure that this must be what
> > > /etc/yum.conf is for and that I can add the file:///updates directory as
> > > an entry and away we go, great!
> 
> If you have multiple machines to update, HTML is an easy way to go:
>
A local server is a good idea in principle, but in practice I would (and
indeed do) use an ftp server. Vsftpd in included in WBEL and is
considerably smaller and simpler than apache, which makes it quite a bit
easier to set up, as well as much easier to be sure you haven't
inadvertantly left any silly holes in the config.
 
 
> I have a nightly cron job that syncs a mirror to a local directory with
> the lftp script below. (Anybody got an rsync server?)
> 
Yep - the one you're ftping from :-) My cron job looks like this:

#!/bin/sh
rsync --quiet --delete --recursive mirror.physics.ncsu.edu::whitebox/3.0/en/updates /var/ftp/pub/whitebox/

it just sits in /etc/cron.daily and gets run with all the other overnight
jobs.

Ewan