EduUnix中国教育网Unix Linux资源 吉林工商学院站 / 安装相关文章 / Awstats for Linux简易安装、配置测试
Awstats for Linux简易安装、配置测试
2007-07-05          点击: 827
Awstats for Linux简易安装、配置测试(1)

  awstats简易安装文档

  step 1 安装

  1、 安装apache2.2.0

  tar jxvf httpd-2.2.0 tar.bz2

  cd httpd-2.2.0

  vi config.sh

  #!/bin/bash

  HTTPD_ROOT="/usr/local/apps/apache2"

  ./configure ——prefix=$HTTPD_ROOT \

  ——enable-so \

  ——enable-rewrite \

  ——enable-info \

  ——enable-cgid \

  ——enable-mime-magic \

  ——enable-vhost-alias \

  ——enable-deflate \

  ——enable-expires \

  ——with-mpm=prefork

  sh config.sh

  make

  make install

  2 、安装awstats6.5

  tar zxvf awstats-6.5.tar.gz

  mv awstats-6.5 /usr/apps/local/awstats

  step 2 配置

  1、apache配置

  vi /usr/local/apps/apache2/conf/httpd.conf

  DocumentRoot /usr/local/apps/awstats/wwwroot/

  ServerName irunnet.com

  ErrorLog "/usr/local/apps/apache2/logs/irunnet-error_log"

  CustomLog "/usr/local/apps/apache2/logs/irunnet-access_log" combined

  [root@mail bin]# ./apachectl stop

  [root@mail bin]# ./apachectl start

Awstats for Linux简易安装、配置测试(2) »
Copyright © 2006 -2008+ EduUnix中国教育网Unix Linux资源 吉林工商学院站