An easy to setup packaging of AWStats and AWStats-Totals for use on DreamHost web-hosting services (shared or managed VPS).
AWStats-DH can be installed anywhere on a web site, and it will generate
stats for all sites hosted under the same shell user. To install AWStats-DH on the site example.com
, SSH login to
the shell user (ssh [email protected]
), and then perform the following setup.
-
Download
Clone AWStats-DH into
example.com
's web directory:git clone --recurse-submodules https://github.com/chuckhoupt/awstats-dh.git example.com/awstats-dh
-
Build Initial Statistics
Run the update script to generate the initial reports:
~/example.com/awstats-dh/update-awstats
Now visit example.com/awstats-dh/
to see the stats for all sites hosted
under that shell user.
-
Install Cron Job
To update the reports daily, install a cron job:
@daily example.com/awstats-dh/cronic example.com/awstats-dh/update-awstats day
-
Secure Reports
Setup password protection for the
awstats-dh
directory via DH's Htaccess Panel.