您现在的位置: 网页制作教程网 >> 服务器 >> Web 服务器 >> 文章正文

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

作者:计世网

来源:计世网

热度:

2007-11-18 11:27:07



  第四步:配置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访问日志文件位置

 OutputDir /usr/local/apache/htdocs/usage

 设定web访问统计输出目录

 HistoryName webalizer.hist

 Incremental yes

 HostName www.test.com

 PageType htm*PageType cgiPageType phtmlPageType php3PageType plPageType jsp

上一页  [1] [2] [3] 下一页


我来说两句:

1分 2分 3分 4分 5分
姓名: *


* 请各位网友遵纪守法并注意语言文明。
网站简介 | 联系方式 | 意见建议 | 版权说明
Copyright © 2007 All rights reserved
滇ICP备06006992号