awstats日志分析工具的安装和使用awstats是一个较好的日志分析工具,主要是用来分析apache和iis的日志,对日志格式重新配置之后可支持nginx。awstats需要perl支持,需先安装perl。使用方式上,为避免在web服务器上运行统计程序影响系统负载,计划每天把日志文件下载到另外的计算机,运行统计程序。安装步骤(windows下):1下载windows版awstats和perl2运行perl安装程序,安装perl环境3运行awstats安装程序,安装awstats4awstats安装过程中配置参数,如下----->:/etc/httpd/Example:/usr/local/apache2/conf/Example:c:\Programfiles\apachegroup\apache\conf\Configfilepath('none'toskipwebserversetup):#>none#因为我们这里用的是Nginx,所以写none,跳过。回车Yourwebserverconfigfile(s),(filedocs/)----->Updatemodelconfigfile'/usr/local/awstats//'Fileupdated.----->Needtocreateanewconfigfile?DoyouwantmetobuildanewAWStatsconfig/profilefile(requirediffirstinstall)[y/N]?#>y#y创建一个新的统计配置回车----->DefineconfigfilenametocreateWhatisthenameofyourwebsiteorprofileanalysis?Example:Example:demoYourwebsite,virtualserverorprofilename:#>#统计网站的域名例:回车----->DefineconfigfilepathInwhichdirectorydoyouplantostoreyourconfigfile(s)?Default:/etc/awstatsDirectorypathtostoreconfigfile(s)(Enterfordefault):#>使用默认直接回车,接下来便会出现以下的提示---->AddupdateprocessinsideaschedulerSorry,
awstats日志分析工具的作用和安装 来自淘豆网m.daumloan.com转载请标明出处.