Web Log file analyzer

Install awstats web site statistics on Fedora

First install awstats with RPM or from the Add/Remove Software menu.

Configure Awstats

Then run the following command to configure awstats

sudo /usr/share/awstats/tools/awstats_configure.pl

You will be prompted to:

  1. supply the path to your /etc/httpd/conf/httpd.conf file.
  2. want to create a new config file? y
  3. name the config: mydomain.com
  4. path to the config file: /etc/awstats

Automate updating the awstats

Finally I added the following to a script file usage.sh and called it from a cron entry every week:


perl /usr/share/awstats/wwwroot/cgi-bin/awstats.pl -config=myconfig -update