awstats日志分析解析 工具的作用跟安装文档.doc

awstats日志分析解析 工具的作用跟安装文档.doc

  1. 1、本文档共2页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
awstats日志分析解析 工具的作用跟安装文档

awstats日志分析工具的安装和使用 awstats是一个较好的日志分析工具,主要是用来分析apache和iis的日志,对日志格式重新配置之后可支持nginx。awstats需要perl支持,需先安装perl。 使用方式上,为避免在web服务器上运行统计程序影响系统负载,计划每天把日志文件下载到另外的计算机,运行统计程序。 安装步骤(windows下): 1 下载windows版awstats和perl 2 运行perl安装程序,安装perl环境 3 运行awstats安装程序,安装awstats 4 awstats安装过程中配置参数,如下 ----- Check for web server install Enter full config file path of your Web server. Example: /etc/httpd/httpd.conf Example: /usr/local/apache2/conf/httpd.conf Example: c:\Program files\apache group\apache\conf\httpd.conf Config file path (none to skip web server setup): # none #因为我们这里用的是 Nginx,所以写 none,跳过。 回车 Your web server config file(s) could not be found. You will need to setup your web server manually to declare AWStats script as a CGI, if you want to build reports dynamically. See AWStats setup documentation (file docs/index.html) ----- 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 #y 创建一个新的统计配置 回车 ----- Define config file name to create What is the name of your web site or profile analysis ? Example: Example: demo Your web site, virtual server or profile name: # #统计网站的域名 例: 回车 ----- 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): # 使用默认直接回车,接下来便会出现以下的提示 ---- 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= 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... 回车继续 安装结束 以上为windows下的安装,linux下的安装过程与此类似 5 修改配置文件,修改cgi-bin中的awstats.model.conf为.conf,修改文件中的 配置参数,写入日志文件路径、日志格式、域名、生成的统计文件等参数。 6 编写运行

文档评论(0)

karin + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档