Install Webalizer
How to install webalizer and measure traffic statistics for your sites.
Webalizer can be installed from the default debian repositories
apt-get install webalizer
Make yourself a fresh copy of the default webalizer configuration file.
cd /etc/webalizer
cp webalizer.conf yoursite.conf
Edit yoursite.conf and change the LogFile, OutputDirectory, and ReportTitle
Create a directory to display your results and run webalizer
mkdir /var/www/webalizer/yoursite
webalizer -c yoursite.conf
You may also want to add an entries to your crontab (-e) so that webalizer updates automagically.
1 1 * * * /usr/bin/webalizer -c /etc/webalizer/sitea.conf
1 1 * * * /usr/bin/webalizer -c /etc/webalizer/siteb.conf
