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
-----------------------------------------------------------------------------