个人工具

“UbuntuHelp:AWStats”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/AWStats}} {{Languages|UbuntuHelp:AWStats}} <pre><nowiki> </nowiki></pre> == AWStats for Ubuntu == === Introduction === Finding AWStats document...)
 
第3行: 第3行:
  
 
<pre><nowiki>
 
<pre><nowiki>
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
== AWStats for Ubuntu ==
 
== AWStats for Ubuntu ==
 
=== Introduction ===
 
=== Introduction ===
第11行: 第9行:
 
It shouldn't be this way.  
 
It shouldn't be this way.  
 
Perhaps the most important step is to get XChat (Not XChat-GNOME but perhaps that's my prejudisms showing) and suscribe to channel "#awstats" on the "Ubuntu Server".
 
Perhaps the most important step is to get XChat (Not XChat-GNOME but perhaps that's my prejudisms showing) and suscribe 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.
 
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.  
 
In other words it is a PERL script that pretty prints an Apache log file.  
 
Dead simple, end of the story, period.   
 
Dead simple, end of the story, period.   
 
It's as complicated at 'tail -f'.
 
It's as complicated at 'tail -f'.
 
This document is an attempt to make it simple once again.
 
This document is an attempt to make it simple once again.
 
 
 
=== REQUIREMENTS: Edgy Eft 6.10 Desktop, AWStats 6.5-2, and Apache 2.0 ===
 
=== REQUIREMENTS: Edgy Eft 6.10 Desktop, AWStats 6.5-2, and Apache 2.0 ===
 
To determine the versions of software you are using do:
 
To determine the versions of software you are using do:
* AWStats 6.5-2
+
# AWStats 6.5-2
a. With the mouse select: 'System/Administration/Synaptic Package Manager'
+
## With the mouse select: 'System/Administration/Synaptic Package Manager'
a. Click the search icon and type in awstats
+
## Click the search icon and type in awstats
a. Check the version you have installed or install the latest version.
+
## Check the version you have installed or install the latest version.
* Apache 2.0
+
# Apache 2.0
a. Repeat steps for AWStats but for apache and verify you have 2.0.55-rubuntu4 installed or equivalent
+
## Repeat steps for AWStats but for apache and verify you have 2.0.55-rubuntu4 installed or equivalent
* Edgy Eft desktop 6.10
+
# Edgy Eft desktop 6.10
a. You are on your own here.
+
## You are on your own here.
* Need PERL 5.00503 or better
+
# Need PERL 5.00503 or better
a. Open a terminal session Applications/Accessories/Terminal
+
## Open a terminal session Applications/Accessories/Terminal
a. 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.)
+
## 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.)
* tail your log file you are working with to verify it's readable.
+
# tail your log file you are working with to verify it's readable.
 
+
 
==== Installation Steps ====
 
==== Installation Steps ====
* Install AWStats with Synaptic
+
# Install AWStats with Synaptic
* Make a backup of apache2.conf
+
# Make a backup of apache2.conf
a. cd /etc/apache2
+
## cd /etc/apache2
a. mkdir RCS (This is only necessary if you don't have an RCS directory installed there already.)
+
## mkdir RCS (This is only necessary if you don't have an RCS directory installed there already.)
a. ci -l apache2.conf (check in the file before marking it up.)
+
## ci -l apache2.conf (check in the file before marking it up.)
* Make a directory to correspond with the AWStats documentation and set it up:
+
# Make a directory to correspond with the AWStats documentation and set it up:
a. cd /usr/local
+
## cd /usr/local
a. mkdir awstats
+
## mkdir awstats
a. cd awstats
+
## cd awstats
a. cp -R /usr/share/doc/awstats/examples/*.* .
+
## cp -R /usr/share/doc/awstats/examples/*.* .
a. gunzip awstats.model.conf.gz
+
## gunzip awstats.model.conf.gz
a. mkdir RCS
+
## mkdir RCS
a. ci -l awstats.model.conf
+
## ci -l awstats.model.conf
a. mkdir wwwroot
+
## mkdir wwwroot
a. mkdir wwwroot/cgi-bin
+
## mkdir wwwroot/cgi-bin
 
+
 
==== Configuration Steps ====
 
==== Configuration Steps ====
 
 
==== Downloads ====
 
==== Downloads ====
 
 
==== Links ====
 
==== Links ====
 
* http://awstats.sourceforge.net/ Official AWStats website  
 
* http://awstats.sourceforge.net/ Official AWStats website  

2007年11月30日 (五) 16:11的版本





AWStats for Ubuntu

Introduction

Finding AWStats documentation specific to Ubuntu is tough. It shouldn't be this way. Perhaps the most important step is to get XChat (Not XChat-GNOME but perhaps that's my prejudisms showing) and suscribe 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: Edgy Eft 6.10 Desktop, AWStats 6.5-2, and Apache 2.0

To determine the versions of software you are using do:

  1. AWStats 6.5-2
    1. With the mouse select: 'System/Administration/Synaptic Package Manager'
    2. Click the search icon and type in awstats
    3. Check the version you have installed or install the latest version.
  2. Apache 2.0
    1. Repeat steps for AWStats but for apache and verify you have 2.0.55-rubuntu4 installed or equivalent
  3. Edgy Eft desktop 6.10
    1. You are on your own here.
  4. Need PERL 5.00503 or better
    1. Open a terminal session Applications/Accessories/Terminal
    2. 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.)
  5. tail your log file you are working with to verify it's readable.

Installation Steps

  1. Install AWStats with Synaptic
  2. Make a backup of apache2.conf
    1. cd /etc/apache2
    2. mkdir RCS (This is only necessary if you don't have an RCS directory installed there already.)
    3. ci -l apache2.conf (check in the file before marking it up.)
  3. Make a directory to correspond with the AWStats documentation and set it up:
    1. cd /usr/local
    2. mkdir awstats
    3. cd awstats
    4. cp -R /usr/share/doc/awstats/examples/*.* .
    5. gunzip awstats.model.conf.gz
    6. mkdir RCS
    7. ci -l awstats.model.conf
    8. mkdir wwwroot
    9. mkdir wwwroot/cgi-bin

Configuration Steps

Downloads

Links