|
Home > Archive > Web Servers on Unix and Linux > May 2004 > Apache Upgrade
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| I have Apache 2.0.43 running on my system (Linux Red Hat 7.3).
I would like to upgrade to version 2.0.49 (the latest). I have not
found any clear documentation on how to do that.
Please consider that I did NOT use RPMs for installation; I downloaded
the tar.gz file; decompressed it and compile with
--prefix=/usr/local/apache options in the configure commands. Can
anyone provide me with a procdeure to seamlessly upgrade my system (in
a production environment! No downtime available). Thank you.
Sara
| |
| David Logan 2004-05-03, 9:38 am |
| Sara wrote:
> I have Apache 2.0.43 running on my system (Linux Red Hat 7.3).
> I would like to upgrade to version 2.0.49 (the latest). I have not
> found any clear documentation on how to do that.
> Please consider that I did NOT use RPMs for installation; I downloaded
> the tar.gz file; decompressed it and compile with
> --prefix=/usr/local/apache options in the configure commands. Can
> anyone provide me with a procdeure to seamlessly upgrade my system (in
> a production environment! No downtime available). Thank you.
>
> Sara
Probably your best bet is to get the new sources,
"configure --prefix=/some/new/prefix", make and install. Then copy your
httpd.conf file over, change the listening port "Listen 80" to some
other port to bring it up and test it. Once all of that is done, it
comes up, runs, serves web pages (and whatever other testing), you can
then replace your init startup file (etc/rc.d/init.d/httpd) with the new
stuff.
Nothing is ever seamless, but this way you can run both servers at the
same time. One for production, one for testing.
The only problem that I can think of is where the logs go. You probably
want to review those as well (also in your httpd.conf I believe.)
David Logan
| |
| Jim Hayter 2004-05-03, 12:37 pm |
| On Mon, 03 May 2004 13:30:27 GMT, in
comp.infosystems.www.servers.unix, David Logan <djlogan2@comcast.net>
wrote:
>Probably your best bet is to get the new sources,
>"configure --prefix=/some/new/prefix", make and install. Then copy your
>httpd.conf file over, change the listening port "Listen 80" to some
>other port to bring it up and test it. Once all of that is done, it
>comes up, runs, serves web pages (and whatever other testing), you can
>then replace your init startup file (etc/rc.d/init.d/httpd) with the new
>stuff.
>
>Nothing is ever seamless, but this way you can run both servers at the
>same time. One for production, one for testing.
>
>The only problem that I can think of is where the logs go. You probably
>want to review those as well (also in your httpd.conf I believe.)
This is what I do to test a new version. Since I keep the logs under
the "production prefix", after copying the configuration files to the
test prefix area and editing the port numbers, I do a global replace
of the production prefix with the test prefix.
HTH,
Jim
|
|
|
|
|