Thanks Damion,

Your instructions made some sense but I must admit that my
linux knowledge is far from the guru level and the instructions
were a little over my head.

Is it possible to just upgrade apache within a single vs to
test for other issues before doing the skel thing? I have
created another working virtual server to play in and can
hopefully get a new version of apache working in there before
taking on the skel upgrade.

I have the apache rpm from RH sitting on the box but can't
work out how to force it into the vs file structure. I think
this should be possible although it would increase drive use
by discarding existing file symlinks?

Any help would be greatly appreciated as my sysadmin has run
away and left me to discover the joys of freevsd and linux
in a crash course of learning :-(

----- Original Message ----- 
From: "Damion Parry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 21, 2002 4:44 PM
Subject: Re: need help. upgrading apache in existing skel


> Hello,
> 
> First off install the RPM into the skel. To do this you may need to copy the 
> /var/lib/rpm directory into var/lib in the skel. You'll probably have to force 
> it as the RPM database is for the host and not the skel, and it will most 
> probably compain.
> 
> The next step is to update your virtual servers. I would obtain a list of files 
> from the rpm with:
> 
> FILES=`rpm -qpl apache-1.3.22-5.6.i386.rpm`
> 
> then obtain a list of virtual server's:
> 
> VS=`ls -1 /home/vsd/vs`
> 
> And then hardlink in the new files:
> 
> for vs in $VS; do
>    # Save the old configuration
>    cp /home/vsd/$vs/etc/httpd /home/vsd/$vs/etc/httpd.orig
>    for file in $FILES; do
>      cp -al /home/vsd/skel/$skel/$file /home/vsd/vs/$vs/$file
>    done
>    # Remove the configuration copied in from the RPM
>    rm -rf /home/vsd/$vs/etc/httpd
>    # Move the old configuration back to where it belongs
>    mv /home/vsd/$vs/etc/httpd.orig /home/vsd/$vs/etc/httpd
> done
> 
> Now I haven't tried this or anything, so should be treated as a rough guide, but 
> you get the idea.
> 
> HTH,
> Damion.
> 
> 
> Petar Nikolich wrote:
> > Hi all,
> > 
> > You are all no doubt aware of the security issues just announced a couple
> > of days ago with apache and the release of exploits to break into systems.
> > 
> > A quick overview can be found at 
> > 
> > http://httpd.apache.org/info/security_bulletin_20020620.txt
> > 
> > This leads me to my question which is how does one go about upgrading the
> > apache already setup in existing virtual servers?
> > 
> > Our box is running a RH6.2 skel downloaded quite some time ago and it lives
> > on a RH 7.1 host. The freevsd version is 1.4.9. The old apache version in
> > the skel is 1.3.14
> > 
> > The machine has been faultless and I'd really like to know the procedure
> > that will allow me to upgrade all the virtual servers based on the
> > existing skel without to much downtime. We are hosting enough clients
> > that downtime will be a problem.
> > 
> > Obviously a speedy reply would be of great assistance.
> > 
> > Thanks in advance
> > 
> > Petar
> > 
> > 
> > ------------------------- The freeVSD Support List --------------------------
> > Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
> > Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
> > Archives:    http://freevsd.org/support/mail-archives/freevsd-support
> > -----------------------------------------------------------------------------
> > 
> 
> 
> ------------------------- The freeVSD Support List --------------------------
> Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
> Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
> Archives:    http://freevsd.org/support/mail-archives/freevsd-support
> -----------------------------------------------------------------------------
> 

------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to