[root@corshetldev01 apr-util]# tar zxvf httpd-2.2.23.tar.gz
[root@corshetldev01 apr-util]# cd /usr/local/src/httpd-2.2.23
[root@corshetldev01 httpd-2.2.23]# ls
ABOUT_APACHE config.layout httpd.dep libhttpd.dsp modules.o srclib
acinclude.m4 config.log httpd.dsp libhttpd.mak NOTICE support
Apache.dsw config.nice httpd.mak LICENSE NWGNUmakefile test
build config.status httpd.spec Makefile os VERSIONING
BuildAll.dsp configure include Makefile.in README
BuildBin.dsp configure.in INSTALL Makefile.win README.platforms
buildconf docs InstallBin.dsp modules README-win32.txt
buildmark.o emacs-style LAYOUT modules.c ROADMAP
CHANGES httpd libhttpd.dep modules.lo server
[root@corshetldev01 apr-util]# cd /usr/local/src/httpd-2.2.23/
[root@corshetldev01 apr-util]# cd srclib/
[root@corshetldev01 apr-util]# cd apr
[root@corshetldev01 apr-util]# ./configure --prefix=/usr/local/apr12
[root@corshetldev01 apr-util]# make clean
[root@corshetldev01 apr-util]# make
[root@corshetldev01 apr-util]# make install
[root@corshetldev01 apr]# cd ..
[root@corshetldev01 httpd-2.2.23]# cd apr-util/
[root@corshetldev01 apr-util]# ./configure --with-apr=/usr/local/apr12 --prefix=/usr/local/apr12-util
[root@corshetldev01 apr-util]# make clean
[root@corshetldev01 apr-util]# make
[root@corshetldev01 apr-util]# make install
[root@corshetldev01 apr-util]# cd /usr/local/src/httpd-2.2.23
[root@corshetldev01 apr-util]# ./configure --prefix=/usr/local/apache2_gme --enable-so --enable-rewrite --enable-mods-shared=all --with-apr=/usr/local/apr12 --with-apr-util=/usr/local/apr12-util
[root@corshetldev01 apr-util]# make
[root@corshetldev01 apr-util]# make install
查看当前的模块
[root@corshetldev01 modules]# ls /usr/local/apache2_gme/modules/
httpd.exp mod_authz_groupfile.so mod_env.so mod_mime.so
mod_actions.so mod_authz_host.so mod_expires.so mod_negotiation.so
mod_alias.so mod_authz_owner.so mod_ext_filter.so mod_reqtimeout.so
mod_asis.so mod_authz_user.so mod_filter.so mod_rewrite.so
mod_auth_basic.so mod_autoindex.so mod_headers.so mod_setenvif.so
mod_auth_digest.so mod_cern_meta.so mod_ident.so mod_speling.so
mod_authn_anon.so mod_cgi.so mod_imagemap.so mod_status.so
mod_authn_dbd.so mod_dav_fs.so mod_include.so mod_substitute.so
mod_authn_dbm.so mod_dav.so mod_info.so mod_unique_id.so
mod_authn_default.so mod_dbd.so mod_log_config.so mod_userdir.so
mod_authn_file.so mod_deflate.so mod_log_forensic.so mod_usertrack.so
mod_authz_dbm.so mod_dir.so mod_logio.so mod_version.so
mod_authz_default.so mod_dumpio.so mod_mime_magic.so mod_vhost_alias.so
[root@corshetldev01 modules]#
[root@corshetldev01 apache2_gme]# cd /usr/local/apache2_gme/bin/
[root@corshetldev01 apr-util]# ./apachectl start
阅读(2656) | 评论(0) | 转发(0) |