在操作系统中输入命令:sudo aptitude install awstats进行安装。
检查已安装 awstats 的版本:sudo aptitude show awstats输出内容如下:root@verani-iweb2:/usr/local/tomcat/logs/qabp.pruverani.com# sudo aptitude show awstats
Package: awstats
State: installed
Automatically installed: no
Version: 6.9.5~dfsg-3ubuntu0.2
Priority: optional
Section: web
Maintainer: Ubuntu Core Developers <[email protected]>
Uncompressed Size: 5,353k
Depends: perl
Recommends: libnet-xwhois-perl
Suggests: apache2 | httpd, libnet-dns-perl, libnet-ip-perl, libgeo-ipfree-perl, liburi-perl
Description: powerful and featureful web server log analyzer
Advanced Web Statistics (AWStats) is a powerful web server logfile analyzer written in perl that shows you all your web statistics
including visits, unique visitors, pages, hits, rush hours, search engines, keywords used to find your site, robots, broken links
and more. Gives more detailed information and better graphical charts than webalizer, and is easier to use. Works with several web
server log format as a CGI and/or from command line. Supports more than 30 languages.
Homepage: http://awstats.sourceforge.net/
root@verani-iweb2:/usr/local/tomcat/logs/qabp.pruverani.com#![]()