版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
20/20如何在AIX上升級(jí)HTTPd_Web服務(wù)器ByQianLi假如在AIX上建立我們的web服務(wù)器,通常我們需要從系統(tǒng)附贈(zèng)的光盤(BonusPack)中安裝IBMHttpd服務(wù)器.我們可能會(huì)遇到兩個(gè)棘手的問(wèn)題:第一個(gè)因此是假如手邊沒(méi)有附贈(zèng)的光盤(BonusPack),第二個(gè)是光盤中的版本過(guò)低不能滿足我們的要求,那么這時(shí)我們是否只能望洋興嘆呢?答案因此是“否”。由于IBMHttpd的核心是Apache,因此我們完全能夠得到最新、最好、最安全的Httpd服務(wù)器。那么我們?nèi)绾紊?jí)成更新、更完善的Httpd服務(wù)器版本呢?請(qǐng)跟隨我了解如何在AIX上升級(jí)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提供了簡(jiǎn)單同時(shí)豐富的安裝方法,我們舉例如下,請(qǐng)舉一反三。查看原來(lái)的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認(rèn)真閱讀文件”README,INSTALL”假如你的系統(tǒng)差不多配置好了編譯環(huán)境,同時(shí)也安裝了fileset“bos.adt.base”(假如沒(méi)有,能夠參考“如何在AIX安裝使用免費(fèi)c及c++編譯器”)那么在那個(gè)優(yōu)秀的apache下載包中,我們需要做的是:$./configure--prefix=PREFIX$make$makeinstall$PREFIX/bin/apachectlstartNOTES:*ReplacePREFIXwiththefilesystempathunderwhichApacheshouldbeinstalled.Atypicalinstallationmightuse"/usr/local/apache2"forPREFIX(withoutthequotes).具體過(guò)程(截取部分內(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'第三步:?jiǎn)?dòng)服務(wù)器檢查安裝后的結(jié)果#cd/usr/local/apache2#ls-altotal120drwxr-xr-x15rootsystem512Apr0914:02.drwxr-xr-x8binbin512Apr0918:05..drwxr-xr-x2rootsystem512Apr0914:02bindrwxr-xr-x2
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 保健品批發(fā)商的社區(qū)健康宣傳效果評(píng)估考核試卷
- 2025年信息安全技術(shù)協(xié)議
- 2025年婚慶策劃特許經(jīng)營(yíng)合同
- 2025年室外海灘保險(xiǎn)協(xié)議
- 二零二五年度影視行業(yè)模特肖像權(quán)與隱私保護(hù)合同樣本4篇
- 二零二五年度抖音與生活方式品牌合作合同9篇
- 二零二五年度船舶制造設(shè)備采購(gòu)與安裝合同
- 2025年沙石零售行業(yè)深度研究分析報(bào)告
- 二零二五年度出借信息咨詢與金融科技解決方案合同4篇
- 2024年金融科技產(chǎn)品創(chuàng)新與推廣合同
- 我的家鄉(xiāng)瓊海
- (2025)專業(yè)技術(shù)人員繼續(xù)教育公需課題庫(kù)(附含答案)
- 《互聯(lián)網(wǎng)現(xiàn)狀和發(fā)展》課件
- 【MOOC】計(jì)算機(jī)組成原理-電子科技大學(xué) 中國(guó)大學(xué)慕課MOOC答案
- 2024年上海健康醫(yī)學(xué)院?jiǎn)握新殬I(yè)適應(yīng)性測(cè)試題庫(kù)及答案解析
- 2024年湖北省武漢市中考語(yǔ)文適應(yīng)性試卷
- 非新生兒破傷風(fēng)診療規(guī)范(2024年版)解讀
- EDIFIER漫步者S880使用說(shuō)明書
- 皮膚惡性黑色素瘤-疾病研究白皮書
- 從心理學(xué)看現(xiàn)代家庭教育課件
- C語(yǔ)言程序設(shè)計(jì)PPT(第7版)高職完整全套教學(xué)課件
評(píng)論
0/150
提交評(píng)論