Re: svr2/unionfs

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: <pgsql-www(at)postgresql(dot)org>
Subject: Re: svr2/unionfs
Date: 2005-11-28 11:04:45
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4E7E3D8@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

> -----Original Message-----
> From: Marc G. Fournier [mailto:scrappy(at)postgresql(dot)org]
> Sent: 27 November 2005 23:00
> To: Dave Page
> Cc: pgsql-www(at)postgresql(dot)org
> Subject: Re: svr2/unionfs
>
> On Sun, 27 Nov 2005, Dave Page wrote:
>
> > Hi Marc,
> >
> > How easy would it be to get rid of the unionfs stuff on
> svr2/borg? Given
> > that there is only the one VM, can the vserver just be
> copied over the
> > template?
>
> the ones we've been doing, and what we'll be doing with teh
> dev vserver
> tonight, is we copy over a clean, base template (ie. imap,
> postfix and
> vanilla apache) and then re-add the various applications over
> top of it
> ... that way it doesn't have any of the extra trash installed ...
>
> In theory, you could do that where you just copy it over the template
> itself ...
>
> If you want to go the clean route, though, what I'm doing is:
>
> cp fresh base template
> shut down old vServer
> rm various top level directories that can be safely removed
> - compat, sys, kernel, dev, modules, proc, tmp
> cd usr; find . -depth -type d -delete
> - clears out the 'ghost directories that unionfs creates
> cd ..
> find . -print | cpio -pduma ../<new vserver hierarchy>
>
> and then restart ...
>
> for dev/lists, I'll disable postfix from starting up on
> restart, since I
> need to re-install the perl modules for majordomo2 ... for wwwmaster,
> you'd have to worry about making sure the appropriate php modules are
> installed ...
>
> the 'painful ones' are doing the vServers with Java
> installed, since you
> have to build it all from scratch, which takes a good long
> while ... but
> the rest are fairly quick/easy ...

Cool. So when can you do it? :-p

Regards, Dave.

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Tom Lane 2005-11-28 14:12:43 Re: Security information page
Previous Message Simon Riggs 2005-11-28 09:26:12 Re: Security information page