




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、如何在AIX上升级HTTPd_Web服务器 By Qian Li如果在AIX上建立我们的web服务器,通常我们需要从系统附赠的光盘(Bonus Pack)中安装IBM Httpd服务器.我们可能会遇到两个棘手的问题:第一个当然是如果手边没有附赠的光盘(Bonus Pack),第二个是光盘中的版本过低不能满足我们的要求,那么这时我们是否只能望洋兴叹呢?答案当然是“否”。由于IBM Httpd的核心是Apache,所以我们完全可以得到最新、最好、最安全的Httpd服务器。那么我们如何升级成更新、更完善的Httpd服务器版本呢?请跟随我了解如何在AIX上升级HTTPd_Web服务器。解决方案:TOC
2、 o 1-3 h z第一步:获取资源This release fixes security problems affecting the Windows platform described in and. It also contains bug fixes and some new features. For details see the and the list.Apache 2.0 add-in modules are not compatible with Apache 1.3 modules. If you are running third party add-in modul
3、es, you will need to obtain new modules written for Apache 2.0 from that third party before you attempt to upgrade from Apache 1.3.Unix Source: Unix Source: Win32 Source: Win32 Binary (MSI Installer): 第二步:安装通常apache提供了简单并且丰富的安装方法,我们举例如下,请举一反三。查看原来的httpd版本# lslpp l|grep I http http_server.admin COMMI
4、TTED HTTP Server Administration http_server.base.rte COMMITTED HTTP Server Base Run-Time http_server.base.source COMMITTED HTTP Server Source Code http_server.frca COMMITTED HTTP Server Fast Response http_server.html.Ja_JP COMMITTED HTTP Server Documentation http_server.html.Zh_CN COMMITTED HTTP Ser
5、ver Documentation http_server.html.Zh_TW COMMITTED HTTP Server Documentation http_server.html.de_DE COMMITTED HTTP Server Documentation http_server.html.en_US COMMITTED HTTP Server Documentation - http_server.html.es_ES COMMITTED HTTP Server Documentation http_server.html.fr_FR COMMITTED HTTP Server
6、 Documentation http_server.html.it_IT COMMITTED HTTP Server Documentation http_server.html.ko_KR COMMITTED HTTP Server Documentation http_server.html.pt_BR COMMITTED HTTP Server Documentation http_server.man.en_US COMMITTED HTTP Server ManualPages - http_server.modules.fcgi COMMITTED HTTP Server Fas
7、t-CGI http_server.modules.ldap COMMITTED HTTP Server LDAP Module http_server.modules.ldap.128 COMMITTED HTTP Server LDAP Module http_server.modules.mt COMMITTED HTTP Server MT Module http_server.modules.snmp COMMITTED HTTP Server SNMP Module在下载的目录中安装新版本的httpd 2.0.45# uncompress httpd-2.0.45.tar.Z# t
8、ar xvf httpd-2.0.45.tar.Z# cd httpd-2.0.45# ls.deps LICENSE build include.gdbinit Makefile buildconf libhttpd.dsp.libs Makefile.in config.layout modulesABOUT_APACHE Makefile.win config.log modules.cApache.dsp NWGNUmakefile config.nice modules.loApache.dsw README config.status modules.oBuildBin.dsp R
9、EADME.platforms configure osCHANGES VERSIONING configure.in serverINSTALL acconfig.h docs srclibInstallBin.dsp acinclude.m4 emacs-style supportLAYOUT apachenw.mcp.zip httpd test仔细阅读文件”README, INSTALL ”如果你的系统已经配置好了编译环境,并且也安装了fileset “bos.adt.base”(如果没有,可以参考“如何在AIX安装使用免费c及c+编译器”)那么在这个优秀的apache下载包中,我们需
10、要做的是:$ ./configure -prefix=PREFIX $ make $ make install $ PREFIX/bin/apachectl start NOTES: * Replace PREFIX with the filesystem path under which Apache should be installed. A typical installation might use /usr/local/apache2 for PREFIX (without thequotes).具体过程(截取部分内容如下)(1) # ./configure prefix=/usr
11、/local/apache2checking for chosen layout. Apachechecking for working mkdir -p. yeschecking build system type. powerpc-ibm-aixchecking host system type. powerpc-ibm-aixchecking target system type. powerpc-ibm-aixConfiguring Apache Portable Runtime library .checking for APR. reconfigconfiguring packag
12、e in srclib/apr nowchecking build system type. powerpc-ibm-aixchecking host system type. powerpc-ibm-aixchecking target system type. powerpc-ibm-aixConfiguring APR libraryPlatform: powerpc-ibm-aixchecking for working mkdir -p. yesAPR Version: 0.9.3checking for chosen layout. aprchecking for gcc. gcc
13、checking for gcc option to accept ANSI C. none neededApplying APR hints file rules for powerpc-ibm-aix setting CPPFLAGS to -U_STR_ adding -D_USE_IRS to CPPFLAGS setting apr_iconv_inbuf_const to 1 setting apr_sysvsem_is_global to yes setting LDFLAGS to -Wl,-brtl(Default will be unix)checking whether
14、make sets $MAKE. yeschecking how to run the C preprocessor. gcc -Echecking whether to enable mod_rewrite. nochecking whether to enable mod_so.checking whether byte ordering is bigendian. yesRestore user-defined environment settings. restoring CPPFLAGS to setting EXTRA_CPPFLAGS to -U_STR_ -D_USE_IRS
15、-D_THREAD_SAFE restoring CFLAGS to setting EXTRA_LIBS to restoring INCLUDES to setting EXTRA_INCLUDES to -I/tmp/httpd-2.0.45/srclib/apr/include -I/qldConstruct makefiles and header files.creating config_vars.mkconfigure: creating ./config.statuscreating modules/metadata/Makefilecreating modules/prox
16、y/Makefilecreating test/Makefileconfig.status: creating docs/conf/httpd-std.confconfig.status: creating include/ap_config_layout.hfig.status: creating support/phf_abuse_log.cgiconfig.status: creating support/split-logfileconfig.status: creating build/rules.mkconfig.status: creating include/ap_config
17、_auto.hconfig.status: executing default commands#(2) # make Making all in srclibmake1: Entering directory /tmp/httpd-2.0.45/srclibMaking all in aprmake2: Entering directory /tmp/httpd-2.0.45/srclib/aprMaking all in stringsmake3: Entering directory /tmp/httpd-2.0.45/srclib/apr/strings/bin/sh /tmp/htt
18、pd-2.0.45/srclib/apr/libtool -silent -mode=compile gcc -g o/bin/sh /tmp/httpd-2.0.45/srclib/apr/libtool -silent -mode=compile gcc -g omake2: Leaving directory /tmp/httpd-2.0.45/supportmake1: Leaving directory /tmp/httpd-2.0.45/supportmake1: Entering directory /tmp/httpd-2.0.45/bin/sh /tmp/httpd-2.0.
19、45/srclib/apr/libtool -silent -mode=compile gcc -go/bin/sh /tmp/httpd-2.0.45/srclib/apr/libtool -silent -mode=link gcc -g -Olmake1: Leaving directory /tmp/httpd-2.0.45(3) # make installmake1: Entering directory /tmp/httpd-2.0.45/bin/sh /tmp/httpd-2.0.45/srclib/apr/libtool -silent -mode=compile gcc -
20、go/bin/sh /tmp/httpd-2.0.45/srclib/apr/libtool -silent -mode=link gcc -g -Olmake1: Leaving directory /tmp/httpd-2.0.45# make installMaking install in srclibmake1: Entering directory /tmp/httpd-2.0.45/srclibMaking install in aprdd LIBDIR to the LIBPATH environment variable during execution - use the
21、-Wl,-blibpath:LIBDIR:/usr/lib:/lib linker flagSee any operating system documentation about shared libraries formore information, such as the ld(1) and ld.so(8) manual pages.if -f build/apr_rules.mk ; then cp build/apr_rules.mk /usr/local/apache2/build; fi;if ! -d /usr/local/apache2/bin ; then /tmp/h
22、ttpd-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=install cp apr-config /lncp apr-config /usr/local/apache2/bin/apr-configMaking all in .make3: Entering directory /tmp/httpd-2.0.45/srclib/apr-util/hooksmake
23、4: Entering directory /tmp/httpd-2.0.45/srclib/apr-util/hooksmake4: Nothing to be done for local-all.Libraries have been installed in: /usr/local/apache2/libIf you ever happen to want to link against installed librariesin a given directory, LIBDIR, you must either use libtool, andspecify the full pa
24、thname of the library, or use the -LLIBDIR/bin/sh /tmp/httpd-2.0.45/srclib/apr/libtool -mode=install cp aprutil.exp /bcp aprutil.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.4
25、5/srclib/apr/libtool -mode=install cp apu-config /ln3: Leaving directory /tmp/httpd-2.0.45/modules/filtersmake2: Leaving directory /tmp/httpd-2.0.45/modules/filtersmake3: Leaving directory /tmp/httpd-2.0.45/modules/mappersmkdir /usr/local/apache2/cgi-binInstalling header filesInstalling man pages and online manualmkdir /usr/local/apache2/manmkdir /usr/local/apache2/manualInstalling build system filesmake1: Leaving directory /tmp/httpd-2.0.45第三步:启动服务器检查安装后的结果# cd /usr/local/apache2# ls -altotal 120drwxr-xr-x 15 root system 512 Apr 09 14:02 .drwxr-xr-x 8 bin bin 512 Apr 09
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025-2030中国LCD市场发展分析及市场趋势与投资方向研究报告
- 2025-2030中国130差速器行业市场现状分析及竞争格局与投资发展研究报告
- 2025-2030Y输液接头行业市场现状供需分析及投资评估规划分析研究报告
- 2025-2030OLED电视行业市场前景分析及发展趋势与投资风险研究报告
- 团队协作与工作计划的关系
- 班级卫生与环境美化方案计划
- 医疗行业服务质量提升策略计划
- 营销推广活动的详细安排计划
- 信息技术的安全防范措施计划
- 静脉留置穿刺和护理
- 2024年河南省中考满分作文《成功所至诸径共趋》
- 2025年陕西国防工业职业技术学院单招综合素质考试题库学生专用
- 2025年浙江宁波市奉化区农商控股集团有限公司招聘笔试参考题库附带答案详解
- 2025年安庆医药高等专科学校单招职业技能考试题库标准卷
- 2025年中考百日誓师大会校长发言稿:激扬青春志 决胜中考时
- (一模)2025年汕头市2025届高三高考第一次模拟考试 语文试卷(含答案详解)
- 上海浦东新区2024-2025高三上学期期末教学质量检测(一模)物理试卷(解析版)
- 2023年中小学心理健康教育课程标准
- 2025河南中烟工业限责任公司一线岗位招聘128人易考易错模拟试题(共500题)试卷后附参考答案
- 部编四下语文《口语交际:转述》公开课教案教学设计【一等奖】
- 云管理系统CRM系统操作手册
评论
0/150
提交评论