本小節說明成功編譯 Apache 1.3 Web Server 以執行負載平衡器外掛程式的最低需求。必須編譯和建置 Apache 原始碼以使用 SSL 執行。
UNIX 和 Linux 平台的需求:
openssl-0.9.7d (原始碼)
mod_ssl-2.8.16-1.3.29 (原始碼)
apache_1.3.29 (原始碼)
gcc-3.3-sol9-sparc-local 套裝軟體 (適用於 Solaris 9 SPARC/x86)。
flex-2.5.4a-sol9-sparc-local 套裝軟體 (適用於 Solaris 9 SPARC)
flex-2.5.4a-sol9-intel-local 套裝軟體 (適用於 Solaris 9 SPARC)
此外,在編譯 Apache 之前,請執行以下步驟:
在 Linux 上,在同一台機器上安裝 Sun Java System Application Server。
在 Solaris 8 上,確保 gcc 和 make 均位於 PATH 中。
在 Solaris 9 上,確保 gcc 3.3 版和 make 均位於 PATH 中,並且已安裝 flex。
如果您要在 Red Hat Enterprise Linux Advanced Server 2.1 上使用 gcc,則 gcc 的版本必須在 3.0 以上。
要使用其他 C 編譯器,請設定 C 編譯器的路徑並使公用程式位於 PATH 環境變數中。例如︰
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:install-dir/lib
這些軟體原始碼可以從 http://www.sunfreeware.com 取得。