]> granicus.if.org Git - apache/commitdiff
Add some documentation on upgrading from one minor version to the next.
authorJoshua Slive <slive@apache.org>
Mon, 28 Jul 2003 14:16:00 +0000 (14:16 +0000)
committerJoshua Slive <slive@apache.org>
Mon, 28 Jul 2003 14:16:00 +0000 (14:16 +0000)
Reviewed by: Mads Toftum, Erik Abele, Michael Schroepl

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100811 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/install.html.en
docs/manual/install.xml

index 6523308544206605b45a2d5e05ba56683aea6cff..929cbbe6e222623ea4fbd8a2597633def2b995aa 100644 (file)
@@ -37,6 +37,9 @@
     to create an environment that looks like many other Open Source
     projects.</p>
 
+    <p>If you are upgrading from one minor version to the next (for
+    example, 2.0.50 to 2.0.51), please skip down to the <a href="#upgrading">upgrading</a> section.</p>
+
 </div>
 <div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#overview">Overview for the
     impatient</a></li>
@@ -48,6 +51,7 @@
 <li><img alt="" src="./images/down.gif" /> <a href="#install">Install</a></li>
 <li><img alt="" src="./images/down.gif" /> <a href="#customize">Customize</a></li>
 <li><img alt="" src="./images/down.gif" /> <a href="#test">Test</a></li>
+<li><img alt="" src="./images/down.gif" /> <a href="#upgrading">Upgrading</a></li>
 </ul><h3>See also</h3><ul class="seealso"><li><a href="invoking.html">Starting Apache</a></li><li><a href="stopping.html">Stopping and Restarting</a></li></ul></div>
 <div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
 <div class="section">
 
       <dd>Header file search directories ("<code>-I<em>dir</em></code>").</dd>
 
-      <dt><code>TARGET=...</code> [Default: <code>apache</code>]</dt>
+      <dt><code>TARGET=...</code> [Default: <code>httpd</code>]</dt>
 
       <dd>Name of the executable which will be built.</dd>
 
@@ -561,7 +565,7 @@ separated by a colon.</dd>
 <div class="section">
 <h2><a name="install" id="install">Install</a></h2>
 
-    <p>Now its time to install the package under the configured
+    <p>Now it's time to install the package under the configured
     installation <em>PREFIX</em> (see <code>--prefix</code> option
     above) by running:</p>
 
@@ -598,6 +602,54 @@ separated by a colon.</dd>
     running:</p>
 
 <div class="example"><p><code>$ <em>PREFIX</em>/bin/apachectl stop</code></p></div>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
+<div class="section">
+<h2><a name="upgrading" id="upgrading">Upgrading</a></h2>
+
+    <p>The first step in upgrading is to read the release announcement
+    and the file <code>CHANGES</code> in the source distribution to
+    find any changes that may affect your site.  When changing between
+    major releases (for example, from 1.3 to 2.0 or from 2.0 to 2.2),
+    there will likely be major differences in the compile-time and
+    run-time configuration that will require manual adjustments.  All
+    modules will also need to be upgraded to accomodate changes in the
+    module API.</p>
+
+    <p>Upgrading from one minor version to the next (for example, from
+    2.0.55 to 2.0.57) is easier.  The <code>make install</code>
+    process will not overwrite any of your existing documents, log
+    files, or configuration files.  In addition, the developers make
+    every effort to avoid incompatible changes in the
+    <code>configure</code> options, run-time configuration, or the
+    module API between minor versions.  In most cases you should be able to
+    use an identical <code>configure</code> command line, an identical
+    configuration file, and all of your modules should continue to
+    work.  (This is only valid for versions after 2.0.41; earlier
+    versions have incompatible changes.)</p>
+
+    <p>If you kept the source tree from your last installation,
+    upgrading is even easier.  The file <code>config.nice</code> in
+    the root of the old source tree contains the exact
+    <code>configure</code> command line that you used to configure the
+    source tree.  Then to upgrade from one version to the next, you
+    need only copy the <code>config.nice</code> file to the source
+    tree of the new version, edit it to make any desired changes, and
+    then run:</p>
+
+    <div class="example"><p><code>
+    $ ./config.nice<br />
+    $ make<br />
+    $ make install<br />
+    $ <em>PREFIX</em>/bin/apachectl stop<br />
+    $ <em>PREFIX</em>/bin/apachectl start<br />
+    </code></p></div>
+
+    <div class="warning">You should always test any new version in your
+    environment before putting it into production.  For example, you
+    can install and run the new version along side the old one by
+    using a different <code>--prefix</code> and a
+    different port (by adjusting the <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> directive) to test for any
+    incompatibilities before doing the final upgrade.</div>
 </div></div>
 <div class="bottomlang">
 <p><span>Available Languages: </span><a href="./de/install.html" hreflang="de" rel="alternate" title="Deutsch">&nbsp;de&nbsp;</a> |
