I had a bit of hard time setting up awstats on my Debain GNU/Linux box running apache. Awstats generates statistics for web server, ftp server, mail server, etc. by parsing the respective log files. The statistics can be viewed in a browser and are presented in a nicely layed out design.
For my own reference, I had documented the process of setting up awstats on a Debian box and making the process automate without the common problem of losing some statistics everytime apache rotates its log. The document is now available publicly under a GNU Free Documentation license on its own page.
Suggestions and corrections would be highly appreciated as comments to this entry.