Come installare AWStats con alcuni plug-in su un server con ISPConfig
HowTo install AWStats con alcuni plug-in su un server con ISPConfig:basato e affiancato alle istruzioni per l'installazione di AWStats-installer di jnsc Ho scritto questo HowTo per installazioni con alcuni plug-in .
Lasciatemi dire prima:questo è uno dei tanti possibili, ma lo provo più di una volta e funziona.Avrai bisogno di:
Comunque devo dirlo anche a te => Se usi questo HowTo lo fai a tuo rischio e pericolo! Il programma di installazione di AWStats è in stato beta ! Se hai domande scrivimi una mail o mandami un PM.
Se vuoi averlo in lingua tedesca, scrivimi anche una mail.
Wer diese Anleitung auf deutsch haben möchte, muss mir nur eine eMail oder PN schreiben.PASSAGGIO 1 - Scarica e installa AWStats
cd /usr/src
wget http://jnsc.ch/downloads/ISPConfig_awstats_pkg_beta-3.tar.gz
tar -xvzf ISPConfig_awstats_pkg_beta-3.tar.gz
cd ISPConfig_awstats_pkg
./install.sh
/root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php
PASSAGGIO 2 - Scarica e installa un localizzatore geografico per IP
cd /root
wget http://www.maxmind.com/download/geoip/api/c/GeoIP.tar.gz
tar xzvf GeoIP.tar.gz
cd GeoIP-1.4.0
./configure
make
make check
make install
wget http://www.maxmind.com/download/geoip/api/perl/Geo-IP-1.27.tar.gz
tar xzvf Geo-IP-1.27.tar.gz
cd Geo-IP-1.27
perl Makefile.PL
make
make test
make install
perl -MCPAN -e shell
install Net::XWhois
q
Lang="de" (line 892 - "de" is an example) ShowScreenSizeStats=1 (line 1021) ShowMiscStats=anjdfrqwp (line 1041) LoadPlugin="geoip GEOIP_STANDARD /root/GeoIP-1.4.0/data/GeoIP.dat"(Zeile 1289)Se desideri utilizzare AWStats nella misura applicabile, devi copiare javascript su ogni sito del tuo server e includere la seguente riga nel tuo indice:
<script language="javascript" src="/js/awstats_misc_tracker.js"></script> <noscript><img src="/js/awstats_misc_tracker.js?nojs=y" height="0" width="0" border="0"style="display: none"></img></noscript>
Puoi trovare il javascript qui: /home/admispconfig/ispconfig/tools/awstats-6.5/wwwroot/js
Esegui lo script AWStats per creare i file statistici
/root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php