Posted by: Bobby Allen on: January 16, 2007
sudo apt-get install webalizer
If webalizer is not found, you have to add sources in /etc/apt/sources.list: can comment the universe sources.
HostnameLookups Off
into
HostnameLookups On
LogFile /var/log/apache/access.log.1
to
LogFile /var/log/apache2/access.log
sudo webalizer
If you get a warning like warning: Truncating …
It is because you did not put the hostnameLookup. If afterward, you get this message, it can be because you are attacked by a virus…
sudo crontab -e
and add the line:
0 * * * * webalizer
With that line, every hour webalizer is run
This tutorial was taken from: http://fontignie.blogspot.com/2006/04/install-and-configure-webalizer-on.html – I do not take any credit for this howto, Im just archiving it for future reference incase the site gets taken down. – Thank you Jacques Fontignie.
May 23, 2008 at 1:11 am
Hi Bobby, I tried to edit apache2.conf , it works by using TEXT editor BUT i can’t save it because of this message…
Could not save the file /etc/apache2/apache2.conf.
You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again.
—————–
FYI,I’m the only one use the PC
Thanks