个人工具
登录
查看“UbuntuHelp:AWStats”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:AWStats”的源代码
来自Ubuntu中文
←
UbuntuHelp:AWStats
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/AWStats}} {{Languages|UbuntuHelp:AWStats}} <<Include(Tag/NeedsExpansion)>> == Introduction == Finding AWStats documentation specific to Ubuntu is tough. It shouldn't be this way. Perhaps the most important step is to get XChat and subscribe to channel "#awstats" on the "Ubuntu Server". AWstats is a Perl script (awstats.pl), which parses your server’s log files and generates reports either dynamically, when used as a CGI script through the web browser, or by creating static HTML pages, when used directly from the command line or through cron. It also comes with some other helper Perl scripts to make this task even easier. In other words it is a PERL script that pretty prints an Apache log file. Dead simple, end of the story, period. It's as complicated at 'tail -f'. This document is an attempt to make it simple once again. === REQUIREMENTS: AWStats 6.5-2, and Apache 2.0 === To determine the versions of software you are using do: <ol><li>AWStats 6.5-2 <ol><li>With the mouse select: 'System/Administration/Synaptic Package Manager' </li><li>Click the search icon and type in awstats </li><li>Check the version you have installed or install the latest version. </li></ol></li><li>Apache 2.0 <ol><li>Repeat steps for AWStats but for apache and verify you have 2.0.55-rubuntu4 installed or equivalent </li></ol></li><li>Need PERL 5.00503 or better <ol><li>Open a terminal session Applications/Accessories/Terminal </li><li>type perl -v and verify it's better than 5.00503 (You will probably see something like: This is perl, v5.8.8 built for i486-linux-gnu-thread-multi.) </li></ol></li><li>tail your log file you are working with to verify it's readable.</li></ol> == Installation == <ol><li>Install AWStats with Synaptic or</li></ol> <pre><nowiki> sudo apt-get install awstats </nowiki></pre> == Configuration == <ol><li>Make a backup of apache2.conf <ol><li>cd /etc/apache2 </li><li>mkdir RCS (This is only necessary if you don't have an RCS directory installed there already.) </li><li>ci -l apache2.conf (check in the file before marking it up.) (ci is listed as rcs in the repositories. Run sudo apt-get install rcs to install) </li></ol></li><li>Make a directory to correspond with the AWStats documentation and set it up: <ol><li>cd /usr/local </li><li>mkdir awstats </li><li>cd awstats </li><li>cp -R /usr/share/doc/awstats/examples/*.* . </li><li>gunzip awstats.model.conf.gz </li><li>mkdir RCS </li><li>ci -l awstats.model.conf </li><li>mkdir wwwroot </li><li>mkdir wwwroot/cgi-bin</li></ol> == Links == * http://awstats.sourceforge.net/ Official AWStats website * http://awstats.sourceforge.net/docs/index.html Documentation * http://awstats.sourceforge.net/docs/awstats_setup.html * http://www.awstats.org/ Official AWStats website * http://www.g-loaded.eu/2005/12/04/configure-awstats/ Interesting read. * http://www.ubuntuforums.org/showthread.php?t=8410 I'm following this to make these notes ---- [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:AWStats
。