Sunday, June 17, 2007

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!

Let me know if it works for you.

5 comments:

aldin said...

hi, thank you very much, worked for me!
(ubuntu 7.04 i386)

Big Dave Smith said...

Worked well! Thank you!

ubupress said...

Wow, super simple instructions, and it worked! THANK YOU! I wish all Linux instructions were this perfect!

Nick.B said...

Amazing! Viele Dank!

Tom Mulvey said...

so easy! thanks heaps!