30.1. Linux Webalizer

A web server like Apache logs all predefined log entry information into a text file that can be viewed and analyzed by the web administrator. This file can also be evaluated by a special program which can produce the information in a graphical presentation, making interpretation easier for the administrator.

These installation instructions assume

These are the Package(s):

Webalizer Homepage: http://www.mrunix.net/webalizer/
Webalizer FTP Site: 207.153.121.6
You must be sure to download: webalizer-1_30-04-src.tgz

Before you compile, decompress the tarball (tar.gz).

        [root@deep /]# cp webalizer-version-src.tgz /var/tmp/
        [root@deep /]# cd /var/tmp/
        [root@deep ]/tmp# tar xzpf webalizer-version-src.tgz
      

Important: There are a few prerequisites; the Webalizer requires that the GD Graphics Library, which is required for generating inline graphics for the Webalizer program, be already installed on your system. If this is not the case, you must install it from your Red Hat Linux CD-ROM.

To verify that the GD package is installed on your Linux system, use the following command:

        [root@deep /]# rpm -qi gd
      

        package gd is not installed
      
To install the GD packages on your Linux system, use the following command:

        [root@deep /]# mount /dev/cdrom /mnt/cdrom/
        [root@deep /]# cd /mnt/cdrom/RedHat/RPMS/
        [root@deep ]/RPMS# rpm -Uvh gd-version.i386.rpm
      

        gd                          ##################################################
      

        [root@deep ]/RPMS# rpm -Uvh gd-devel-version.i386.rpm
      

        gd-devel                    ##################################################
      

        [root@deep ]/RPMS# cd /; umount /mnt/cdrom/
      

Important: The Apache web server should be already installed on your system to be able to use Webalizer software, of course.

For more information on Apache web server, see its related chapter in this book.