sudo aptitude install awstats

sudo cp /etc/awstats/awstats.conf /etc/awstats/awstats.domain.com.conf

sudo /usr/lib/cgi-bin/awstats.pl -config=domain.com -update

/etc/apache2/conf.d/awstats

Alias /awstatsclasses "/usr/share/awstats/lib/"
Alias /awstats-icon/ "/usr/share/awstats/icon/"
Alias /awstatscss "/usr/share/doc/awstats/examples/css"
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
ScriptAlias /awstats/ /usr/lib/cgi-bin/
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch

CronTab

*/10 * * * * root /usr/lib/cgi-bin/awstats.pl -config=domain.comd -update >/dev/null

http://domain.com/awstats/awstats.pl