AWstats
From HostThyself
AWstats is a web statistic program sued to generate report for Apache web server log.
[edit] Installing
Reference: Online Documentation
The following installations are tested on a CentOS 4.4 system.
- Download
- Untar and copy content of the folder to /usr/local/awstats
tar -xzf awstats-6.6.tar.gz mkdir /usr/local/awstats cp -R awstats-6.6/* /usr/local/awstats
- Change into the tools folder
cd /usr/local/awstats/tools perl awstats_configure.pl
- Follow the prompt to setup the configuration
Enter full config file path of your Web server. > /etc/httpd/conf/httpd.conf
Alternatively download the rpm version and install with
rpm -i awstats-6.6-1.noarch.rpm
[edit] Using with Webmin
- Install the AWStats Webmin module.
- Click Module Config to configure module
Sample AWStats configuration file /usr/local/awstats/wwwroot/cgi-bin/awstats.model.conf
[edit] Using with Virtualmin and Webmin
- Install the Virtualmin AWstats Reporting module
If you are using have multiple virtual hosts, installing this module will create AWStats under each virtual host and schedule the update. The data can then be backup using Virtualmin's backup.
- Go to Plugin Modules
- Configure plugin: Awstats Reporting
Full path to AWstats program /usr/local/awstats/wwwroot/cgi-bin/awstats.pl Full path to AWstats icons directory /usr/local/awstats/wwwroot/icon
- Save
- Copy the model file to where the modules expects it to be (this should rightly be configurable)
cp /usr/local/awstats/wwwroot/cgi-bin/awstats.model.conf /etc/awstats/
- Select module to enable
- Save
Categories: Server | SysAdmin | AWstats
