欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Apache 安裝和使用文檔

 更新時(shí)間:2009年11月26日 00:34:37   作者:  
Apache安裝和使用文檔
一、準(zhǔn)備工作:
1臺PC機(jī),安裝linux操作系統(tǒng) 參考文檔linux安裝.docx
2 gcc的安裝 參考文檔gcc的安裝.zip
3 apache的安裝包httpd-2.0.63.tar.gz

二、安裝aoache:
#cd /opt
#gunzip httpd-2.0.63.tar.gz
#tar –xvf httpd-2.0.63.tar
#cd httpd-2.0.63
#./configure --prefix=/opt/apache2 –enable-so –enable-proxy –enable-proxy-ajp –enable-proxy-http –enable-proxy-ftp –enable-proxy-connect –enable-proxy-balancer
#make
#make install
注意:1路徑,要安裝到/opt/apache2下
2 在make執(zhí)行的時(shí)候可能會(huì)報(bào)缺少文件,那是因?yàn)閘inux沒有安裝gcc,所以要先安裝gcc,gcc的安裝參考《gcc的安裝.zip》


三、補(bǔ)充apache缺少的文件
以上執(zhí)行完畢后,把mod_wl_20.so這個(gè)文件copy到/opt/apache2/moules下
mode_wl_20.so可以在bea \server\lib\linux\i686下找到



四、配置apache
Apache的配置文件在/opt/apache2/conf/httpd.conf,找到Listen 80這一行,在下面添加以下內(nèi)容。
Include conf/weblogic.conf
在conf下新建一個(gè)文件:weblogic.conf,里面配置如下。
LoadModule weblogic_module modules/mod_wl_20.so

<Location /ACS-server/ACS>
SetHandler weblogic-handler
WebLogicCluster 135.251.218.17:7013,135.251.218.14:7013
Debug ALL
WLTempDir "/opt/apache2/logs"
DebugConfigInfo ON
DynamicServerList OFF
</Location>
<Location /ACS-server/hnmACS>
SetHandler weblogic-handler
WebLogicCluster 135.251.218.17:7013,135.251.218.14:7013
Debug ALL
WLTempDir "/opt/apache2/logs"
DebugConfigInfo ON
DynamicServerList OFF
</Location>
<Location /csr>
SetHandler weblogic-handler
WebLogicCluster 135.251.218.17:7013,135.251.218.14:7013
Debug ALL
WLTempDir "/opt/apache2/logs"
DebugConfigInfo ON
DynamicServerList OFF
</Location>
<Location /report>
SetHandler weblogic-handler
WebLogicCluster 135.251.218.17:7013,135.251.218.14:7013
Debug ALL
WLTempDir "/opt/apache2/logs"
DebugConfigInfo ON
DynamicServerList OFF
</Location>
<Location /hdm>
SetHandler weblogic-handler
WebLogicCluster 135.251.218.17:7013,135.251.218.14:7013
Debug ALL
WLTempDir "/opt/apache2/logs"
DebugConfigInfo ON
# DynamicServerList OFF
</Location>
<IfModule mod_weblogic.c>
#Include conf/Weblogic.conf
WebLogicCluster 135.251.218.17:7013,135.251.218.14:7013
MatchExpression *.jsp
MatchExpression *.do
Debug ALL
WLLogFile logs/wlAcess_mimm.log
WLTempDir "/opt/apache2/logs"
# StatPath true
DebugConfigInfo ON
KeepAliveEnabled True
KeepAliveSecs 15
</IfModule>


五、運(yùn)行和測試
#cd /opt/apache2/bin
#./apachectl start
啟動(dòng)apache
如果你輸入http://apache所在IP/hdm 可以訪問到14和17上部署的hdm,那么就證明已經(jīng)配置成功了!
你shutdown14和17的任意一個(gè)機(jī)器,仍然可以訪問
#./apachectl stop
關(guān)閉apache


六、注意事項(xiàng)
1、 根據(jù)將要布署的應(yīng)用名要在weblogic.conf中配置一個(gè)location
2、 如果安裝目錄在/opt/apache2的話,可以直接copy現(xiàn)有的weblogic.conf和httpd.conf

相關(guān)文章

最新評論