Install AWStats- Free Logfile Analyzer for Site Statistics awstats -無料のログファイルアナライザをインストールするサイトの統計情報

Prerequisite 前提条件

As AWStats is Perl based, a Perl Interpreter need to be installed first to take anvantage of AWStats. awstatsは、 Perlをベースとして、通訳にするPerlの最初にインストールする必要がありますanvantageのawstatsを取る。 For instruction on how to install Perl in Windows machine, check out上の命令でPerlのWindowsマシンをインストールする方法については、チェックアウト this articleこの記事は .です。

Download AWStats ダウンロードawstats

Download latest stable release of AWStats from awstatsから最新の安定版リリースのダウンロード http://www.awstats.org/ .です。 Choose the setup package that ended with .exe extension.セットアップパッケージを選択して終了します。 exe拡張子です。

Install AWStats インストールawstats

Launch the AWStats setup file by double clicking on the executable that just has been downloaded.セットアップファイルを起動してawstatsの実行可能ファイルをダブルクリックしてダウンロードしてきたというだけです。

awstatsのインストール
Click “Next” to continue.クリックして"次へ"を続行します。

awstatsのインストール
Click “I Agree” to continue.クリックして"同意する"を続行します。

awstatsのインストール
You may want to change the installation folder here.することができますインストール先フォルダを変更してください。 Then click on “Install” to start the installation.をクリックして"インストール"インストールを開始します。

Setup and Configuration for Apache Web Server Apache Webサーバのセットアップと設定を

AWStats installer will automatically launches the awstats_configure.pl script to do several setup actions. awstatsインストーラは、スクリプトを自動的に起動し、これを行うにawstats_configure.plいくつかのセットアップ操作します。 If you’re not using the Windows installer, you can find the script in the AWStats tools directory.使用していない場合は、 Windowsインストーラでスクリプトを見つけることができますawstatsツールディレクトリにコピーします。 To execute it use (if location of perl.exe is within your path environment):を使用して実行して(にしている場合は、パスの場所をperl.exe環境) :

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):これはどのようなスクリプトが/要求(すべての手順を実行することができます。行う手動で実行中の代わりにawstats_configure.pl ( Windowsインストーラを自動的に起動する)必要に応じて) :

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). 1 ) awstats_configure.plしようとする現在のログ形式を確認するにしてApache Webサーバの設定ファイルhttpd.confの(それを要求する場合のパスが見つかりません)です。 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).共通ログを使用する場合は、変更することを提案awstats_configure.plは、 NCSAの組み合わせ/ xlf / ELFフォーマット(使用することができます独自のカスタムログ形式しかし、この定義済みのログ形式は、多くの場合、最良の選択とセットアップを容易にする) 。

If you answer yes, awstats_configure.pl will modify your httpd.conf, changing the following directive from:場合に答えはい、 awstats_configure.plを変更してhttpd.confの中で、次のディレクティブを変更して投稿者:

CustomLog /yourlogpath/yourlogfile common customlog / yourlogpath / yourlogfile共通

to 〜へ

CustomLog /yourlogpath/yourlogfile combined customlog / yourlogpath / yourlogfile複合

