简介:awstats是在Sourceforge上发展很快的一个基于Perl的WEB日志分析工具,它可以为我们提供访问量,访问次数,页面浏览量,点击数,数据流量等 awstats网站http://awstats.sourceforge.net/ 我的虚拟机环境:Red Hat Enterprise Linux Server release 5.8 Apache/2.4.2 我的Web是编译安装的哦,大家注意路径哦 实验要求:主机:172.16.22.1 域名:www.test.com 通过awstats统计www.test.com的访问信息,并提供web页面查看 请检查perl环境是否安装了
[root@linuxsed ~]# perl -v
This is perl, v5.8.8 built for i386-linux-thread-multi
Copyright 1987-2006, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
-----> Restart Web server with '/sbin/service httpd restart'
AH00557: httpd: apr_sockaddr_info_get() failed for linuxsed
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
-----> Add update process inside a scheduler
Sorry, configure.pl does not support automatic add to cron yet.
You can do it manually by adding the following command to your cron: