Securing and Optimizing Linux: RedHat Edition -A Hands on Guide | ||
---|---|---|
Prev | Chapter 30. Optional component to install with Apache | Next |
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
Commands are Unix-compatible.
The source path is /var/tmp, other paths are possible.
Installations were tested on Red Hat Linux 6.1 and 6.2.
All steps in the installation will happen in super-user account root.
Webalizer version number is 1_30-04
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 |
: 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 |
[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/ |
: 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.