Installing Awstats for Domino on Linux/Fedora
AWstats ( http://awstats.sourceforge.net/ ) is a software that generates advanced server statistics graphically.
This document describe how to install it on a Domino server running on Fedora/Linux
The proposed configuration include 4 additionals reports to display the most used search keywords for the 3 most popular search engines.
This document describe how to install MaxMind plug-in (Free version) to get visitor's city.
Index

Awstats Installation
Open the server console, log in with root, and enter the following commands :
- rpm -Uvh http://kent.dl.sourceforge.net/sourceforge/awstats/awstats-6.7-1.noarch.rpm
- cp /usr/local/awstats/wwwroot/cgi-bin/* /local/notesdata/domino/cgi-bin -r
- cp /usr/local/awstats/tools/* /local/notesdata/domino/cgi-bin -r
- mkdir /local/notesdata/domino/html/awstats
- cp /usr/local/awstats/wwwroot/* /local/notesdata/domino/html/awstats/ -r
- chown notes:notes /local/notesdata/domino/cgi-bin/* -R
- chmod 777 /local/notesdata/domino/cgi-bin/lib
- chmod 777 /local/notesdata/domino/cgi-bin/lang
- chmod 777 /local/notesdata/domino/cgi-bin/plugins
- chmod 777 /local/notesdata/domino/cgi-bin/webmin
- chmod 777 /local/notesdata/domino/cgi-bin/xslt
Note : The RPM command is downloading Awstats 6.7, a newest version can be available, check it on http://awstats.sourceforge.net/#DOWNLOAD , and update the URL of the RPM command if necessary.
Awstats Configuration
The second step is to configure Awstats. A configuration file is given here :
On the server console enter vi /local/notesdata/domino/cgi-bin/awstats.domino.conf , then enter i to go into insert mode, then paste the content of the configuration file download on the previous step.
In the configuration file replace §§§§§§§ by your server domain name (www.MyServer.com for example)
Then on VI press the following 3 characters (including the two dots) :wq
MaxMind Installation (Free Version)
On the server console enter the following commands :
- wget http://www.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
- gunzip GeoLiteCity.dat.gz
- mkdir /usr/local/share/GeoIP/
- mv GeoLiteCity.dat /usr/local/share/GeoIP/GeoLiteCity.dat
- wget http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz
- gunzip GeoIP.dat.gz
- mv GeoIP.dat /usr/local/share/GeoIP/GeoIP.dat
If Perl is not already installed do :
- yum install perl-devel
- yum install perl-libwww-perl
Then install the plug-in Maxmind with the following commands :
- wget http://www.maxmind.com/download/geoip/api/pureperl/Geo-IP-PurePerl-1.18.tar.gz
- gunzip Geo-IP-PurePerl-1.18.tar.gz
- tar xvf Geo-IP-PurePerl-1.18.tar
- cd Geo*
- perl Makefile.PL
- make
- make test
- make install
Domino server configuration
With a Lotus Notes client, open the server configuration document, and enter the parameters as shown below :

You can now open the statistics with a browser at this address http://§§§§/cgi-bin/awstats.pl?config=domino (replace §§§§ by your server domain name)
Software by
-