Discussion:
upgrate Apache 2.2.3 to 2.2.16
(too old to reply)
Maheshkumar
2011-02-22 04:41:55 UTC
Permalink
We have Apache 2.2.3 installed on our RHEL server but PCI Compliance
asked us to upgrade it to Apache 2.2.16 or greater. yum update is not
upgrading it to latest. We are afraid to do fresh installation. is
there any simple way to upgrade to 2.216.
Thanks in advance.
Davide Bianchi
2011-02-22 07:09:12 UTC
Permalink
Post by Maheshkumar
asked us to upgrade it to Apache 2.2.16 or greater. yum update is not
upgrading it to latest. We are afraid to do fresh installation. is
there any simple way to upgrade to 2.216.
Install it in a different location, copy the config file, stop the old
one, start the new one, if everything works fine change the init
scripts to start the new one and 'disable' the old one.

This has nothing to do with configuration.

Davide
--
National Weather Service advice for those threatened by severe
thunderstorms: "Go inside a sturdy building and stay away from
WINDOWS!"
-- Ben Bullock
m***@thangal.co.in
2012-04-05 07:12:56 UTC
Permalink
Post by Maheshkumar
We have Apache 2.2.3 installed on our RHEL server but PCI Compliance
asked us to upgrade it to Apache 2.2.16 or greater. yum update is not
upgrading it to latest. We are afraid to do fresh installation. is
there any simple way to upgrade to 2.216.
Thanks in advance.
https://access.redhat.com/security/updates/backporting/?sc_cid=3093
Andre
2012-04-05 08:13:24 UTC
Permalink
Post by m***@thangal.co.in
Post by Maheshkumar
We have Apache 2.2.3 installed on our RHEL server but PCI Compliance
asked us to upgrade it to Apache 2.2.16 or greater. yum update is not
upgrading it to latest. We are afraid to do fresh installation. is
there any simple way to upgrade to 2.216.
Thanks in advance.
https://access.redhat.com/security/updates/backporting/?sc_cid=3093
You could download sources, compile with configure --prefix=anywhere and
in httpd.conf set DocumentRoot=where your documents are with your
current config and
Listen = ipadress:otherport

So you have your old apache still running, and you can test your new config.
Once you upgrade to production, simply set Listen directive to the
correct value.

OTH
with yum you also can specify --installroot=root Not too shure as I
never tried it.
My preferences are for the download/compile
André
Mr. B-o-B
2012-04-05 13:00:40 UTC
Permalink
Andre cried from the depths of the abyss...
Post by m***@thangal.co.in
Post by Maheshkumar
We have Apache 2.2.3 installed on our RHEL server but PCI Compliance
asked us to upgrade it to Apache 2.2.16 or greater. yum update is not
upgrading it to latest. We are afraid to do fresh installation. is
there any simple way to upgrade to 2.216.
Thanks in advance.
https://access.redhat.com/security/updates/backporting/?sc_cid=3093
You could download sources, compile with configure --prefix=anywhere and in
httpd.conf set DocumentRoot=where your documents are with your current config
and
Listen = ipadress:otherport
So you have your old apache still running, and you can test your new config.
Once you upgrade to production, simply set Listen directive to the correct
value.
OTH
with yum you also can specify --installroot=root Not too shure as I never
tried it.
My preferences are for the download/compile
André
I would go one step further & just build your own custom apache .rpm
The problem with compiling & installing works fine, upgrading in the
future becomes a pain.

Take the extra time initally to create your own .rpm build, and then
install it that way. This pays for itself when you then need to upgrade
down the road. Upgrades are as easy as grab the new source, change the
build-version #, reroll the package, and upgrade. Nice.

Good Luck!

Bob

-
-
Mr. B-o-B aka Bob De Mars
"I want to learn the ways of the Source, and become a Jedi like my Father"
Loading...