Homepage:
http://www.mrunix.net/webalizer/
This
program "is a fast, free web server log file analysis
program. It produces highly detailed, easily configurable
usage reports in HTML format, for viewing with a standard
web browser."
This
allows you to have detailed statistical information about
who is accessing your web server, what pages are hit the most
and the amount of traffic your site has daily/monthly/yearly.
For an example of speed, my 3 month log file of approximately
15,000 hits and more information was processed in less that
1 second.
The only
downside to this analyzer is that it must be run manually,
but you can install a service command that will run it daily
etc. as you will see below.
The latest
file at the time of this pages creation is webalizer-2.01-06-src.tar.Z
and can be downloaded from the above detailed site. To install
this program you must have the GD Graphics Library installed
(see above instructions if you need to install it). To install
this program just following these instructions.
1. To start
with you must uncompress the downloaded source code by tar
-xzvf webalizer-2.01-06-src.tar.Z,
this will create the appropriate directory and extract all the files.
2. Now
you must setup and install the script, go to the created directory
by typing cd webalizer-2.01-06
and the you must type in the following to compile and install
it:
./configure
make
make install
3. With
all luck Webalizer has been setup successfully and you will
now need to create the configuration file to run the program.
The easiest way is to modify the sample configuration file
that is supplied with the program source, this sample is the
following file: /etc/webalizer.conf.sample,
all you need to do is edit it and change anything you want
to customize it to your needs. Once you are happy with your
modifications then save the file to /etc/webalizer.conf
and now your almost done.
4. You
must create a directory for the output html files to be created
in, this must be a folder that is accessible on your webserver
for yourself and others to view, its must also be the same
folder that is listed in the above configuration file.
Since
the program has been installed and the configuration file
has been created your ready to run it for the first time.
To run the program all you need to do is type ./webalizer
in the directory you installed the program. This should display
any error messages or with any luck just tell you all the
processing details that means its working correctly.
Now you
can go to the directory on your site (website) and check out
your log file stats.
To make
the Webalizer run daily, all you need to do is create a script
in the /etc/cron.daily/ directory, if you want it done hourly
then you make a script in the /etc/cron.hourly and so on,
this will allow the system to run it when required and save
you the effort of running it manually. The script should look
a little something like this:
#!/bin/sh
# Webalizer Service Script
# Coded by Mayhem (C)2000
/<install-dir>/webalizer-2.01-06/webalizer
> /dev/null
|