载入中。。。 'S bLog
 
载入中。。。
 
载入中。。。
载入中。。。
载入中。。。
载入中。。。
载入中。。。
 
填写您的邮件地址,订阅我们的精彩内容:


 
ubuntu10.10学习笔记
[ 2010/11/14 20:55:00 | By: 梦翔儿 ]
 

AWStats是一个分析Apache日志的软件

apt-get install Awstats

====

建立配置文件
/etc/apache2/awstats.conf

=======

Alias /awstatsclasses "/usr/share/awstats/lib/"
Alias /aswtats-icon/ "/usr/share/awstats/icon/"
Alias /awstatscss "/usr/share/doc/awstats/examples/css"
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
ScriptAlias /awstats/ /usr/lib/cgi-bin/
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch

=======

apache2.conf 追加

Include /etc/apache2/awstats.conf

=======

重载apache

/etc/init.d/apache2 reload

======

浏览器运行:http://127.0.0.1/awstats/awstats.pl

出错,建立配置:
/etc/awstats/awstats.127.0.0.1.conf

修改LogFile和SiteDomain

 /usr/bin/perl /usr/lib/cgi-bin/awstats.pl -update -config=127.0.0.1

================

apt-get install php5-memcache //php5 缓存管理软件

 
 
发表评论:
载入中。。。

 
 
 

梦翔儿网站 梦飞翔的地方 http://www.dreamflier.net
中华人民共和国信息产业部TCP/IP系统 备案序号:辽ICP备09000550号

Powered by Oblog.