GNU/Linux >> Linux Esercitazione >  >> Panels >> Panels

Come installare AWStats con alcuni plug-in su un server con ISPConfig

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:
  • uno Strato - Server dedicato
  • WinSCP3 e Putty o software simili sul tuo computer di casa

  • 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

  • accedi al tuo server come root tramite Putty
  • cambia directory e scarica l'archivio tramite copia e incolla in mastice
  • cd /usr/src

    wget http://jnsc.ch/downloads/ISPConfig_awstats_pkg_beta-3.tar.gz

  • ora estrai l'archivio, passa alla directory e installalo
  • tar -xvzf ISPConfig_awstats_pkg_beta-3.tar.gz

    cd ISPConfig_awstats_pkg
    ./install.sh
  • ora puoi eseguire AWStats per generare i primi siti statici-statistici.
  • /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
  • ora devi modificare alcune impostazioni nel file di configurazione di AWStats
  • apri e modifica il file /etc/awstats/awstats.shared.conf
  • 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

    Panels
    1. Come installare Nextcloud con ISPConfig 3.1

    2. Come installare ISPConfig 3 su CentOS 7

    3. Come installare Elgg con Nginx su Ubuntu 18.04

    4. Come installare WordPress con OpenLiteSpeed ​​su Ubuntu 18.04

    5. Come installare WordPress con lo stack LAMP su Ubuntu 20.04

    Installa ISPConfig 3 - Plugin Roundcube su Debian 10

    Installa WordPress 5 con Apache su Debian 9

    Come installare Softaculous su server Linux con cPanel?

    Guida all'hosting virtuale con Virtualmin su CentOS 5.1

    Come installare Drupal 5.6 su Debian Etch con ISPConfig

    Il server perfetto - Ubuntu 11.10 con Nginx [ISPConfig 3]