See the Apache manual for more information on this directive (possibly installed on your server as www.mysite.com/manual). Apacheのマニュアルを参照して、このディレクティブの詳細については、 (多分にインストールされてサーバーにwww.mysite.com /取扱説明書) 。

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:イ)を追加awstats_configure.plが、そうでない場合は、すでに存在する場合、お客様は、次のディレクティブをApacheの設定ファイル(に注意して" / usr /ローカル/ awstats / wwwrootに"あなたの分布によると、パスが異なるかもしれませんまたはOS :

#
# Directives to add to your Apache conf file to allow use of AWStats as a CGI. #ディレクティブを追加するApacheのconfファイルをおawstatsとしての使用を許可するCGIで提供します。
# Note that path “/usr/local/awstats/” must reflect your AWStats Installation path. #に注意してパス" / usr /ローカル/ awstats / "に反映させる必要があります。 awstatsのインストールパスを入力します。
#
Alias /awstatsclasses “/usr/local/awstats/wwwroot/classes/”エイリアス/ awstatsclasses " / usr /ローカル/ awstats / wwwrootに/クラス/ "
Alias /awstatscss “/usr/local/awstats/wwwroot/css/”エイリアス/ awstatscss " / usr /ローカル/ awstats / wwwrootに/ cssの/ "
Alias /awstatsicons “/usr/local/awstats/wwwroot/icon/”エイリアス/ awstatsicons " / usr /ローカル/ awstats / wwwrootに/アイコンを/ "
ScriptAlias /awstats/ “/usr/local/awstats/wwwroot/cgi-bin/”設定ScriptAlias / awstats / " / usr /ローカル/ awstats / wwwrootに/ cgi - binに/ "

#
# This is to permit URL access to scripts/files in AWStats directory. #これはURLのアクセスを許可するスクリプト/ awstatsのファイルをディレクトリにコピーします。
#

Options Noneオプションなし
AllowOverride None allowoverrideなし
Order allow,deny注文できるように、否定
Allow from allすべての許可

C) if changes were made as indicated in parts A and B, awstats_configure.pl restarts Apache to apply the changes. C )もし変更が行われたaとbの部品として示され、 Apacheのawstats_configure.plを再起動する変更を適用します。 To be sure the log format change is effective, go to your homepage.ログ形式を変更することを確認しては、効果的には、お客様のホームページに戻る。 This is an example of the type of records you should see inserted in your new log file after Apache was restarted:これは、例として表示されるはずのタイプのレコードをして新しいログファイルに挿入され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 -- [D Dの/うーん/年:時:分:秒+ 0 000]"取得/h t tp/1.1"2 0 012 34"h t tp://www.from.com/from.html"" m o zilla/4.0(互換性; msie 5.01 ;のWindows NT 5.0 ) "

D) awstats_configure.pl will ask you for a name for the configuration profile file.奥行)はawstats_configure.plの名前を尋ねることはプロファイルの設定ファイルです。 Enter an appropriate name such as that of your web server or the virtual domain to be analyzed, ie mysite.適切な名前を入力するなど、お客様のウェブサーバーまたは仮想ドメインと分析される、すなわちmysiteよりです。

awstats_configure.pl will create a new file called awstats.mysite.conf by copying the template file awstats.model.conf. awstats_configure.pl awstats.mysite.confと呼ばれる新しいファイルを作成するテンプレートファイルにコピーしてawstats.model.confされています。 The new file location is:新しいファイルの場所は:
- For Linux/BSD/Unix users: /etc/awstats. -ためのL inux/ B SD/ U nix向けユーザーになります: / e tc/ a wstatsです。
- For Mac OS X, Windows and other operating systems: the same directory as awstats.pl (cgi-bin). -M acO SXでは、 W indowsなどの他のオペレーティングシステム: a wstats.plと同じディレクトリ( c gi- b inに) 。

E) awstats_configure.pl ends.メール) awstats_configure.plを終了します。

Check through the httpd.conf is configured properly according to steps above. httpd.confのチェックが適切に構成するによると、上記の手順を実行します。 It has been reported that sometime the CustomLog is not changed from common to combined.いつかすることが報告されcustomlogではないから共通して組み合わせが変更されました。

Additional Configuration at Main Parameters of awstats. mysite .conf awstatsをメインのパラメータを追加設定します。 mysiteよりです。研究会

A) Change Apache log file directory by: 1 ) Apacheのログファイルのディレクトリを変更する:

Find : LogFile=”/var/log/apache/access.log”検索:ログファイル= "の/ var / log / Apacheの/ access.log "
Replace with : LogFile=”C:/Program Files/Apache Group/Apache2/logs/access_log”置換後の文字:ログファイル= " c : /プログラムファイル/ 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 /) (重要:デフォルトの設定では、 Apacheのインストールパスを入力します。 Apacheのパスを変更する場合、必ず入力してください。 seperatorに注意しているディレクトリは、 / )

B) Change log file type (Optional, typically no need to change)イ)変更ログファイルの種類(オプションは、通常を変更する必要はありません)
Find : LogType=W検索: logtype =ワット
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.交換して値を" w "のウェブサーバーのログファイルを分析するため、 "秒"は、ストリーミングサーバーのログファイルは、 " m "をメールのログファイルは、 " f "を、 FTPのログファイルです。

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 )かどうかを確認のLOGFORMATの値は" 1 " (という意味" NCSAのApacheの組み合わせ/エルフ/ xlfログ形式" )またはお好みを使用するログ形式を使用しない場合は複合ログ形式です。

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).奥行)かどうかを確認sitedomainパラメータをメインのドメイン名またはイントラネットのWebサーバー名を使用してアクセスするWebサイトを分析する(例: www.mydomain.com ) 。

E) If you have several possible name for same site, add list in HostAlias parameter:メール)場合には、いくつかの可能性と同じサイトの名前を、リストに追加hostaliasパラメータ:

Find : HostAliases=”localhost 127.0.0.1 REGEX[^.*\.myserver\.com$]”検索: hostaliases = " 127.0.0.1 localhostの正規表現[ ^ .* \ 。 myserverの\ 。 co.jpで$ ] "
Replace with : HostAliases=”yoursite.com localhost 127.0.0.1″置換後の文字: hostaliases = " yoursite.com localhostの127.0.0.1 "
(You can include alias names from dynamic DNS accounts such as www.mysite.serveftp.net and etc.) (エイリアスの名前を含めることができますなどwww.mysite.serveftp.netよりダイナミックDNSのアカウントなど)

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.換) awstatsの統計情報から更新できるブラウザでは、リアルタイムの統計情報を提供する、をクリックして、 "今すぐアップデート"のリンクが表示されるときには、 CGI awstatsとして使用されています。 To enable it:有効にするには:

Find : AllowToUpdateStatsFromBrowser=0検索: allowtoupdatestatsfrombrowser = 0
Replace with : AllowToUpdateStatsFromBrowser=1置換後の文字: 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.グラム)を編集' awstats.pl 'に位置" c : \プログラムファイル\ awstats \ wwwrootに\のcgi - bin \ "に変更し、パス上の最初の行にperl.exe正確な場所をポイントするようにするには、システム、すなわち# ! c : \ Perlの\ binに\ perl.exeです。

To Maintain Just Single CGI Directory - Optional シングルのCGIディレクトリだけを維持する-オプション

New version of AWStats creates alias directory entries at the bottom of Apache httpd.conf file.新しいバージョンのエイリアスを作成awstatsディレクトリエントリの下部にApacheのhttpd.confファイルです。 If you want to have just one CGI executable directory, you have to move the AWStats scripts to existing CGI directory.をする場合は、 CGI実行ディレクトリが1つだけでは、既存のCGIスクリプトを移動してawstatsディレクトリにコピーします。

The following assume installation in default path.インストール手順は、次のデフォルトのパスと仮定します。

  • 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\”すべてのファイルとフォルダのコピーに含まれるサブ" c : \プログラムファイル\ awstats \ wwwrootに\のcgi - bin \ "して貼り付けるとしてapache2のWebサーバーのcgi - binには" c : \プログラムファイル\ Apacheグループ\ 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\”すべてのファイルとフォルダのコピーに含まれるサブ" c : \プログラムファイル\ awstats \ wwwrootに\アイコンを\ "して貼り付けると、 apache2のWebサーバーのアイコンをフォルダを" c : \プログラムファイル\ Apacheグループ\ apache2の\アイコン\ "

Edit again the awstats. mysite .conf file, the change the following:再びawstats編集します。 mysiteよりです。 confファイルは、変更して以下の通りです:

Find : DirIcons=”/icon”検索: diricons = " /アイコンを"
Replace with : DirIcons=”/icons”置換後の文字: diricons = " /アイコンを"

Delete from Apache web server’s httpd.conf the alias directory that has been inserted by AWStats setup program. httpd.confのApache Webサーバから削除するのが、エイリアスのディレクトリにされてきたawstatsセットアッププログラムが挿入されます。

Optional Setup Section オプションのセットアップセクション

Find : DefaultFile=”index.html”検索: defaultfile =の" index.html "
Replace with your default index page, only if necessary, ie DefaultFile=”index.php” or DefaultFile=”index.php index.html”デフォルトのインデックスページで置き換えるして、必要に応じてのみ、すなわちdefaultfile = " index.php "のかdefaultfile = " index.phpをindex.html "と

Find : SkipHosts=”"検索: skiphosts = " "
Replace with : SkipHosts=”127.0.0.1 REGEX[^192\.168\.] REGEX[^10\.0\.]”置換後の文字: skiphosts = " 127.0.0.1のregex [ ^ 192 \ .168 \ 。 ]正規表現[ ^ 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.これは統計を含めないから、独自のローカルマシンでは、かれらは、実際のログファイルが残ってawstatsカウントから除外します。 To get actual hits and figures it’s sometime necessary, but is not essential at this stage.実際の数字を得ることのヒット曲を出し、いつか必要な、しかし、この段階で必要不可欠ではない。

Build/Update Statistics ビルド/更新プログラムの統計情報

There are two possible way to analyze, update and generate the AWStats statistics, command line and browser based.方法には2つの可能性を分析し、更新プログラムのawstatsの統計情報を生成すると、コマンドラインおよびブラウザベースのです。

Command Line Option コマンドラインオプション

Go to the command line, and change directory to your AWStats cgi-bin directory, ie C:\Program Files\AWStats\wwwroot\cgi-bin.コマンドラインに行く、とawstatsにディレクトリを変更してcgi - binディレクトリ、例えばC : \プログラムファイル\ awstats \ wwwrootに\ cgi - binにします。

The AWStats update command line is (replace with your domain):コマンドラインのawstats更新プログラムは、 (置換後のお客様のドメイン) :

perl awstats.pl -config=www.yourdomain.com -update Perlの設定= awstats.pl - www.yourdomain.com -更新プログラム

AWStats database files are saved in directory defined by DirData parameter in config file, which we left as default (current directory). awstatsデータベースファイルのディレクトリに保存されdirdataのパラメータにconfigファイルで定義され、私たちとして左のデフォルト(カレントディレクトリ)です。 Update might take a while, if the log file is big.更新プログラムのかもしれない時間がかかることが、場合は、ログファイルが大きい。 When update is finished, you should get on screen a result like this:ときに更新プログラムが完了したら、結果を画面に表示するを取得するべきかをこのよう:

Update for config “/etc/awstats/awstats.myvirtualhostname.conf”更新プログラムの設定" /等/ awstats / awstats.myvirtualhostname.conf "
With data in log file “/pathtoyourlog/yourlog.log”…とのデータをログファイル" / pathtoyourlog / yourlog.log " …
Phase 1 : First bypass old records, searching new record…フェーズ1 :最初のバイパス古い記録によりますと、検索の新記録…
Searching new records from beginning of log file…新しいレコードの検索ログファイルから始まり…
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)…フェーズ2 :今すぐプロセスの新しいレコード( 20000した後フラッシュディスク上の履歴のホスト) …
Jumped lines in file: 0跳びの行をファイル: 0
Parsed lines in file: 225730パースの行をファイル: 225730
Found 122 dropped records, 122下落が見つかりました記録によりますと、
Found 87 corrupted records, 87破損が見つかりました記録によりますと、
Found 0 old records,が見つかりました0古い記録によりますと、
Found 225521 new qualifed records. 225521新しい資格のレコードが見つかりました。

Browser Option ブラウザのオプション

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の統計情報から更新できるブラウザでは、リアルタイムの統計情報を提供する、をクリックして、 "今すぐアップデート"のリンクが表示されるときには、 CGIとして使用されてawstats (にのみ適用さを1に設定する場合allowtoupdatestatsfrombrowser awstats configファイル) 。

Read Statistics 読む統計

Again, there is 2 methods where AWStats’s statistics can be read, corresponding to the generation method of the stats mentioned above.繰り返しますが、 2つの方法にはawstatsの統計で読み込み可能であれば、その世代のメソッドに対応して、上述の統計情報です。

Command Line Option コマンドラインオプション

At the same directory, after the first update command is finished, run the following command:は、同じディレクトリに、コマンドをした後の最初の更新プログラムが完了したら、以下のコマンドを実行します:

perl awstats.pl -config=myvirtualhostname -output -staticlinks > awstats.myvirtualhostname.html awstats.pl - Perlの出力設定= myvirtualhostname - 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.そのプロセスがかかる場合がありますが、後の終了したら、どこが生成さをHTML表示することができますして、ブラウザをダブルクリックしてしてください。

Browser Option ブラウザのオプション

Access the following directory (replace with your own domain):次のディレクトリにアクセスして(交換して、独自のドメイン) :

http://www.myserver.mydomain/awstats/awstats.pl?config=myvirtualhostname

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要 :これは、機械翻訳ページで提供"現状有姿"を保証します。 Machine translation may be difficult to understand.機械翻訳を理解するのは難しいかもしれません。 Please refer toを参照してください original English articleオリジナルの英語記事索引 whenever possible.いつ可能です。

Share and contribute or get technical support and help atを共有して貢献や技術サポートとヘルプを得る My Digital Life Forums 私のデジタルライフフォーラム .です。



Leave a Reply残して返信

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> これらのタグを使用することができます: <aのhref=のtitle= <abbrのtitle= <blockquote cite=""> <cite> <acronymのtitle= <b>ダウンロードの<code> <デル日時= " " >の<em> <i>て<strike> <strong> <q cite="">

Subscribe without commenting登録なしのコメント


Custom Search

New Articles新しい記事

Incoming Search Terms for the Article検索用語を受信するには

AWStats FOR WINDOWS awstatsをWindowsの - - AWStats windows awstatsのWindows - - maillog analyzer maillogアナライザ - - awstat install awstatインストール - - install awstat インストールawstat - - awstat windows Windowsのawstat - - awstats command line awstatsコマンドライン - - awstats windows installer awstats Windowsインストーラ - - awstats windows apache WindowsのApacheのawstats - - Flush history file on disk (unique hosts reach flush limit of 20000) 履歴ファイルをフラッシュディスク(固有のホストフラッシュの限界に達する20000 ) - - how to install awstats awstatsをインストールする方法について - - installer awstat インストーラawstat - - apache awstats windows WindowsのApacheのawstats - - awstats_configure.pl awstats_configure.pl - - awstat command line コマンドラインawstat - - how to install awstats in windows 2003 server awstatsをインストールする方法についてはWindows 2003サーバ - - Flush history file on disk (unique url reach flush limit of 5000) 履歴ファイルをフラッシュディスク(固有のフラッシュの限界に達する5000 ) - - awstats on windows awstatsをWindows - - AWstat on windows awstatをWindows - - awstats windows 2003 awstatsウインドウズ2003 - - awstats apache Apacheのawstats - - awstat installation awstatのインストール - - If not, you can run "awstats_configure.pl" from command line, or create it manually. そうでない場合は、実行することができます" awstats_configure.pl "コマンドラインからか、または手動で作成することです。 - - awstats windows installation awstats Windowsのインストール - - awstats apache windows ApacheのWindowsのawstats - - maillog analyser maillog分析計 - - how to install awstats in windows Windowsでawstatsをインストールする方法について - - AWstats for Windows apache awstatsをWindowsのApacheの - - awstats directory location awstatsディレクトリの場所 - - installing awstats +bsd awstats + BSDのインストール - - AWStats Logfile Analyzer awstatsのログファイルアナライザ - - repair corrupted records in awstats apache Apacheの破損のレコードを修復awstats - - awstat installer awstatインストーラ - - awstats installer awstatsインストーラ - - how to install awstats on windows awstatsをインストールする方法についてはWindows - - awstats maillog awstats maillog - - awstats for win 64 awstatsを64に勝つ - - how to setup AWstats on windows XP Windows XPでのセットアップ方法についてawstats - - instalar awstats en windows server awstatsアンインストールのWindowsサーバー - - how to install awstat awstatをインストールする方法について - - Awstats with apache on windows awstatsとApacheをWindows - - awstat maillog awstat maillog - - awstats install without httpd.conf awstatsをインストールせずにhttpd.conf - - analyze access.log OS X access.log OS Xの分析 - - awstats windows 2003 ntfs awstatsウインドウズ2003のNTFS - - awstats for windows xp awstats for Windows XPで - - awstats server 2003 2003年awstatsサーバー - - install awstats インストールawstats - - awstats for windows 2003 awstatsをウインドウズ2003 - - instalar awstats en windows awstatsアンインストールのWindows - -