First install awstats with RPM or from the Add/Remove Software menu.
Then run the following command to configure awstats
sudo /usr/share/awstats/tools/awstats_configure.pl
You will be prompted to:
Finally I added the following to a script file usage.sh and called it from a cron entry every week:
#!/bin/sh
perl /usr/share/awstats/wwwroot/cgi-bin/awstats.pl -config=myconfig -update
perl /usr/share/awstats/wwwroot/cgi-bin/awstats.pl -config=myconfg -output -staticlinks > awstats.myhost.html
To see the stats go to the URL:
http://localhost/awstats/awstats.pl?config=slyfoxsos
or
http://localhost/awstats/awstats.pl?config=web3us.com