Rechercher

Publicité

Me contacter

« Clip Video | Main| Consultant Expert Lotus Domino »

Installing Awstats for Domino on Linux/Fedora

QuickImage
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 :
Download awstats.domino.conf-----.txt


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 :  
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)

Comments

Gravatar Image1 - Bonjour,

Je n'ai pas lu tout ton site, mais attention Domino Linux n'est pas certifié pour Fédora.
Pour le moment seul SUSE et RHES sont des distribution certifiées.
En version 8.5 (fin d'année) Unbunto sera la nouvelle distribution certifiée.
Cordialement

Gravatar Image2 - Effectivement, mais RHES (Red Hat) n'est pas disponible sur les dedibox et est payante, fedora est similaire à 99% à la distribution Red Hat car les deux sont géré par la même communauté depuis l'origine. J'ai testé ubuntu avec domino 8 et pour le moment ce n'est pas compatible au niveau de la machine virtuelle Java de la tache HTTP.

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)