手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

很强大的网站分析利器 AWStats

[日期:2013-09-29] 来源:Linux社区  作者:quanliyadan [字体:大 中 小]

AWStats简单介绍

AWStats是在Sourcefroge上发展很快的一个基于perl的web日志分析工具。与其他工具相比,其优势在于

1. 界面友好,可以根据浏览器直接调用相应的语言界面(支持中文);

2.基于perl,并且很好的解决了跨平台的问题

3. 效率比较高,对于一个日访问量百万的网站,是可以承受的

4. 配置方便简单

5. 可以自由扩展。

页面可以提供的信息

1、访问量,访问次数、页面浏览量、点击数、数据流量等。

2、精确到每月、每日、每小时的数据。

3、访问者国家。

4、访问者IP

5、robots/spiders的统计

6、访问者持续访问时间

7、文件类型的统计信息

8、客户的浏览器信息

……

很强大的网站分析利器 AWStats

Linux下安装AWStats:

wget http://nchc.dl.sourceforge.net/project/awstats/AWStats/7.0/awstats-7.0.tar.gz

[root@localhost src]# tar xf awstats-7.0.tar.gz -C /usr/local/
[root@localhost src]# cd /usr/local/
[root@localhost local]# mv awstats-7.0 awstats


[root@localhost local]# cd ./awstats/
[root@localhost awstats]# ls
docs  README.TXT  tools  wwwroot


[root@localhost tools]# perl awstats_configure.pl


…………

-----> Update model config file '/usr/local/awstats/wwwroot/cgi-bin/awstats.model.conf'
  File awstats.model.conf updated.


-----> Need to create a new config file ?
Do you want me to build a new AWStats config/profile
file (required if first install) [y/N] ? y


-----> Define config file name to create
What is the name of your web site or profile analysis ?
Example: www.mysite.com
Example: demo
Your web site, virtual server or profile name:


> www.xxx.com


-----> Define config file path
In which directory do you plan to store your config file(s) ?
Default: /etc/awstats
Directory path to store config file(s) (Enter for default):
>


-----> Create config file '/etc/awstats/awstats.www.kissing.com.conf'
 Config file /etc/awstats/awstats.www.kissing.com.conf created.


-----> 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:
/usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=www.kissing.com
Or if you have several config files and prefer having only one command:
/usr/local/awstats/tools/awstats_updateall.pl now
Press ENTER to continue...

A SIMPLE config file has been created: /etc/awstats/awstats.www.kissing.com.conf
You should have a look inside to check and change manually main parameters.
You can then manually update your statistics for 'www.kissing.com' with command:
> perl awstats.pl -update -config=www.kissing.com
You can also read your statistics for 'www.kissing.com' with URL:
> http://localhost/awstats/awstats.pl?config=www.xxx.com(等会用这个地址访问,如果不是本机,将localhost换成本机的IP地址)


Press ENTER to finish...

推荐阅读:

CentOS 6.3下AWStats+GeoIP实现查看网站访问归属地 http://www.linuxidc.com/Linux/2013-06/85984.htm

Nginx 日志分析 AWStats + JAWStats 安装配置 http://www.linuxidc.com/Linux/2013-06/85567.htm

经典日志分析工具-AWStats http://www.linuxidc.com/Linux/2012-12/77080.htm

AWStats日志系统配置文件和错误归纳 http://www.linuxidc.com/Linux/2012-12/75657.htm

使用AWStats分析网站日志-强大的日志分析工具 http://www.linuxidc.com/Linux/2012-11/74431.htm

AWStats 的详细介绍:请点这里
AWStats 的下载地址:请点这里

linux
相关资讯       AWStats 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款