




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
20/20如何在AIX上升級HTTPd_Web服務(wù)器ByQianLi假如在AIX上建立我們的web服務(wù)器,通常我們需要從系統(tǒng)附贈的光盤(BonusPack)中安裝IBMHttpd服務(wù)器.我們可能會遇到兩個棘手的問題:第一個因此是假如手邊沒有附贈的光盤(BonusPack),第二個是光盤中的版本過低不能滿足我們的要求,那么這時我們是否只能望洋興嘆呢?答案因此是“否”。由于IBMHttpd的核心是Apache,因此我們完全能夠得到最新、最好、最安全的Httpd服務(wù)器。那么我們?nèi)绾紊壋筛?、更完善的Httpd服務(wù)器版本呢?請跟隨我了解如何在AIX上升級HTTPd_Web服務(wù)器。解決方案:TOC\o"1-3"\h\z第一步:獵取資源Apache2.0.45isthebestavailableversionThisreleasefixessecurityproblemsaffectingtheWindowsplatformdescribedinand.Italsocontainsbugfixesandsomenewfeatures.Fordetailsseetheandthelist.Apache2.0add-inmodulesarenotcompatiblewithApache1.3modules.Ifyouarerunningthirdpartyadd-inmodules,youwillneedtoobtainnewmoduleswrittenforApache2.0fromthatthirdpartybeforeyouattempttoupgradefromApache1.3.UnixSource:[][]UnixSource:[][]Win32Source:[][]Win32Binary(MSIInstaller):[][]Apache1.3.27isalsoavailable第二步:安裝通常apache提供了簡單同時豐富的安裝方法,我們舉例如下,請舉一反三。查看原來的httpd版本#lslpp–l|grep–Ihttphttp_server.adminCOMMITTEDHTTPServerAdministrationhttp_server.base.rteCOMMITTEDHTTPServerBaseRun-Timehttp_server.base.sourceCOMMITTEDHTTPServerSourceCodehttp_server.frcaCOMMITTEDHTTPServerFastResponsehttp_server.html.Ja_JPCOMMITTEDHTTPServerDocumentationhttp_server.html.Zh_CNCOMMITTEDHTTPServerDocumentationhttp_server.html.Zh_TWCOMMITTEDHTTPServerDocumentationhttp_server.html.de_DECOMMITTEDHTTPServerDocumentationhttp_server.html.en_USCOMMITTEDHTTPServerDocumentation-http_server.html.es_ESCOMMITTEDHTTPServerDocumentationhttp_server.html.fr_FRCOMMITTEDHTTPServerDocumentationhttp_server.html.it_ITCOMMITTEDHTTPServerDocumentationhttp_server.html.ko_KRCOMMITTEDHTTPServerDocumentationhttp_server.html.pt_BRCOMMITTEDHTTPServerDocumentationhttp_server.man.en_USCOMMITTEDHTTPServerManualPages-http_server.modules.fcgiCOMMITTEDHTTPServerFast-CGIhttp_server.modules.ldapCOMMITTEDHTTPServerLDAPModulehttp_server.modules.ldap.128COMMITTEDHTTPServerLDAPModulehttp_server.modules.mtCOMMITTEDHTTPServerMTModulehttp_server.modules.snmpCOMMITTEDHTTPServerSNMPModule在下載的目錄中安裝新版本的httpd2.0.45#uncompresshttpd-2.0.45.tar.Z#tarxvfhttpd-2.0.45.tar.Z#cdhttpd-2.0.45#ls.depsLICENSEbuildinclude.gdbinitMakefilebuildconflibhttpd.dsp.libsMakefile.inconfig.layoutmodulesABOUT_APACHEMakefile.winconfig.logmodules.cApache.dspNWGNUmakefileconfig.nicemodules.loApache.dswREADMEconfig.statusmodules.oBuildBin.dspREADME.platformsconfigureosCHANGESVERSIONINGconfigure.inserverINSTALLacconfig.hdocssrclibInstallBin.dspacinclude.m4emacs-stylesupportLAYOUTapachenw.mcp.ziphttpdtest認真閱讀文件”README,INSTALL”假如你的系統(tǒng)差不多配置好了編譯環(huán)境,同時也安裝了fileset“bos.adt.base”(假如沒有,能夠參考“如何在AIX安裝使用免費c及c++編譯器”)那么在那個優(yōu)秀的apache下載包中,我們需要做的是:$./configure--prefix=PREFIX$make$makeinstall$PREFIX/bin/apachectlstartNOTES:*ReplacePREFIXwiththefilesystempathunderwhichApacheshouldbeinstalled.Atypicalinstallationmightuse"/usr/local/apache2"forPREFIX(withoutthequotes).具體過程(截取部分內(nèi)容如下)(1)#./configure–prefix=/usr/local/apache2checkingforchosenlayout...Apachecheckingforworkingmkdir-p...yescheckingbuildsystemtype...powerpc-ibm-aixcheckinghostsystemtype...powerpc-ibm-aixcheckingtargetsystemtype...powerpc-ibm-aixConfiguringApachePortableRuntimelibrary...checkingforAPR...reconfigconfiguringpackageinsrclib/aprnowcheckingbuildsystemtype...powerpc-ibm-aixcheckinghostsystemtype...powerpc-ibm-aixcheckingtargetsystemtype...powerpc-ibm-aixConfiguringAPRlibraryPlatform:powerpc-ibm-aixcheckingforworkingmkdir-p...yesAPRVersion:0.9.3checkingforchosenlayout...aprcheckingforgcc...gcccheckingforgccoptiontoacceptANSIC...noneneededApplyingAPRhintsfilerulesforpowerpc-ibm-aixsettingCPPFLAGSto"-U__STR__"adding"-D_USE_IRS"toCPPFLAGSsettingapr_iconv_inbuf_constto"1"settingapr_sysvsem_is_globalto"yes"settingLDFLAGSto"-Wl,-brtl"(Defaultwillbeunix)checkingwhethermakesets${MAKE}...yescheckinghowtoruntheCpreprocessor...gcc-Echeckingwhethertoenablemod_rewrite...nocheckingwhethertoenablemod_so...checkingwhetherbyteorderingisbigendian...yesRestoreuser-definedenvironmentsettings...restoringCPPFLAGSto""settingEXTRA_CPPFLAGSto"-U__STR__-D_USE_IRS-D_THREAD_SAFE"restoringCFLAGSto""settingEXTRA_LIBSto""restoringINCLUDESto""settingEXTRA_INCLUDESto"-I/tmp/httpd-2.0.45/srclib/apr/include-I/qld"Constructmakefilesandheaderfiles...creatingconfig_vars.mkconfigure:creating./config.statuscreatingmodules/metadata/Makefilecreatingmodules/proxy/Makefilecreatingtest/Makefileconfig.status:creatingdocs/conf/httpd-std.confconfig.status:creatinginclude/ap_config_layout.hfig.status:creatingsupport/phf_abuse_log.cgiconfig.status:creatingsupport/split-logfileconfig.status:creatingbuild/rules.mkconfig.status:creatinginclude/ap_config_auto.hconfig.status:executingdefaultcommands#(2)#makeMakingallinsrclibmake[1]:Enteringdirectory`/tmp/httpd-2.0.45/srclib'Makingallinaprmake[2]:Enteringdirectory`/tmp/httpd-2.0.45/srclib/apr'Makingallinstringsmake[3]:Enteringdirectory`/tmp/httpd-2.0.45/srclib/apr/strings'/bin/sh/tmp/httpd-2.0.45/srclib/apr/libtool--silent--mode=compilegcc-go/bin/sh/tmp/httpd-2.0.45/srclib/apr/libtool--silent--mode=compilegcc-gomake[2]:Leavingdirectory`/tmp/httpd-2.0.45/support'make[1]:Leavingdirectory`/tmp/httpd-2.0.45/support'make[1]:Enteringdirectory`/tmp/httpd-2.0.45'/bin/sh/tmp/httpd-2.0.45/srclib/apr/libtool--silent--mode=compilegcc-go/bin/sh/tmp/httpd-2.0.45/srclib/apr/libtool--silent--mode=linkgcc-g-Olmake[1]:Leavingdirectory`/tmp/httpd-2.0.45'(3)#makeinstallmake[1]:Enteringdirectory`/tmp/httpd-2.0.45'/bin/sh/tmp/httpd-2.0.45/srclib/apr/libtool--silent--mode=compilegcc-go/bin/sh/tmp/httpd-2.0.45/srclib/apr/libtool--silent--mode=linkgcc-g-Olmake[1]:Leavingdirectory`/tmp/httpd-2.0.45'##makeinstallMakinginstallinsrclibmake[1]:Enteringdirectory`/tmp/httpd-2.0.45/srclib'MakinginstallinaprddLIBDIRtothe`LIBPATH'environmentvariableduringexecution-usethe`-Wl,-blibpath:LIBDIR:/usr/lib:/lib'linkerflagSeeanyoperatingsystemdocumentationaboutsharedlibrariesformoreinformation,suchastheld(1)andld.so(8)manualpages.if[-fbuild/apr_rules.mk];then\cpbuild/apr_rules.mk/usr/local/apache2/build;\fi;if[!-d/usr/local/apache2/bin];then\/tmp/httpd-2.0.45/srclib/apr/build/mkdir.sh/usr/local/apache2/bin;\fi;mkdir/usr/local/apache2/bin/bin/sh/tmp/httpd-2.0.45/srclib/apr/libtool--mode=installcpapr-config/lncpapr-config/usr/local/apache2/bin/apr-configMakingallin.make[3]:Enteringdirectory`/tmp/httpd-2.0.45/srclib/apr-util/hooks'make[4]:Enteringdirectory`/tmp/httpd-2.0.45/srclib/apr-util/hooks'make[4]:Nothingtobedonefor`local-all'.Librarieshavebeeninstalledin:/usr/local/apache2/libIfyoueverhappentowanttolinkagainstinstalledlibrariesinagivendirectory,LIBDIR,youmusteitheruselibtool,andspecifythefullpathnameofthelibrary,orusethe`-LLIBDIR'/bin/sh/tmp/httpd-2.0.45/srclib/apr/libtool--mode=installcpaprutil.exp/bcpaprutil.exp/usr/local/apache2/lib/aprutil.expif[!-d/usr/local/apache2/bin];then\/tmp/httpd-2.0.45/srclib/apr/build/mkdir.sh/usr/local/apache2/bin;\fi;/bin/sh/tmp/httpd-2.0.45/srclib/apr/libtool--mode=installcpapu-config/ln[3]:Leavingdirectory`/tmp/httpd-2.0.45/modules/filters'make[2]:Leavingdirectory`/tmp/httpd-2.0.45/modules/filters'make[3]:Leavingdirectory`/tmp/httpd-2.0.45/modules/mappers'mkdir/usr/local/apache2/cgi-binInstallingheaderfilesInstallingmanpagesandonlinemanualmkdir/usr/local/apache2/manmkdir/usr/local/apache2/manualInstallingbuildsystemfilesmake[1]:Leavingdirectory`/tmp/httpd-2.0.45'第三步:啟動服務(wù)器檢查安裝后的結(jié)果#cd/usr/local/apache2#ls-altotal120drwxr-xr-x15rootsystem512Apr0914:02.drwxr-xr-x8binbin512Apr0918:05..drwxr-xr-x2rootsystem512Apr0914:02bindrwxr-xr-x2
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 軌道交通工程電氣設(shè)備與系統(tǒng)設(shè)計考核試卷
- 通信設(shè)備在智能工廠設(shè)備預(yù)測性維護考核試卷
- 金融行業(yè)碳金融與綠色投資考核試卷
- 學(xué)院儀器設(shè)備管理制度
- 員工文明就餐管理制度
- 2025項目管理軟件開發(fā)合同范本
- 學(xué)生會宣傳部管理制度
- 2025企業(yè)管理資料范本電子產(chǎn)品采購合同(上游)
- 室內(nèi)臨時電梯管理制度
- 員工宿舍寢室管理制度
- EPC項目投標(biāo)文件
- 勝任力模型-財務(wù)
- 陶行知教育名篇讀書分享ppt
- 深圳中考志愿表格模板
- 2023浙江衢州市江山市定向培養(yǎng)鄉(xiāng)鎮(zhèn)文化員招生(招聘)1人考試備考試題及答案解析
- 電力系統(tǒng)三相短路電流的計算課程設(shè)計論文
- 村衛(wèi)生室醫(yī)保自查自糾報告及整改措施
- 部編版道德與法治五年級下冊期末綜合測試卷含答案(共6套)
- 鄭州市第四中學(xué)初一新生分班(摸底)數(shù)學(xué)模擬考試(含答案)【6套試卷】
- 衢州市建筑工程質(zhì)量通病防治措施
- 高邊坡專項檢查記錄表格
評論
0/150
提交評論