Install AWStats- Free Logfile Analyzer for Site Statistics Installare awstats-free analizzatore di file di log per le statistiche del sito
Prerequisite Prerequisito
As AWStats is Perl based, a Perl Interpreter need to be installed first to take anvantage of AWStats. AWStats è come Perl, un interprete Perl deve essere installato prima di prendere anvantage di AWStats. For instruction on how to install Perl in Windows machine, check out Per istruzioni su come installare Perl in macchina Windows, check-out this article questo articolo .
Download AWStats Download AWStats
Download latest stable release of AWStats from Download versione stabile di AWStats da http://www.awstats.org/ . Choose the setup package that ended with .exe extension. Scegliere il pacchetto di installazione che si è concluso con. Estensione exe.
Install AWStats Installare AWStats
Launch the AWStats setup file by double clicking on the executable that just has been downloaded. AWStats lanciare il file di installazione facendo doppio clic sul file eseguibile che è stato appena scaricato.

Click “Next” to continue. Fare clic sul pulsante "Avanti" per continuare.

Click “I Agree” to continue. Fare clic sul pulsante "Accetto" per continuare.

You may want to change the installation folder here. È possibile che si desideri cambiare la cartella di installazione qui. Then click on “Install” to start the installation. Quindi fare clic su "Installa" per avviare l'installazione.
Setup and Configuration for Apache Web Server Installazione e configurazione per Apache Web Server
AWStats installer will automatically launches the awstats_configure.pl script to do several setup actions. AWStats installatore si avvia automaticamente la awstats_configure.pl script per fare diverse azioni di installazione. If you’re not using the Windows installer, you can find the script in the AWStats tools directory. Se non si sta usando Windows Installer, è possibile trovare lo script nella directory di strumenti di AWStats. To execute it use (if location of perl.exe is within your path environment): Per eseguire il test utilizzare (se posizione di perl.exe è nel tuo percorso di ambiente):
perl awstats_configure.pl Perl awstats_configure.pl
This is what the script does/asks (you can do all these steps manually instead of running awstats_configure.pl (automatically launch by Windows installer) if you prefer): Questo è ciò che fa lo script / chiede (si può fare tutti i passi manualmente invece di eseguire awstats_configure.pl (automaticamente lancio di Windows installer) se si preferisce):
A) awstats_configure.pl tries to determine your current log format from your Apache web server configuration file httpd.conf (it asks for the path if not found). A) awstats_configure.pl cerca di determinare il vostro attuale formato log dal vostro server web Apache httpd.conf file di configurazione (che chiede se il percorso non trovato). If you use a common log, awstats_configure.pl will suggest changing it to the NCSA combined/XLF/ELF format (you can use your own custom log format but this predefined log format is often the best choice and makes setup easier). Se si utilizza un comune di log, awstats_configure.pl suggerisce di cambiare il combinato NCSA / XLF / ELF formato (si può utilizzare il proprio formato log personalizzato, ma questo formato log predefinito è spesso la scelta migliore e rende più facile installazione).
If you answer yes, awstats_configure.pl will modify your httpd.conf, changing the following directive from: Se rispondete sì, awstats_configure.pl modificherà il vostro httpd.conf, modificare la seguente direttiva da:
CustomLog /yourlogpath/yourlogfile common CustomLog / yourlogpath / yourlogfile comune
to a
CustomLog /yourlogpath/yourlogfile combined CustomLog / yourlogpath / yourlogfile combinato
See the Apache manual for more information on this directive (possibly installed on your server as www.mysite.com/manual). Vedere il manuale di Apache per ulteriori informazioni su questa direttiva (eventualmente installata sul vostro server come www.mysite.com / manuale).
B) awstats_configure.pl will then add, if not already present, the following directives to your Apache configuration file (note that the “/usr/local/awstats/wwwroot” path might differ according to your distribution or OS: B) awstats_configure.pl poi aggiungere, se non già presenti, le seguenti direttive per il vostro file di configurazione di Apache (notare che la "/ usr / local / awstats / wwwroot" percorso può variare a seconda della tua distribuzione o OS:
#
# Directives to add to your Apache conf file to allow use of AWStats as a CGI. # Direttive per aggiungere al vostro file di configurazione di Apache per consentire l'uso del AWStats come CGI.
# Note that path “/usr/local/awstats/” must reflect your AWStats Installation path. # Si noti che path "/ usr / local / awstats /" deve riflettere il tuo AWStats percorso di installazione.
#
Alias /awstatsclasses “/usr/local/awstats/wwwroot/classes/” Alias / awstatsclasses "/ usr / local / awstats / wwwroot / classi /"
Alias /awstatscss “/usr/local/awstats/wwwroot/css/” Alias / awstatscss "/ usr / local / awstats / wwwroot / css /"
Alias /awstatsicons “/usr/local/awstats/wwwroot/icon/” Alias / awstatsicons "/ usr / local / awstats / wwwroot / icona /"
ScriptAlias /awstats/ “/usr/local/awstats/wwwroot/cgi-bin/” ScriptAlias / awstats / "/ usr / local / awstats / wwwroot / cgi-bin /"#
# This is to permit URL access to scripts/files in AWStats directory. # Questo è per consentire URL di accesso agli script / file nella directory di AWStats.
#Options None Nessuno opzioni
AllowOverride None Nessuno AllowOverride
Order allow,deny Per consentire, negare
Allow from all Consentono di tutti iC) if changes were made as indicated in parts A and B, awstats_configure.pl restarts Apache to apply the changes. C) se sono state apportate modifiche, come indicato nelle parti A e B, awstats_configure.pl riavviato Apache per applicare le modifiche. To be sure the log format change is effective, go to your homepage. Per essere sicuri che il formato log cambiamento è efficace, vai alla tua home page. This is an example of the type of records you should see inserted in your new log file after Apache was restarted: Questo è un esempio del tipo di record, si dovrebbe vedere inserito nel nuovo file di log dopo l'Apache è stato riavviato:
62.161.78.75 - - [dd/mmm/yyyy:hh:mm:ss +0000] “GET / HTTP/1.1″ 200 1234 “http://www.from.com/from.html” “Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)” 62.161.78.75 - - [gg / mmm / aaaa: HH: mm: ss +0000] "GET / HTTP/1.1" 200 1234 "http://www.from.com/from.html" "Mozilla/4.0 (compatible ; MSIE 5,01; Windows NT 5.0) "
D) awstats_configure.pl will ask you for a name for the configuration profile file. D) awstats_configure.pl ti chiediamo un nome per il file di configurazione del profilo. Enter an appropriate name such as that of your web server or the virtual domain to be analyzed, ie mysite. Immettere un nome appropriato come quella del vostro web server o il dominio virtuale da analizzare, vale a dire ilmiosito.
awstats_configure.pl will create a new file called awstats.mysite.conf by copying the template file awstats.model.conf. awstats_configure.pl creerà un nuovo file chiamato awstats.mysite.conf copiando il file modello awstats.model.conf. The new file location is: Il nuovo file è:
- For Linux/BSD/Unix users: /etc/awstats. -- Per Linux / BSD / Unix utenti: / etc / awstats.
- For Mac OS X, Windows and other operating systems: the same directory as awstats.pl (cgi-bin). -- Per Mac OS X, Windows e altri sistemi operativi: la stessa directory awstats.pl (cgi-bin).E) awstats_configure.pl ends. E) awstats_configure.pl finisce.
Check through the httpd.conf is configured properly according to steps above. Verificare attraverso httpd.conf è configurato correttamente in base alla procedura di cui sopra. It has been reported that sometime the CustomLog is not changed from common to combined. E 'stato riferito che qualche volta la CustomLog non è cambiata da comune a combinato.
Additional Configuration at Main Parameters of awstats. mysite .conf Configurazione a ulteriori parametri principali di awstats. Ilmiosito. Conf
A) Change Apache log file directory by: A) Apache Cambia la directory dei file di log da:
Find : LogFile=”/var/log/apache/access.log” Trova: LOGFILE = "/ var / log / apache / access.log"
Replace with : LogFile=”C:/Program Files/Apache Group/Apache2/logs/access_log” Sostituire con: LOGFILE = "C: / Program Files / Apache Group/Apache2/logs/access_log"
(Important: The setting is for default Apache installation path. If you change your Apache path, please input accordingly. Note that the directory seperator is /) (Importante: l'impostazione è per impostazione predefinita di Apache percorso di installazione. Se si cambia il tuo percorso di Apache, si prega di ingresso di conseguenza. Nota che la directory è SEPERATOR /)
B) Change log file type (Optional, typically no need to change) B) Modifica tipo di file di log (facoltativo, di solito non è necessario cambiare)
Find : LogType=W Trova: LogType = W
Replace the value with “W” for analyzing web server log files, “S” for a streaming server log file, “M” for mail log files, “F” for ftp log files. Sostituire il valore a "W" per l'analisi web server file di log, "S" per un server di streaming di file di log, "M" per la posta file di log, "F" per ftp file di registro.
C) Check if LogFormat has the value “1″ (it means “NCSA apache combined/ELF/XLF log format”) or use a personalized log format if you don’t use combined log format. C) controllare se LogFormat ha il valore "1" (che significa "combinato NCSA apache / Elf / XLF formato log") o utilizzare un formato log personalizzato se non si utilizza combinato formato log.
D) Check if SiteDomain parameter with the main domain name or the intranet web server name used to reach the web site to analyze (Example: www.mydomain.com). D) controllare se SiteDomain parametro con il nome di dominio principale o intranet web nome del server utilizzato per raggiungere il sito web di analizzare (Esempio: www.mydomain.com).
E) If you have several possible name for same site, add list in HostAlias parameter: E) Se si hanno molte possibile per nome stesso sito, aggiungere nella lista HostAlias parametro:
Find : HostAliases=”localhost 127.0.0.1 REGEX[^.*\.myserver\.com$]” Trova: HostAliases = "127.0.0.1 localhost regex [^ .* \. Myserver \. It $]"
Replace with : HostAliases=”yoursite.com localhost 127.0.0.1″ Sostituire con: HostAliases = "yoursite.com 127.0.0.1 localhost"
(You can include alias names from dynamic DNS accounts such as www.mysite.serveftp.net and etc.) (È possibile includere nomi di alias di DNS dinamico, quali l'account e www.mysite.serveftp.net ecc)
F) AWStats statistics can be updated from a browser, to provide real-time statistics, by clicking the “Update now” link that appears when AWStats is used as a CGI. F) AWStats statistiche può essere aggiornato da un browser, di fornire in tempo reale, statistiche, facendo clic sul "Aggiorna ora" link che appare quando AWStats è utilizzato come CGI. To enable it: Per consentire:
Find : AllowToUpdateStatsFromBrowser=0 Trova: AllowToUpdateStatsFromBrowser = 0
Replace with : AllowToUpdateStatsFromBrowser=1 Sostituire con: AllowToUpdateStatsFromBrowser = 1
G) Edit ‘awstats.pl’ located in “C:\Program Files\AWStats\wwwroot\cgi-bin\” and change the path on the first line to point to exact location of perl.exe in your system, ie #!C:\perl\bin\perl.exe. G) Modifica 'awstats.pl' situato in "C: \ Program Files \ AWStats \ wwwroot \ cgi-bin \" e modificare il percorso sulla prima linea per puntare a posizione esatta di perl.exe nel vostro sistema, vale a dire #! C: \ perl \ bin \ perl.exe.
To Maintain Just Single CGI Directory - Optional Per mantenere solo di singoli directory cgi - Facoltativo
New version of AWStats creates alias directory entries at the bottom of Apache httpd.conf file. Nuova versione di AWStats alias crea directory di voci nella parte inferiore del file httpd.conf di Apache. If you want to have just one CGI executable directory, you have to move the AWStats scripts to existing CGI directory. Se si desidera avere un solo eseguibile CGI directory, dovete spostare il AWStats script CGI directory esistenti.
The following assume installation in default path. Assumere le seguenti installazione nel percorso predefinito.
- Copy ALL files and sub-folders contained within “C:\Program Files\AWStats\wwwroot\cgi-bin\” and paste into your Apache2 web server’s cgi-bin at “C:\Program Files\Apache Group\Apache2\cgi-bin\” Copiare tutti i file e le sotto-cartelle contenute in "C: \ Program Files \ AWStats \ wwwroot \ cgi-bin \" e incollare nel vostro server web Apache2's cgi-bin a "C: \ Program Files \ Apache Group \ Apache2 \ cgi-bin \ "
- Copy ALL files and sub-folders contained within “C:\Program Files\AWStats\wwwroot\icon\” and paste into our Apache2 web server’s icons folder at “C:\Program Files\Apache Group\Apache2\icons\” Copiare tutti i file e le sotto-cartelle contenute in "C: \ Program Files \ AWStats \ wwwroot \ icona \" e incollare nel nostro Apache2 web del server di icone a cartella "C: \ Program Files \ Apache Group \ Apache2 \ icone \"
Edit again the awstats. mysite .conf file, the change the following: Modifica di nuovo il awstats. Ilmiosito. Conf file, la modifica seguente:
Find : DirIcons=”/icon” Trova: DirIcons = "/ icona"
Replace with : DirIcons=”/icons” Sostituire con: DirIcons = "/ icone"
Delete from Apache web server’s httpd.conf the alias directory that has been inserted by AWStats setup program. Elimina dal server web Apache's httpd.conf l'alias di directory che è stata inserita da AWStats programma di installazione.
Optional Setup Section Il programma di installazione opzionale sezione
Find : DefaultFile=”index.html” Trova: DefaultFile = "index.html"
Replace with your default index page, only if necessary, ie DefaultFile=”index.php” or DefaultFile=”index.php index.html” Sostituire con il tuo indice di pagina di default, solo se del caso, vale a dire DefaultFile = "index.php" o DefaultFile = "index.php index.html"
Find : SkipHosts=”" Trova: SkipHosts = ""
Replace with : SkipHosts=”127.0.0.1 REGEX[^192\.168\.] REGEX[^10\.0\.]” Sostituire con: SkipHosts = "127.0.0.1 regex [^ 192 \ .168 \.] Regex [^ 10 \ .0 \.]"
This is to not include statistics from your own local machines, they will remain in the actual log files but excluded from awstats counts. Ciò al fine di non includere statistiche dal tuo locale macchine, esse rimarranno nel file di log, ma esclusi dal awstats conta. To get actual hits and figures it’s sometime necessary, but is not essential at this stage. Per ottenere reali successi e cifre è talvolta necessario, ma non è essenziale in questa fase.
Build/Update Statistics Costruire / Aggiorna statistiche
There are two possible way to analyze, update and generate the AWStats statistics, command line and browser based. Ci sono due modi possibili per analizzare, aggiornare e generare il AWStats statistiche, riga di comando e basato su browser.
Command Line Option Opzione da riga di comando
Go to the command line, and change directory to your AWStats cgi-bin directory, ie C:\Program Files\AWStats\wwwroot\cgi-bin. Vai alla riga di comando, e cambiare directory per il tuo AWStats cgi-bin, vale a dire C: \ Program Files \ AWStats \ wwwroot \ cgi-bin.
The AWStats update command line is (replace with your domain): AWStats aggiornare la riga di comando è (sostituire con il tuo dominio):
perl awstats.pl -config=www.yourdomain.com -update perl awstats.pl-config = www.yourdomain.com-update
AWStats database files are saved in directory defined by DirData parameter in config file, which we left as default (current directory). AWStats banca dati sono salvati i file nella directory definita da DirData parametro nel file di configurazione, che abbiamo lasciato come default (directory corrente). Update might take a while, if the log file is big. Aggiornamento potrebbe richiedere un po 'di tempo, se il file di log è grande. When update is finished, you should get on screen a result like this: Quando l'aggiornamento è finito, si dovrebbe arrivare sullo schermo un risultato simile a questo:
Update for config “/etc/awstats/awstats.myvirtualhostname.conf” Aggiornamento per config "/ etc / awstats / awstats.myvirtualhostname.conf"
With data in log file “/pathtoyourlog/yourlog.log”… Con i dati in file di log "/ pathtoyourlog / yourlog.log"…
Phase 1 : First bypass old records, searching new record… Fase 1: Prima di bypass vecchi record, la ricerca nuovo record…
Searching new records from beginning of log file… Ricerca di nuovi record da inizio del file di log…
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)… Fase 2: ora processo di nuovi record (Flush storia su disco dopo ospita 20000)…
Jumped lines in file: 0 Saltò linee nel file: 0
Parsed lines in file: 225730 Parsed linee in atto: 225730
Found 122 dropped records, Trovati 122 record eliminato,
Found 87 corrupted records, Trovati 87 record danneggiati,
Found 0 old records, Trovati 0 vecchi dischi,
Found 225521 new qualifed records. 225521 trovato qualifed nuovo record.
Browser Option Opzione browser
AWStats statistics can be updated from a browser, to provide real-time statistics, by clicking the “Update now” link that appears when AWStats is used as a CGI (only applicable if AllowToUpdateStatsFromBrowser is set to 1 in AWStats config file ). AWStats statistiche può essere aggiornato da un browser, di fornire in tempo reale, statistiche, facendo clic sul "Aggiorna ora" link che appare quando AWStats è utilizzato come CGI (applicabile solo se AllowToUpdateStatsFromBrowser è impostato su 1 nel file di configurazione AWStats).
Read Statistics Leggi Statistiche
Again, there is 2 methods where AWStats’s statistics can be read, corresponding to the generation method of the stats mentioned above. Ancora una volta, non vi è di 2 metodi in cui le statistiche di AWStats può essere letta, corrispondente al metodo di generazione le statistiche di cui sopra.
Command Line Option Opzione da riga di comando
At the same directory, after the first update command is finished, run the following command: Alla stessa directory, dopo il primo aggiornamento comando è finito, eseguire il seguente comando:
perl awstats.pl -config=myvirtualhostname -output -staticlinks > awstats.myvirtualhostname.html perl awstats.pl-config = myvirtualhostname-output-staticlinks> awstats.myvirtualhostname.html
The process may take a while, after it’s finished, a html will be generated where you can view it with a browser by double clicking on it. Il processo potrebbe richiedere un po 'di tempo, dopo che è finito, un html verrà generato in cui è possibile farlo con un browser facendo doppio clic su di esso.
Browser Option Opzione browser
Access the following directory (replace with your own domain): Accedere alle seguenti directory (sostituire con il tuo dominio):
http://www.myserver.mydomain/awstats/awstats.pl?config=myvirtualhostname
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una pagina tradotta macchina che è fornito "così com'è" senza alcuna garanzia. Machine translation may be difficult to understand. Traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale inglese whenever possible. quando possibile.
Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e assistenza in My Digital Life Forums La mia vita digitale Forum .
Related Articles Articoli correlati
- Track Exit Link and Outbound Click with Site Meter Monitorare uscita link e in uscita a fare clic su Site Meter
- Site Statistics Tracker Performancing Metrics Reviews Le statistiche del sito tracker Performancing Metrics recensioni
- WordPress Plugin: Display Google Analytics and FeedBurner Reports Statistics from Site Admin Wordpress plugin: visualizzazione di Google Analytics e FeedBurner relazioni statistiche del sito da admin
- Compare Website Traffic and Website Statistics Easily Alexaholic Confronta traffico sito web e statistiche sito web facilmente Alexaholic
- Uninstall Installed Programs Completely with Total Uninstall 4.26 Disinstallare completamente programmi installati, con un totale di disinstallazione 4,26
- Oracle EXP-00091 Error When Export Database Oracle exp-00091 errore durante l'esportazione del database
- Redirect Blogger RSS Feed to FeedBurner for Detailed Statistics and Monetize Ads Reindirizzamento di Blogger per feed RSS FeedBurner per le statistiche e gli annunci di monetizzare
- AdSense Reports and Statistics Not Real-Time AdSense di relazioni e statistiche non in tempo reale
- Preview Site Thumbnails and Easily Open in New Windows when Search with Google by LostGoogles Anteprima del sito miniature e facilmente Apri in una nuova Windows quando Cerca con Google di LostGoogles
- AdSense Adds “Since Last Payment” To Reports Overview AdSense aggiunge "dall'ultimo pagamento" per le relazioni Panoramica
































