linux 文档属于apache,Apache 安装和使用文档
Apache 安裝和使用文檔
更新時(shí)間:2009年11月26日 00:34:37 ? 作者:
Apache安裝和使用文檔
一、準(zhǔn)備工作:
1臺(tái)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
SetHandler weblogic-handler
WebLogicCluster 135.251.218.17:7013,135.251.218.14:7013
Debug ALL
WLTempDir "/opt/apache2/logs"
DebugConfigInfo ON
DynamicServerList OFF
SetHandler weblogic-handler
WebLogicCluster 135.251.218.17:7013,135.251.218.14:7013
Debug ALL
WLTempDir "/opt/apache2/logs"
DebugConfigInfo ON
DynamicServerList OFF
SetHandler weblogic-handler
WebLogicCluster 135.251.218.17:7013,135.251.218.14:7013
Debug ALL
WLTempDir "/opt/apache2/logs"
DebugConfigInfo ON
DynamicServerList OFF
SetHandler weblogic-handler
WebLogicCluster 135.251.218.17:7013,135.251.218.14:7013
Debug ALL
WLTempDir "/opt/apache2/logs"
DebugConfigInfo ON
DynamicServerList OFF
SetHandler weblogic-handler
WebLogicCluster 135.251.218.17:7013,135.251.218.14:7013
Debug ALL
WLTempDir "/opt/apache2/logs"
DebugConfigInfo ON
# DynamicServerList OFF
#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
五、運(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)文章
這篇文章主要介紹了 shell 命令行中操作HBase數(shù)據(jù)庫實(shí)例詳解的相關(guān)資料,需要的朋友可以參考下2016-11-11
這篇文章主要介紹了linux 命名管道實(shí)例詳解的相關(guān)資料,需要的朋友可以參考下2017-06-06
本文給大家介紹80端口被system占用導(dǎo)致Apache無法啟動(dòng)的解決方法,非常不錯(cuò),一起看看吧2016-12-12
原來那么簡單,安裝下面的東東,運(yùn)行,設(shè)置,搞定!2008-09-09
這篇文章主要介紹了ubuntu中修改grub的啟動(dòng)時(shí)間生成,文中通過示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧2019-10-10
nmap是Linux下常用的端口掃描工具,它可以檢測主機(jī)是否在線,是否開啟了某個(gè)服務(wù)端口,使用了何種操作系統(tǒng)等,下面是安裝方法和使用方法2013-12-12
這篇文章主要介紹了Linux使用stty顯示修改終端行設(shè)置,文中通過示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友可以參考下2020-09-09
這篇文章主要介紹了linux中rpm命令參數(shù)的使用方法,需要的朋友可以參考下2014-02-02
這篇文章主要介紹了詳解Linux下Tomcat開啟查看GC信息,小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,也給大家做個(gè)參考。一起跟隨小編過來看看吧2018-06-06
這篇文章主要介紹了centos7 安裝mysql和mysqlclient遇到的坑以及相關(guān)知識(shí)點(diǎn)代碼,有需要的朋友們參考下。2019-08-08
最新評(píng)論
總結(jié)
以上是生活随笔為你收集整理的linux 文档属于apache,Apache 安装和使用文档的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux mint 用户管理,Linu
- 下一篇: 宝塔linux面板假设nextcloud