D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Upgrading Apache on Red Hat 9

 

On 2005.01.06 09:43 Chycor Ltd wrote:
Hi all,

Happy new year to all. I am a new user to the DCLUG and we are
starting out
in the UNIX world.

We have recently purchased a dedicated server with a default install
of Red
Hat 9. The default configuration on Red Hat 9 is Apache 2.0.40/openSSL
2.0.40 with PHP 4.2.2.

We now wish to upgrade apache to 2.0.50+ and PHP 4.3.10 but are unsure
how
we can go about this with minimal disruption.

Can anyone recommend a guide to installing this with a view to keeping
the
existing apache installation intact while we install and configure the
later
version independently. The primary reason being that this is a live
production web server.

Hi Philip,


Here is a guide to upgrading php.

http://forum.ev1servers.net/showthread.php?s=&threadid=51605

You probably don't have yum on RH9 unless you install it yourself, so you can try using up2date for the apache update or just wget the rpms directly to your server and install away. Just back up your httpd.conf to be safe. Running 2 instances of apache would be quite tricky and its not as if you are going from 1.3 to 2.0.50 so the httpd.conf will be ok as is.

run
up2date apache-x.x.x
adding your required version numbers for the x's

When its done, restart apache ( service httpd restart)

If you man up2date, there are options available for keeping a rollback available when upgrading packages, which is handy, but it does require disk space of course.

Regards

alan

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.