对Apache Web 服务器的完全安装指南

http://tech.ddvip.com   2007年03月11日    社区交流

本文详细介绍对Apache Web 服务器的完全安装指南

  2、安装

  $ perl Makefile.PL EVERYTHING=1 APACHE_SRC=……/apache_1.3.20/src USE_APACI=1 PREP_HTTPD=1 DO_HTTPD=1 $ make $ make install

  第四步:配置apache

  # cd apache_1.3.20# ./configure

  第五步:安装php

  1、解压

  # tar xvfz php-4.0.6.tar.gz

  2、安装

# cd php-4.0.6# CFLAGS='-O2 -I/usr/local/ssl/include/openssl'# ./configure
——with-apache=……/apache_1.3.20 ——with-mysql ——with-gd=……/gd-1.8.4
——enable-memory-limit=yes ——enable-debug=no # gmake# gmake install

  第六步:安装apache

# SSL_BASE=……/openssl-0.9.6b# ./configure ——enable-module=ssl
——activate-module=src/modules/perl/libperl.a ——enable-module=perl
——activate-module=src/modules/php4/libphp4.a ——enable-module=php4
# make# make certificate # make install

  第七步:安装gd

  # make all# cp libgd.a /usr/lib# cp gd*.h /usr/include/

  第八步:安装webalizer

  1、解压

  # tar xvfI webalizer-2.01-06-src.tar.bz2

  2、安装

  # cd webalizer-2.01-06# ./configure# make# make install

  3、配置

  将/etc/下的webalizer.conf.sample改名为webalizer.conf

  根据服务器实际修改其中的以下内容:

  LogFile /usr/local/apache/logs/access_log

  设定www访问日志文件位置

责编:豆豆技术应用

正在加载评论...