?? apache.html
字號:
<?xml version="1.0" encoding="GB2312"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN"><head> <meta http-equiv="Content-Type" content="text/html; charset=GB2312" /> <meta name="keywords" content="electronic commerce, ecommerce, ebusiness, e-business, e-commerce, enterprise software, net economy, Sun Microsystems, Sun Open Net Environment, Sun ONE, internet software" /> <meta name="Description" content="Sun Microsystems, Inc. is delivering Sun ONE e-commerce software and enterprise solutions that enable companies to compete successfully in the Net Economy." /> <meta name="TemplateVersion" content="Sun ONE WDT 2.3.1" /> <meta name="LASTUPDATED" content="10/03/03 09:48:30" /> <meta name="BookTitle" content="Sun Java System Application Server Enterprise Edition 8.1 Administration Guide 2005Q1" /> <title>附錄 A 編譯和配置 Apache Web Server</title> <link href="catalog.css" tppabs="http://docs.sun.com/source/819-1553/catalog.css" rel="stylesheet" type="text/css" /> <!-- on load bring this window to front --> <script laguage="javascript"> top.window.focus(); </script></head><body text="#000000" link="#594FBF" vlink="#9966cc" alink="#333366" bgcolor="#FFFFFF"><a name="top"> </a><!-- navigation --> <table width="100%" border="0" cellspacing="4" summary="Header navigation table"> <tr><td> <p class="pNavigation"> <a HREF="javascript:if(confirm('http://www.sun.com/software/ \n\n該文件無法用 Teleport Ultra 下載, 因為 它是一個域或路徑外部被設(shè)置為它的啟始地址的地址。 \n\n你想在服務(wù)器上打開它?'))window.location='http://www.sun.com/software/'" tppabs="http://www.sun.com/software/"> <img SRC="Logo.jpg" tppabs="http://docs.sun.com/source/819-1553/Logo.jpg" alt="Sun logo" valign="bottom" border="0" /></a>      <a href="jvm.html" tppabs="http://docs.sun.com/source/819-1553/jvm.html">上一頁</a>      <a href="index.html" tppabs="http://docs.sun.com/source/819-1553/index.html">目錄</a>      <a href="auto-restart.html" tppabs="http://docs.sun.com/source/819-1553/auto-restart.html">下一頁</a>      </p> </td></tr> <tr><td valign="top" align="right" bgcolor="#594FBF"> <span class="cBookTitle">Sun Java System Application Server Enterprise Edition 8.1 管理指南 2005Q1</span> </td></tr> </table><!-- end navigation --><blockquote><!-- chapter content --><a name="wp106333"> </a><h2 class="pChapNumber"><span class="cGray">附錄 A </span><br /><a name="wp106337"> </a>編譯和配置 Apache Web Server</h2><a name="wp106347"> </a><p class="pParagraph">本附錄介紹了如何編譯 Apache 源代碼和配置 Apache Web Server 的安裝以使用 Sun Java System Application Server 負(fù)載平衡器插件。 </p><a name="wp106349"> </a><p class="pParagraph">請下載相應(yīng)的 Apache 源代碼。有關(guān) Sun Java System Application Server 支持的 Apache Web Server 的版本和平臺的信息,請參見 Sun Java System Application Server 發(fā)行說明。</p><a name="wp106351"> </a><p class="pParagraph">本附錄包括以下主題: </p><div class="pSmartList1"><ul class="pSmartList1"><a name="wp106357"> </a><div class="pSmartList1"><li><a href="apache.html#wp106367" tppabs="http://docs.sun.com/source/819-1553/apache.html#wp106367">最低要求</a></li></div><a name="wp106363"> </a><div class="pSmartList1"><li><a href="apache.html#wp106491" tppabs="http://docs.sun.com/source/819-1553/apache.html#wp106491">安裝 SSL 可識別 Apache</a> </li></div></ul></div><a name="wp106367"> </a><h2 class="pHeading1"><hr />最低要求</h2><a name="wp106369"> </a><p class="pParagraph">本節(jié)介紹了要成功編譯 Apache Web Server 以運行負(fù)載平衡器插件應(yīng)滿足的最低要求。必須編譯和構(gòu)建 Apache 源代碼以使用 SSL 運行。 </p><a name="wp106371"> </a><p class="pParagraph">本節(jié)包括以下主題:</p><div class="pSmartList1"><ul class="pSmartList1"><a name="wp106377"> </a><div class="pSmartList1"><li><a href="apache.html#wp106387" tppabs="http://docs.sun.com/source/819-1553/apache.html#wp106387">適用于 Apache 1.3 的最低要求</a></li></div><a name="wp106383"> </a><div class="pSmartList1"><li><a href="apache.html#wp106442" tppabs="http://docs.sun.com/source/819-1553/apache.html#wp106442">適用于 Apache 2 的最低要求</a></li></div></ul></div><a name="wp106387"> </a><h3 class="pHeading2">適用于 Apache 1.3 的最低要求</h3><a name="wp106403"> </a><p class="pParagraph">有關(guān) Microsoft Windows 平臺的要求,請參見:<br /><a href="javascript:if(confirm('http://httpd.apache.org/docs/windows.html \n\n該文件無法用 Teleport Ultra 下載, 因為 它是一個域或路徑外部被設(shè)置為它的啟始地址的地址。 \n\n你想在服務(wù)器上打開它?'))window.location='http://httpd.apache.org/docs/windows.html#req'" tppabs="http://httpd.apache.org/docs/windows.html#req"><a href="javascript:if(confirm('http://httpd.apache.org/docs/windows.html \n\n該文件無法用 Teleport Ultra 下載, 因為 它是一個域或路徑外部被設(shè)置為它的啟始地址的地址。 \n\n你想在服務(wù)器上打開它?'))window.location='http://httpd.apache.org/docs/windows.html#req'" tppabs="http://httpd.apache.org/docs/windows.html#req">http://httpd.apache.org/docs/windows.html#req</a> <br /></a><a href="javascript:if(confirm('http://httpd.apache.org/docs/win_compiling.html \n\n該文件無法用 Teleport Ultra 下載, 因為 它是一個域或路徑外部被設(shè)置為它的啟始地址的地址。 \n\n你想在服務(wù)器上打開它?'))window.location='http://httpd.apache.org/docs/win_compiling.html'" tppabs="http://httpd.apache.org/docs/win_compiling.html"><a href="javascript:if(confirm('http://httpd.apache.org/docs/win_compiling.html \n\n該文件無法用 Teleport Ultra 下載, 因為 它是一個域或路徑外部被設(shè)置為它的啟始地址的地址。 \n\n你想在服務(wù)器上打開它?'))window.location='http://httpd.apache.org/docs/win_compiling.html'" tppabs="http://httpd.apache.org/docs/win_compiling.html">http://httpd.apache.org/docs/win_compiling.html</a></a></p><a name="wp106405"> </a><p class="pParagraph">適用于其他平臺的要求:</p><div class="pSmartList1"><ul class="pSmartList1"><a name="wp106407"> </a><div class="pSmartList1"><li><code class="cCode">openssl-0.9.7d</code>(源代碼)</li></div><a name="wp106409"> </a><div class="pSmartList1"><li><code class="cCode">mod_ssl-2.8.16-1.3.29</code>(源代碼)</li></div><a name="wp106411"> </a><div class="pSmartList1"><li><code class="cCode">apache_1.3.29</code>(源代碼)</li></div><a name="wp106413"> </a><div class="pSmartList1"><li><code class="cCode">gcc-3.3-sol9-sparc-local 軟件包</code>(用于 Solaris 9 SPARC/x86)。</li></div><a name="wp106415"> </a><div class="pSmartList1"><li><code class="cCode">flex-2.5.4a-sol9-sparc-local </code>軟件包(用于 Solaris 9 SPARC)</li></div><a name="wp106417"> </a><div class="pSmartList1"><li><code class="cCode">flex-2.5.4a-sol9-intel-local </code>軟件包(用于 Solaris 9 x86)</li></div></ul></div><a name="wp106419"> </a><p class="pParagraph">此外,在編譯 Apache 之前,請執(zhí)行以下步驟:</p><div class="pSmartList1"><ul class="pSmartList1"><a name="wp106429"> </a><div class="pSmartList1"><li>在 Linux 上,在同一臺計算機上安裝 Sun Java System Application Server。</li></div><a name="wp106431"> </a><div class="pSmartList1"><li>在 Solaris 8 上,確保 <code class="cCode">gcc</code> 和 <code class="cCode">make</code> 位于 <code class="cCode">PATH</code> 中。</li></div><a name="wp106433"> </a><div class="pSmartList1"><li>在 Solaris 9 上,確保 <code class="cCode">gcc</code> 版本 3.3 和 <code class="cCode">make</code> 位于 <code class="cCode">PATH</code> 中,并且已安裝 <code class="cCode">flex</code>。</li></div><a name="wp106435"> </a><div class="pSmartList1"><li>如果您在 Red Hat Enterprise Linux Advanced Server 2.1 上使用 <code class="cCode">gcc</code>,則 <code class="cCode">gcc</code> 的版本必須在 3.0 以上。</li></div><a name="wp106438"> </a><p class="pAnchor"><div align="left"><table border="0" width="90%" summary="This table is used for Notes, Tips, and Cautions" id="wp106080"> <caption></caption><tr><td colspan="2"><hr noshade="-1" /></td></tr> <tr align="left" valign="top"> <td><a name="wp106080"> </a><p class="pNote">注</p></td> <td><div class="pSmartList1"><ul class="pSmartList1"><a name="wp106082"> </a><div class="pSmartList1"><li>要使用其他 C 編譯器,請設(shè)置 C 編譯器的路徑并使實用程序位于 PATH 環(huán)境變量中。例如:<br /><br />export<code class="cCode">LD_LIBRARY_PATH=$LD_LIBRARY_PATH:appserver_installdir/lib</code></li></div><br><a name="wp106088"> </a><div class="pSmartList1"><li>這些軟件源可以從<a href="javascript:if(confirm('http://www.sunfreeware.com/ \n\n該文件無法用 Teleport Ultra 下載, 因為 它是一個域或路徑外部被設(shè)置為它的啟始地址的地址。 \n\n你想在服務(wù)器上打開它?'))window.location='http://www.sunfreeware.com/'" tppabs="http://www.sunfreeware.com/"> http://www.sunfreeware.com</a> 獲得</li></div></ul></div></td></tr><tr><td colspan="2"><hr noshade="-1" /></td></tr></table></div></p></ul></div><a name="wp106442"> </a><h3 class="pHeading2">適用于 Apache 2 的最低要求</h3><a name="wp106446"> </a><p class="pParagraph">有關(guān) Microsoft Windows 平臺的要求,請參見:</p><a name="wp106454"> </a><p class="pParagraph"><a href="javascript:if(confirm('http://httpd.apache.org/docs-2.0/platform/windows.html \n\n該文件無法用 Teleport Ultra 下載, 因為 它是一個域或路徑外部被設(shè)置為它的啟始地址的地址。 \n\n你想在服務(wù)器上打開它?'))window.location='http://httpd.apache.org/docs-2.0/platform/windows.html'" tppabs="http://httpd.apache.org/docs-2.0/platform/windows.html"></a><a href="javascript:if(confirm('http://httpd.apache.org/docs-2.0/platform/windows.html \n\n該文件無法用 Teleport Ultra 下載, 因為 它是一個域或路徑外部被設(shè)置為它的啟始地址的地址。 \n\n你想在服務(wù)器上打開它?'))window.location='http://httpd.apache.org/docs-2.0/platform/windows.html'" tppabs="http://httpd.apache.org/docs-2.0/platform/windows.html">http://httpd.apache.org/docs-2.0/platform/windows.html</a></p><a name="wp106456"> </a><p class="pParagraph">適用于其他平臺的要求:</p><div class="pSmartList1"><ul class="pSmartList1"><a name="wp106458"> </a><div class="pSmartList1"><li><code class="cCode">openssl-0.9.7d</code>(源代碼)</li></div><a name="wp106460"> </a><div class="pSmartList1"><li><code class="cCode">httpd-2.0.49</code>(源代碼)</li></div><a name="wp106462"> </a><div class="pSmartList1"><li><code class="cCode">gcc-3.3-sol9-sparc-local 軟件包</code>(用于 Solaris 9 SPARC/x86)。</li></div><a name="wp106464"> </a><div class="pSmartList1"><li><code class="cCode">flex-2.5.4a-sol9-sparc-local </code>軟件包(用于 Solaris 9 SPARC)</li></div><a name="wp106466"> </a><div class="pSmartList1"><li><code class="cCode">flex-2.5.4a-sol9-intel-local </code>軟件包(用于 Solaris 9 x86)</li></div></ul></div><a name="wp106468"> </a><p class="pParagraph">此外,在編譯 Apache 之前,請執(zhí)行以下步驟:</p><div class="pSmartList1"><ul class="pSmartList1"><a name="wp106478"> </a><div class="pSmartList1"><li>在 Linux 上,在同一臺計算機上安裝 Sun Java System Application Server。</li></div><a name="wp106480"> </a><div class="pSmartList1"><li>在 Solaris 8 上,確保 <code class="cCode">gcc</code> 和 <code class="cCode">make</code> 位于 <code class="cCode">PATH</code> 中。</li></div><a name="wp106482"> </a><div class="pSmartList1"><li>在 Solaris 9 上,確保 <code class="cCode">gcc</code> 版本 3.3 和 <code class="cCode">make</code> 位于 <code class="cCode">PATH</code> 中,并且已安裝 <code class="cCode">flex</code>。</li></div><a name="wp106484"> </a><div class="pSmartList1"><li>如果您在 Red Hat Enterprise Linux Advanced Server 2.1 上使用 <code class="cCode">gcc</code>,則 gcc 的版本必須在 3.0 以上。 </li></div><a name="wp106487"> </a><p class="pAnchor"><div align="left"><table border="0" width="90%" summary="This table is used for Notes, Tips, and Cautions" id="wp105272"> <caption></caption><tr><td colspan="2"><hr noshade="-1" /></td></tr> <tr align="left" valign="top"> <td><a name="wp105272"> </a><p class="pNote">注</p></td> <td><div class="pSmartList1"><ul class="pSmartList1"><a name="wp105274"> </a><div class="pSmartList1"><li>要使用其他 C 編譯器,請設(shè)置 C 編譯器的路徑并使實用程序位于 PATH 環(huán)境變量中。例如:<br /><code class="cCode"><br />export LD_LIBRARY_PATH=</code><em class="cEmphasis">app_server_install_dir</em><code class="cCode">/lib:$LD_LIBRARY_PATH<br /><br /></code>該示例是針對 <code class="cCode">sh</code> 的。</li></div><br><a name="wp105278"> </a><div class="pSmartList1"><li>這些軟件源可以從 <a href="javascript:if(confirm('http://www.sunfreeware.com/ \n\n該文件無法用 Teleport Ultra 下載, 因為 它是一個域或路徑外部被設(shè)置為它的啟始地址的地址。 \n\n你想在服務(wù)器上打開它?'))window.location='http://www.sunfreeware.com/'" tppabs="http://www.sunfreeware.com/">http://www.sunfreeware.com</a> 獲得</li></div></ul></div></td></tr><tr><td colspan="2">
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -