AWStats配置与应用详细讲解Word文件下载.docx

上传人:b****1 文档编号:15019368 上传时间:2022-10-26 格式:DOCX 页数:23 大小:342.57KB
下载 相关 举报
AWStats配置与应用详细讲解Word文件下载.docx_第1页
第1页 / 共23页
AWStats配置与应用详细讲解Word文件下载.docx_第2页
第2页 / 共23页
AWStats配置与应用详细讲解Word文件下载.docx_第3页
第3页 / 共23页
AWStats配置与应用详细讲解Word文件下载.docx_第4页
第4页 / 共23页
AWStats配置与应用详细讲解Word文件下载.docx_第5页
第5页 / 共23页
点击查看更多>>
下载资源
资源描述

AWStats配置与应用详细讲解Word文件下载.docx

《AWStats配置与应用详细讲解Word文件下载.docx》由会员分享,可在线阅读,更多相关《AWStats配置与应用详细讲解Word文件下载.docx(23页珍藏版)》请在冰豆网上搜索。

AWStats配置与应用详细讲解Word文件下载.docx

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

③访问者国家

④访问者IP

⑤Robots/Spiders的统计

⑥纺客持续时间

⑦对不同Filestype的统计信息

⑧Pages-URL的统计

⑨访客操作系统浏览器等信息

其它信息(搜索关键字等等)

AWStats是一个免费的强大而有个性的工具,带来先进的网络流量,FTP或服务器统计图。

本日志分析器作为CGI或从命令行在数个图形网页中显示你日志中包含的所有可能信息。

它利用一部分档案资料就能经常很快地处理大量日志档案,它能分析日志文件来自从各大服务器工具,如Apache日志档案(NCSAcombined/XLF/ELFlogformatorcommon/CLFlogformat),WebStar,IIS(W3C的日志格式)及许多其他,Proxy(代理服务器)、Wap、流量服务器、服务器和一些FTP服务器。

看一看这个比较表在最著名统计工具(AWStats,Analog,Webalizer,...)之间有何特点和不同的想法.

AWStats是一个在GNU通用公共许可证下发行的免费软件。

你可以看看这个许可证图表而知道你可以/不可以做。

由于AWStats工程来自网上信息,但也作为CGI、它可以与允许进入Perl,CGI与日志的大型主办提供商一起工作。

【下载·

安装】

打开页面:

#wget

也可下载

#rpm-ivhawstats-6.9-1.noarch.rpm

Preparing...###########################################[100%]

1:

awstats###########################################[100%]

-----AWStats6.9-LaurentDestailleur-----

AWStatsfileshavebeeninstalledin/usr/local/awstats

Iffirstinstall,followinstructionsindocumentation

(/usr/local/awstats/docs/index.html)tosetupAWStatsin3steps:

Step1:

InstallandSetupwithawstats_configure.pl(ormanually)

Step2:

Build/UpdateStatisticswithawstats.pl

Step3:

ReadStatistics

#whereisawstats

awstats:

/usr/etc/awstats

/usr/local/awstats

【配置awstats】

awstats要求将http.conf中的CustomLog/yourlogpath/yourlogfilecommon改为CustomLog/yourlogpath/yourlogfilecombined,我看了一下,我默认的就是combined,可能现在新版本默认的都是这个吧,那就不用改了。

再进入/usr/local/awstats/tools里,运行./awstats_configure.pl启动安装向导,

#cd/usr/local/awstats/tools

#./awstats_configure.pl

-----AWStatsawstats_configure1.0(build1.8)(c)LaurentDestailleur-----

ThistoolwillhelpyoutoconfigureAWStatstoanalyzestatisticsfor

onewebserver.Youcantrytouseittoletitdoallthatispossible

inAWStatssetup,howeverfollowingthestepbystepmanualsetup

documentation(docs/index.html)isoftenabetteridea.Aboveallif:

-Youarenotanadministratoruser,

-Youwanttoanalyzedownloadedlogfileswithoutwebserver,

-Youwanttoanalyzemailorftplogfilesinsteadofweblogfiles,

-Youneedtoanalyzeloadbalancedserverslogfiles,

-Youwantto'

understand'

allpossiblewaystouseAWStats...

ReadtheAWStatsdocumentation(docs/index.html).

----->

RunningOSdetected:

Linux,BSDorUnix

Checkforwebserverinstall

EnterfullconfigfilepathofyourWebserver.

Example:

/etc/httpd/httpd.conf

/usr/local/apache2/conf/httpd.conf

c:

\Programfiles\apachegroup\apache\conf\httpd.conf

Configfilepath('

none'

toskipwebserversetup):

>

/etc/httpd/conf/httpd.conf

输入你httpd.conf的路径。

对于httpd2系列的一般都在/etc/httpd/conf/这个目录下面,这里将awstats的配置信息直接写入了httpd.conf。

Checkandcompletewebserverconfigfile'

/etc/httpd/conf/httpd.conf'

Add'

Alias/awstatsclasses"

/usr/local/awstats/wwwroot/classes/"

'

Alias/awstatscss"

/usr/local/awstats/wwwroot/css/"

Alias/awstatsicons"

/usr/local/awstats/wwwroot/icon/"

ScriptAlias/awstats/"

/usr/local/awstats/wwwroot/cgi-bin/"

<

Directory>

directive

AWStatsdirectivesaddedtoApacheconfigfile.

Needtocreateanewconfigfile?

DoyouwantmetobuildanewAWStatsconfig/profile

file(requirediffirstinstall)[y/N]?

y

Defineconfigfilenametocreate

Whatisthenameofyourwebsiteorprofileanalysis?

.mysite.

demo

Yourwebsite,virtualserverorprofilename:

qu6zhi.

下面是要生成conf文件的名称了,因为conf文件的名称都是awstats.yourdomainname.conf格式的,所以这里要求你输入你要监测的域名,其实这个域名只是与其他域名相区分的,并不一定非要真实的。

Defineconfigfilepath

Inwhichdirectorydoyouplantostoreyourconfigfile(s)?

Default:

/etc/awstats

Directorypathtostoreconfigfile(s)(Enterfordefault):

这里是让你输入配置文件的路径,直接回车会执行默认的,当然你也可以自己定义。

Createconfigfile'

/etc/awstats/awstats.qu6zhi..conf'

Error:

Failedtoopen'

/usr/local/awstats/wwwroot/cgi-bin/awstats.model.conf'

forread.

那是因为该路径找不到awstats.model.conf文件可以修改,而该文件所在的目录是/usr/local//awstats/cgi-bin,既然程序只读固定的路径,那就按照它要读取的路径进行相关设置,然后重新配置一次。

#cp/usr/etc/awstats/awstats.model.conf/usr/local/awstats/wwwroot/cgi-bin/

Configfil

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 自然科学 > 数学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1