Thursday, May 22, 2008

How to install and configure Webalizer on Ubuntu

OS: Ubuntu 7.04

Webalizer is a nice web analysis tool for your server.

To install Webalizer open up a terminal and enter the following commands:

$ sudo aptitude update


$ sudo aptitude install webalizer



Webalizer didn't work right away, so I found a fix for it.

Edit webalizer.conf with your favorite editor:

$ vi /etc/webalizer/webalizer.conf



Find the following:

LogFile /var/log/apache/access.log.1



I'm using apache2 so replace the line with:

LogFile /var/log/apache2/access.log



Save and exit.

To run webalizer, enter this command:

sudo webalizer



and then go to http://localhost/webalizer/

Done!

No comments: