Install AWStats- Free Logfile Analyzer for Site Statistics Install AWStats-Free logfile Analyzer untuk Statistik Situs
Prerequisite Prasyarat
As AWStats is Perl based, a Perl Interpreter need to be installed first to take anvantage of AWStats. Seperti AWStats adalah berbasis Perl, sebuah Interpreter Perl harus diinstal terlebih dahulu untuk mengambil anvantage dari AWStats. For instruction on how to install Perl in Windows machine, check out Untuk instruksi tentang cara menginstal Perl di mesin Windows, check out this article artikel . .
Download AWStats Download AWStats
Download latest stable release of AWStats from Download rilis stabil terbaru dari AWStats dari http://www.awstats.org/ http://www.awstats.org/ . . Choose the setup package that ended with .exe extension. Pilih paket setup yang berakhir dengan. Exe extension.
Install AWStats Install AWStats
Launch the AWStats setup file by double clicking on the executable that just has been downloaded. Meluncurkan AWStats setup file dengan mengklik ganda file executable yang baru saja telah download.

Click “Next” to continue. Klik "Next" untuk melanjutkan.

Click “I Agree” to continue. Klik "I Agree" untuk melanjutkan.

You may want to change the installation folder here. Anda mungkin ingin mengubah folder instalasi di sini. Then click on “Install” to start the installation. Kemudian klik pada "Install" untuk memulai instalasi.
Setup and Configuration for Apache Web Server Setup dan Konfigurasi untuk Apache Web Server
AWStats installer will automatically launches the awstats_configure.pl script to do several setup actions. AWStats installer akan secara otomatis meluncurkan awstats_configure.pl script untuk melakukan beberapa tindakan setup. If you're not using the Windows installer, you can find the script in the AWStats tools directory. Jika Anda tidak menggunakan installer Windows, Anda dapat menemukan script di direktori alat AWStats. To execute it use (if location of perl.exe is within your path environment): Untuk menjalankannya gunakan (jika lokasi perl.exe berada dalam lingkungan path anda):
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): Ini adalah fungsi skrip / bertanya (Anda dapat melakukan semua langkah-langkah ini secara manual bukannya berlari awstats_configure.pl (secara otomatis meluncurkan oleh Windows installer) jika Anda inginkan):
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 mencoba untuk menentukan saat ini format log dari server web Apache file konfigurasi httpd.conf (itu meminta jalan jika tidak ditemukan). 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). Jika Anda menggunakan login yang umum, awstats_configure.pl akan menyarankan perubahan kepada NCSA gabungan / XLF / ELF format (Anda dapat menggunakan format log kustom tapi format log standar ini sering merupakan pilihan terbaik dan membuat setup lebih mudah).
If you answer yes, awstats_configure.pl will modify your httpd.conf, changing the following directive from: Jika Anda menjawab ya, awstats_configure.pl akan memodifikasi httpd.conf anda, mengubah perintah berikut dari:
CustomLog /yourlogpath/yourlogfile common CustomLog / yourlogpath / yourlogfile Common
to untuk
CustomLog /yourlogpath/yourlogfile combined CustomLog / yourlogpath / yourlogfile gabungan
See the Apache manual for more information on this directive (possibly installed on your server as www.mysite.com/manual). Lihat manual Apache untuk informasi lebih lanjut mengenai petunjuk ini (mungkin diinstal pada server Anda sebagai www.mysite.com / manual).
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 akan kemudian menambahkan, jika belum ada, arahan berikut ini ke file konfigurasi Apache Anda (catatan bahwa "/ usr / local / awstats / wwwroot" path mungkin berbeda sesuai dengan distribusi Anda atau OS:
# #
# Directives to add to your Apache conf file to allow use of AWStats as a CGI. # Arahan untuk menambahkan Anda ke file conf Apache untuk memungkinkan penggunaan AWStats sebagai CGI.
# Note that path “/usr/local/awstats/” must reflect your AWStats Installation path. # Perhatikan bahwa path "/ usr / local / awstats /" harus mencerminkan jalan Instalasi AWStats Anda.
# #
Alias /awstatsclasses “/usr/local/awstats/wwwroot/classes/” Alias / awstatsclasses "/ usr / local / awstats / wwwroot / classes /"
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 / icon /"
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. # Ini adalah URL mengizinkan akses ke script / file dalam direktori AWStats.
# #Options None Pilihan Tidak
AllowOverride None AllowOverride None
Order allow,deny Order allow, deny
Allow from all Allow from allC) if changes were made as indicated in parts A and B, awstats_configure.pl restarts Apache to apply the changes. C) jika perubahan dibuat seperti ditunjukkan di bagian A dan B, awstats_configure.pl restart Apache untuk menerapkan perubahan. To be sure the log format change is effective, go to your homepage. Untuk memastikan perubahan format log efektif, pergi ke situs Anda. This is an example of the type of records you should see inserted in your new log file after Apache was restarted: Ini adalah contoh dari jenis catatan anda harus melihat disisipkan dalam file log yang baru setelah itu restart Apache:
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 - - [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) "
D) awstats_configure.pl will ask you for a name for the configuration profile file. D) awstats_configure.pl akan meminta nama untuk profil konfigurasi file. Enter an appropriate name such as that of your web server or the virtual domain to be analyzed, ie mysite. Masukkan nama yang sesuai seperti yang dari web server atau virtual domain harus dianalisis, yaitu mysite.
awstats_configure.pl will create a new file called awstats.mysite.conf by copying the template file awstats.model.conf. awstats_configure.pl akan menciptakan sebuah file baru bernama awstats.mysite.conf dengan menyalin file template awstats.model.conf. The new file location is: Lokasi file yang baru adalah:
- For Linux/BSD/Unix users: /etc/awstats. - Untuk Linux / BSD / Unix pengguna: / etc / awstats.
- For Mac OS X, Windows and other operating systems: the same directory as awstats.pl (cgi-bin). - Untuk Mac OS X, Windows dan sistem operasi lain: direktori yang sama dengan awstats.pl (cgi-bin).E) awstats_configure.pl ends. E) awstats_configure.pl berakhir.
Check through the httpd.conf is configured properly according to steps above. Periksa melalui httpd.conf dikonfigurasi dengan benar sesuai dengan langkah-langkah di atas. It has been reported that sometime the CustomLog is not changed from common to combined. Telah dilaporkan bahwa kadang-kadang yang CustomLog tidak berubah dari umum untuk digabungkan.
Additional Configuration at Main Parameters of awstats. mysite .conf Konfigurasi tambahan di Main Parameter awstats. Mysite. Conf
A) Change Apache log file directory by: A) Change Apache direktori file log oleh:
Find : LogFile=”/var/log/apache/access.log” Cari: logfile = "/ var / log / apache / access.log"
Replace with : LogFile=”C:/Program Files/Apache Group/Apache2/logs/access_log” Ganti dengan: 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 /) (Penting: setting default instalasi Apache jalan. Jika Anda mengubah jalur Apache anda, silakan masukan sesuai. Perhatikan bahwa Seperator direktori adalah /)
B) Change log file type (Optional, typically no need to change) B) Ubah tipe file log (Opsional, biasanya tidak perlu mengubah)
Find : LogType=W Cari: 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. Ganti nilai dengan "W" untuk menganalisa file log server Web, "S" untuk file log server streaming, "M" untuk surat file log, "M" untuk ftp file log.
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) Periksa apakah LogFormat memiliki nilai "1" (berarti "NCSA apache gabungan / ELF / XLF log format") atau menggunakan format log personalisasi jika Anda tidak menggunakan format log gabungan.
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) Periksa apakah SiteDomain parameter dengan nama domain utama atau nama server web intranet digunakan untuk menjangkau situs Web untuk menganalisis (Contoh: www.mydomain.com).
E) If you have several possible name for same site, add list in HostAlias parameter: E) Jika Anda memiliki beberapa nama mungkin untuk situs yang sama, tambahkan parameter HostAlias daftar di:
Find : HostAliases=”localhost 127.0.0.1 REGEX[^.*\.myserver\.com$]” Cari: HostAliases = "127.0.0.1 localhost regex [^ .* \. MyServer \. Com $]"
Replace with : HostAliases=”yoursite.com localhost 127.0.0.1″ Ganti dengan: HostAliases = "127.0.0.1 localhost yoursite.com"
(You can include alias names from dynamic DNS accounts such as www.mysite.serveftp.net and etc.) (Anda dapat memasukkan nama alias dari account DNS dinamis seperti www.mysite.serveftp.net dan sebagainya)
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 statistik dapat diupdate dari browser, untuk menyediakan real-time statistik, dengan mengklik "Update now" link yang muncul saat AWStats digunakan sebagai CGI. To enable it: Untuk mengaktifkannya
Find : AllowToUpdateStatsFromBrowser=0 Cari: AllowToUpdateStatsFromBrowser = 0
Replace with : AllowToUpdateStatsFromBrowser=1 Ganti dengan: 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) Edit 'awstats.pl' yang terletak di "C: \ Program Files \ AWStats \ wwwroot \ cgi-bin \" dan mengganti path pada baris pertama untuk menunjuk ke lokasi tepat perl.exe di sistem anda, yaitu #! C: \ perl \ bin \ perl.exe.
To Maintain Just Single CGI Directory – Optional Untuk Menjaga Hanya Single CGI Directory - Optional
New version of AWStats creates alias directory entries at the bottom of Apache httpd.conf file. Versi baru AWStats menciptakan entri direktori alias di bagian bawah file httpd.conf Apache. If you want to have just one CGI executable directory, you have to move the AWStats scripts to existing CGI directory. Jika Anda ingin memiliki hanya satu executable CGI direktori, Anda harus memindahkan AWStats CGI script yang ada direktori.
The following assume installation in default path. Mengasumsikan berikut pemasangan di jalur default.
- 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\” SEMUA Menyalin file dan sub-folder yang terdapat dalam "C: \ Program Files \ AWStats \ wwwroot \ cgi-bin \" dan paste ke dalam web server Apache2 cgi-bin pada "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\” SEMUA Menyalin file dan sub-folder yang terdapat dalam "C: \ Program Files \ AWStats \ wwwroot \ icon \" dan paste ke dalam web server Apache2 ikon folder "C: \ Program Files \ Apache Group \ Apache2 \ ikon \"
Edit again the awstats. mysite .conf file, the change the following: Edit lagi awstats. Mysite. Conf file, perubahan berikut ini:
Find : DirIcons=”/icon” Cari: DirIcons = "/ ikon"
Replace with : DirIcons=”/icons” Ganti dengan: DirIcons = "/ icons"
Delete from Apache web server's httpd.conf the alias directory that has been inserted by AWStats setup program. Hapus dari server web Apache httpd.conf direktori alias yang telah dimasukkan oleh AWStats program setup.
Optional Setup Section Opsional Setup Bagian
Find : DefaultFile=”index.html” Cari: DefaultFile = "index.html"
Replace with your default index page, only if necessary, ie DefaultFile=”index.php” or DefaultFile=”index.php index.html” Ganti dengan halaman indeks default Anda, hanya jika diperlukan, yaitu DefaultFile = "index.php" atau DefaultFile = "index.php index.html"
Find : SkipHosts=”" Cari: SkipHosts = ""
Replace with : SkipHosts=”127.0.0.1 REGEX[^192\.168\.] REGEX[^10\.0\.]” Ganti dengan: 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. Hal ini untuk tidak menyertakan statistik dari mesin lokal Anda sendiri, mereka akan tetap berada di file log yang sebenarnya, tetapi dikecualikan dari awstats penting. To get actual hits and figures it's sometime necessary, but is not essential at this stage. Untuk mendapatkan angka-angka aktual hits dan kadang itu perlu, tetapi tidak penting pada tahap ini.
Build/Update Statistics Build / Update Statistik
There are two possible way to analyze, update and generate the AWStats statistics, command line and browser based. Ada dua cara yang mungkin untuk menganalisis, update dan menghasilkan statistik AWStats, baris perintah dan berbasis browser.
Command Line Option Opsi Command Line
Go to the command line, and change directory to your AWStats cgi-bin directory, ie C:\Program Files\AWStats\wwwroot\cgi-bin. Pergi ke baris perintah, dan mengubah direktori ke AWStats direktori cgi-bin, yaitu C: \ Program Files \ AWStats \ wwwroot \ cgi-bin.
The AWStats update command line is (replace with your domain): The AWStats update baris perintah (ganti dengan domain Anda):
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 file database disimpan dalam direktori didefinisikan oleh parameter DirData file konfigurasi, yang kita kiri sebagai default (direktori saat ini). Update might take a while, if the log file is big. Update mungkin berlangsung cukup lama, jika file log besar. When update is finished, you should get on screen a result like this: Ketika update selesai, Anda harus mendapatkan hasil pada layar seperti ini:
Update for config “/etc/awstats/awstats.myvirtualhostname.conf” Update for config "/ etc / awstats / awstats.myvirtualhostname.conf"
With data in log file “/pathtoyourlog/yourlog.log”… Dengan data dalam file log "/ pathtoyourlog / yourlog.log" ...
Phase 1 : First bypass old records, searching new record… Tahap 1: First bypass catatan lama, mencari catatan baru ...
Searching new records from beginning of log file… Pencarian rekor baru dari awal file log ...
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)… Tahap 2: Proses Sekarang rekor baru (Flush sejarah pada disk setelah 20.000 host) ...
Jumped lines in file: 0 Melompat baris di file: 0
Parsed lines in file: 225730 Parsing baris di file: 225.730
Found 122 dropped records, Found 122 menjatuhkan catatan,
Found 87 corrupted records, Found 87 rusak catatan,
Found 0 old records, Found 0 old records,
Found 225521 new qualifed records. 225.521 menemukan catatan qualifed baru.
Browser Option Opsi 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 ). Statistik AWStats dapat diupdate dari browser, untuk menyediakan real-time statistik, dengan mengklik "Update now" link yang muncul saat AWStats digunakan sebagai CGI (hanya berlaku jika AllowToUpdateStatsFromBrowser diatur ke 1 dalam file konfigurasi AWStats).
Read Statistics Baca Statistik
Again, there is 2 methods where AWStats's statistics can be read, corresponding to the generation method of the stats mentioned above. Sekali lagi, ada 2 metode mana statistik AWStats dapat dibaca, sesuai dengan metode generasi statistik disebutkan di atas.
Command Line Option Opsi Command Line
At the same directory, after the first update command is finished, run the following command: Pada direktori yang sama, setelah perintah update pertama selesai, jalankan perintah berikut:
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. Proses ini mungkin berlangsung cukup lama, setelah itu selesai, sebuah html akan dihasilkan di mana Anda dapat melihatnya dengan browser dengan mengkliknya dua kali.
Browser Option Opsi browser
Access the following directory (replace with your own domain): Mengakses direktori berikut (ganti dengan domain Anda sendiri):
http://www.myserver.mydomain/awstats/awstats.pl?config=myvirtualhostname http://www.myserver.mydomain/awstats/awstats.pl?config=myvirtualhostname
IMPORTANT : The page is machine translated and provided "as is" without warranty. PENTING: Halaman ini adalah mesin diterjemahkan dan diberikan "sebagaimana adanya" tanpa jaminan. Machine translation may be difficult to understand. Terjemahan mesin mungkin sulit untuk mengerti. Please refer to Silakan merujuk ke original English article artikel asli bahasa Inggris whenever possible. bila memungkinkan.
Related Articles Artikel Terkait
- Site Statistics Tracker Performancing Metrics Reviews Statistik Situs Performancing Metrics Tinjauan Tracker
- WordPress Plugin: Display Google Analytics and FeedBurner Reports Statistics from Site Admin Wordpress Plugin: Tampilan Google Analytics dan Feedburner Laporan Statistik dari Site Admin
- Install, Setup and Configure CGI and Perl in Windows XP Install, Setup dan Konfigurasi CGI dan Perl di Windows XP
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 2 Install Web Server di Windows XP dengan Apache2, PHP5 dan MySQL4 - Bagian 2
- Google AdSense and AdWords Statistics Not Updating and Delay Again Google AdSense dan AdWords Memperbarui dan Statistik Tidak Delay Lagi
- Download Free Disk Analyzer to Monitor and Clean Up Hard Disk Space Usage Download Gratis Disk Analyzer ke Monitor dan Clean Up Hard Disk Space Usage
- AdSense Reports and Statistics Not Real-Time Laporan AdSense dan Statistik Tidak Real-Time
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 3 Install Web Server di Windows XP dengan Apache2, PHP5 dan MySQL4 - Bagian 3
- Redirect Blogger RSS Feed to FeedBurner for Detailed Statistics and Monetize Ads Redirect Blogger RSS Feed to FeedBurner untuk dan Monetize Statistik Detil Iklan
- Compare Website Traffic and Website Statistics Easily Alexaholic Bandingkan Website Traffic and Website Statistics Mudah Alexaholic









































