金狮镖局 Design By www.egabc.com
一、准备工作:
1台PC机,安装linux操作系统 参考文档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执行的时候可能会报缺少文件,那是因为linux没有安装gcc,所以要先安装gcc,gcc的安装参考《gcc的安装.zip》
三、补充apache缺少的文件
以上执行完毕后,把mod_wl_20.so这个文件copy到/opt/apache2/moules下
mode_wl_20.so可以在bea \server\lib\linux\i686下找到
四、配置apache
Apache的配置文件在/opt/apache2/conf/httpd.conf,找到Listen 80这一行,在下面添加以下内容。
Include conf/weblogic.conf
在conf下新建一个文件: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>
五、运行和测试
#cd /opt/apache2/bin
#./apachectl start
启动apache
如果你输入http://apache所在IP/hdm 可以访问到14和17上部署的hdm,那么就证明已经配置成功了!
你shutdown14和17的任意一个机器,仍然可以访问
#./apachectl stop
关闭apache
六、注意事项
1、 根据将要布署的应用名要在weblogic.conf中配置一个location
2、 如果安装目录在/opt/apache2的话,可以直接copy现有的weblogic.conf和httpd.conf
1台PC机,安装linux操作系统 参考文档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执行的时候可能会报缺少文件,那是因为linux没有安装gcc,所以要先安装gcc,gcc的安装参考《gcc的安装.zip》
三、补充apache缺少的文件
以上执行完毕后,把mod_wl_20.so这个文件copy到/opt/apache2/moules下
mode_wl_20.so可以在bea \server\lib\linux\i686下找到
四、配置apache
Apache的配置文件在/opt/apache2/conf/httpd.conf,找到Listen 80这一行,在下面添加以下内容。
Include conf/weblogic.conf
在conf下新建一个文件: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>
五、运行和测试
#cd /opt/apache2/bin
#./apachectl start
启动apache
如果你输入http://apache所在IP/hdm 可以访问到14和17上部署的hdm,那么就证明已经配置成功了!
你shutdown14和17的任意一个机器,仍然可以访问
#./apachectl stop
关闭apache
六、注意事项
1、 根据将要布署的应用名要在weblogic.conf中配置一个location
2、 如果安装目录在/opt/apache2的话,可以直接copy现有的weblogic.conf和httpd.conf
标签:
Apache
金狮镖局 Design By www.egabc.com
金狮镖局
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
金狮镖局 Design By www.egabc.com
暂无Apache 安装和使用文档的评论...
更新日志
2024年06月03日
2024年06月03日
- 罗斯特洛波维奇、布里顿《舒伯特-阿佩乔尼奏鸣曲》1995[WAV+CUE]
- 群星《超高品质流行女声大碟 静听女人心 2CD》[WAV+CUE][1.3GB]
- BEYOND《无悔这一生 2023》 [WAV+CUE][690MB]
- 群星《30首最发烧经典老歌 情牵男人心 2CD》[WAV+CUE][1.4GB]
- 群星《不老的情歌-至尊版2CD》WAV分轨
- 岁月留声机群星《七十年代人金曲回顾》(黑胶)2CD[WAV分轨]
- 群星-世纪难忘金曲(迪安唱片)5CD[WAV]
- HenrietteFaure-DebussyEstampesPrludes,LivreI(MonoVersion)[FLAC]
- 吕方1992-弯弯十八首[香港][WAV+CUE]
- 经典歌曲珍藏专辑《民歌30年·真情依旧》3CD[WAV+CUE]
- 群星《时尚流行发烧极品 非同凡响 第一辑 2CD》[WAV/分轨][1.3GB]
- 陈曦《多年以后》HQⅡ头版限量编号[WAV+CUE][520MB]
- 孙露《用情 HQⅡ 2023》[WAV+CUE][380MB]
- 电影原声《速度与激情9电影原声大碟》2021[WAV+CUE]
- 【瑞鸣音乐】群星《伶歌》[XRCD2][WAV+CUE]