index e85463acfe64a41d550c950c0e8da30fa4ea5633..bd7fd4cc19f214f871f315756cda1497a6c4066c 100644 (file)
     to create an environment that looks like many other Open Source
     projects.</p>
 
+    <p>If you are upgrading from one minor version to the next (for
+    example, 2.0.50 to 2.0.51), please skip down to the <a
+    href="#upgrading">upgrading</a> section.</p>
+
 </summary>
 
 <seealso><a href="invoking.html">Starting Apache</a></seealso>
 
       <dd>Header file search directories ("<code>-I<em>dir</em></code>").</dd>
 
-      <dt><code>TARGET=...</code> [Default: <code>apache</code>]</dt>
+      <dt><code>TARGET=...</code> [Default: <code>httpd</code>]</dt>
 
       <dd>Name of the executable which will be built.</dd>
 
@@ -547,7 +551,7 @@ separated by a colon.</dd>
 
 <section id="install"><title>Install</title>
 
-    <p>Now its time to install the package under the configured
+    <p>Now it's time to install the package under the configured
     installation <em>PREFIX</em> (see <code>--prefix</code> option
     above) by running:</p>
 
@@ -589,5 +593,52 @@ separated by a colon.</dd>
 
 <example>$ <em>PREFIX</em>/bin/apachectl stop</example>
 </section>
-
+<section id="upgrading"><title>Upgrading</title>
+
+    <p>The first step in upgrading is to read the release announcement
+    and the file <code>CHANGES</code> in the source distribution to
+    find any changes that may affect your site.  When changing between
+    major releases (for example, from 1.3 to 2.0 or from 2.0 to 2.2),
+    there will likely be major differences in the compile-time and
+    run-time configuration that will require manual adjustments.  All
+    modules will also need to be upgraded to accomodate changes in the
+    module API.</p>
+
+    <p>Upgrading from one minor version to the next (for example, from
+    2.0.55 to 2.0.57) is easier.  The <code>make install</code>
+    process will not overwrite any of your existing documents, log
+    files, or configuration files.  In addition, the developers make
+    every effort to avoid incompatible changes in the
+    <code>configure</code> options, run-time configuration, or the
+    module API between minor versions.  In most cases you should be able to
+    use an identical <code>configure</code> command line, an identical
+    configuration file, and all of your modules should continue to
+    work.  (This is only valid for versions after 2.0.41; earlier
+    versions have incompatible changes.)</p>
+
+    <p>If you kept the source tree from your last installation,
+    upgrading is even easier.  The file <code>config.nice</code> in
+    the root of the old source tree contains the exact
+    <code>configure</code> command line that you used to configure the
+    source tree.  Then to upgrade from one version to the next, you
+    need only copy the <code>config.nice</code> file to the source
+    tree of the new version, edit it to make any desired changes, and
+    then run:</p>
+
+    <example>
+    $ ./config.nice<br />
+    $ make<br />
+    $ make install<br />
+    $ <em>PREFIX</em>/bin/apachectl stop<br />
+    $ <em>PREFIX</em>/bin/apachectl start<br />
+    </example>
+
+    <note type="warning">You should always test any new version in your
+    environment before putting it into production.  For example, you
+    can install and run the new version along side the old one by
+    using a different <code>--prefix</code> and a
+    different port (by adjusting the <directive
+    module="mpm_common">Listen</directive> directive) to test for any
+    incompatibilities before doing the final upgrade.</note>
+</section>
 </manualpage>