jnsc.ch

Home

Linux

MP3

Symbian

Qt et C++

PHP Anglais

ISPConfig Anglais

Intranet

Valid XHTML
Valid CSS

ISPConfig - Tips & Tricks

AWStats Installer

Warning : As of ISPConfig 2.2.33, AWStats is directly included in the standart, stable release (Reference). Do not try to use this script with a version > 2.2.32

This is an AWStats installer, and not a package, because the package mechanism in ISPConfig does not allow running commands as Root. Some AWStats tricks have already been discussed in the ISPConfig forum, but I took another approach. I didn't like the other approach mainly because either you had to copy the awstats.pl to each website, or because you could easily get access to stats of another website. So I decided to go the same way as webalizer, by generating static pages.

Important to know

Known Issues

Resolved Issues in version RC2

If you are still interested go on and test the installer ISPConfig_awstats_pkg_RC2.tar.gz. Follow theses Steps:

Become root

code:
su -

Change directory

code:
cd /usr/src

Download the archive

code:
wget http://jnsc.ch/downloads/ISPConfig_awstats_pkg_RC2.tar.gz

Extract the archive

code:
tar -xvzf ISPConfig_awstats_pkg_RC2.tar.gz

Change directory

code:
cd ISPConfig_awstats_pkg

Install

code:
./install.sh

This step is optional, it will generate the statistics. But you could also wait until the cron is executed (4:00 am)

code:
/root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php

That's it.