AWStats Install

October 29, 2007 – 13:06

Installed awstats on dedicated client server.

  • Untarred source
  • copied wwwroot to install dir
  • mkdir stats in www-root

Sorry, configure.pl does not support automatic add to cron yet.
You can do it manually by adding the following command to your cron:
/usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=myvirtualserver
Or if you have several config files and prefer having only one command:
/usr/local/awstats/tools/awstats_updateall.pl now

create stats file: cgi-bin/awstats.pl -config=www.mysite.xx -output -staticlinks > /path/to/stats/awstats.www.mysite.xx.html

added awstats scripts to crontab to run every night at 1 o’clock.

Created stoasadmin account on client testserver and prodserver.

Backed up mysql production database and restored to test with mysqldump and mysql < . Oops, forgot about the session prefix, changed it and everything worked fine again. Ok, that AND not enough permissions on the sessions dir. Opened up to 775 and okiedokie.

VN:F [1.8.9_1076]
Rating: 0.0/7 (0 votes cast)
VN:F [1.8.9_1076]
Rating: 0 (from 0 votes)

Sorry, comments for this entry are closed at this time.