AwstatsforLinux简易安装、配置及测试
文章作者 100test 发表时间 2007:07:12 11:58:42
来源 100Test.Com百考试题网
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
src="/linux/js/wxgg_linux.js">