Home
News
Forum
Wiki
Blog
Contents
Gallery
Movies
Downloads
About NSL
[
List of Titles
|
List of Pages
|
New
|
Search
|
Recent changes
|
Help
]
AWStats
[
Front page
]
[ ]
Start:
*AWStats
-WWW用ログ解析ツール
#br
**Links
- http://awstats.sourceforge.net/
- 日本語化バージョン http://www.bflets.dyndns.org/Tools/...
#br
**インストール
*** [[Jcode.pm]] のインストール
- Perl用の日本語処理ライブラリ jcode.pl の後継
- http://openlab.ring.gr.jp/Jcode/index-j.html
# zcat Jcode-*.tar.gz | tar xvf -
# cd Jcode-*
# perl Makefile.PL; make; make install
*** AWStatsのインストール
-展開ディレクトリを /usr/local/awstats にする.
# chown -R www.www /usr/local/awstats
# cd /usr/local/awstats/wwwroot/cgi-bin
# ln -s awstats.model_jp.conf awstats.model.conf
# cd ../../tools
# perl awstats_configure.pl
-----> Define config file name to create
What is the name of your web site or profile analysis ?
Example: www.mysite.com
Example: demo
Your web site, virtual server or profile name:
> NSL
-----> Define config file path
In which directory do you plan to store your config file...
Default: /etc/awstats
Directory path to store config file(s) (Enter for defaul...
> /usr/local/etc/awstats
** 設定
*** Apacheの設定
-httpd.conf の CustomLog を ''combined'' にする.HTTPS を...
# Per-Server Logging:
# The home of a custom SSL log file. Use this when you...
# compact non-error SSL logfile on a virtual host basis.
#CustomLog /usr/local/apache/logs/ssl_request_log \
# "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\"...
CustomLog /usr/local/apache/logs/access_log combined
- 以下の設定が自動的に apache の ''httpd.conf'' に追加さ...
#
# Directives to allow use of AWStats as a CGI
#
Alias /awstatsclasses "/usr/local/awstats/wwwroot/classe...
Alias /awstatscss "/usr/local/awstats/wwwroot/css/"
Alias /awstatsicons "/usr/local/awstats/wwwroot/icon/"
ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bi...
#
# This is to permit URL access to scripts/files in AWSta...
#
<Directory "/usr/local/awstats/wwwroot">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
- apache の再起動
#br
*** AWStatsの設定
- 設定ファイル
# vi /usr/local/etc/awstats/awstats.NSL.conf
LogFile="/var/log/awstats_log.utf8"
SiteDomain="www.nsl.tuis.ac.jp"
# chmod o+rx /usr/local/etc/awstats
# chmod o+r /usr/local/etc/awstats/*
- 結果を格納するディレクトリを作る
# mkdir /var/lib/awstats
# chown www.www /var/lib/awstats
# chmod o-rwx,g+s /var/lib/awstats
- 最初の実行
# /usr/local/awstats/wwwroot/cgi-bin/utf8_decode.pl < /u...
# /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -config=...
- チェック
http://www.nsl.tuis.ac.jp/awstats/awstats.pl?config=NSL
#br
*** cron の設定
- ''awstats.cron'' を編集して,''/etc/cron.daily'' にコ...
- サンプル
#! /usr/bin/perl
# 完全日本語版AWStats用サンプルcronファイル
#
# ファイルパス等は自分の環境に合わせて書き直して下さい。
# httpのログファイルをデコードした上で一時ディレクトリに...
# access_log.utf8は一時的にデコードしたログを保存するフ...
system(" /usr/local/awstats/wwwroot/cgi-bin/utf8_decode....
#system(" /bin/cat < /dev/null > /usr/local/apache/logs/...
# awstats.plが切り詰めないオリジナルのログを切り詰めます...
open(LOG,"+</usr/local/apache/logs/access_log");
truncate(LOG,0);
close(LOG);
# Ver.5.0から、更新処理を別途走らせる必要ができたらしい....
system(" /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -...
#system(" /usr/local/awstats/wwwroot/cgi-bin/awstats.pl ...
# awstats.plを走らせ、htmlファイルを出力します。
# 必須ではありませんが、awstats.plを直接参照させるよりも...
# る方が、良好なパフォーマンスが得られます。
system(" /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -...
# アクセス可能になるように出力したhtmlファイルの権限を変更
system("chown www.www /home/apache/htdocs/awstats_log/in...
# chmod a+rx /etc/cron.daily/awstats.cron
# mkdir /home/apache/htdocs/awstats_log
# chown www.www /home/apache/htdocs/awstats_log
End:
*AWStats
-WWW用ログ解析ツール
#br
**Links
- http://awstats.sourceforge.net/
- 日本語化バージョン http://www.bflets.dyndns.org/Tools/...
#br
**インストール
*** [[Jcode.pm]] のインストール
- Perl用の日本語処理ライブラリ jcode.pl の後継
- http://openlab.ring.gr.jp/Jcode/index-j.html
# zcat Jcode-*.tar.gz | tar xvf -
# cd Jcode-*
# perl Makefile.PL; make; make install
*** AWStatsのインストール
-展開ディレクトリを /usr/local/awstats にする.
# chown -R www.www /usr/local/awstats
# cd /usr/local/awstats/wwwroot/cgi-bin
# ln -s awstats.model_jp.conf awstats.model.conf
# cd ../../tools
# perl awstats_configure.pl
-----> Define config file name to create
What is the name of your web site or profile analysis ?
Example: www.mysite.com
Example: demo
Your web site, virtual server or profile name:
> NSL
-----> Define config file path
In which directory do you plan to store your config file...
Default: /etc/awstats
Directory path to store config file(s) (Enter for defaul...
> /usr/local/etc/awstats
** 設定
*** Apacheの設定
-httpd.conf の CustomLog を ''combined'' にする.HTTPS を...
# Per-Server Logging:
# The home of a custom SSL log file. Use this when you...
# compact non-error SSL logfile on a virtual host basis.
#CustomLog /usr/local/apache/logs/ssl_request_log \
# "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\"...
CustomLog /usr/local/apache/logs/access_log combined
- 以下の設定が自動的に apache の ''httpd.conf'' に追加さ...
#
# Directives to allow use of AWStats as a CGI
#
Alias /awstatsclasses "/usr/local/awstats/wwwroot/classe...
Alias /awstatscss "/usr/local/awstats/wwwroot/css/"
Alias /awstatsicons "/usr/local/awstats/wwwroot/icon/"
ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bi...
#
# This is to permit URL access to scripts/files in AWSta...
#
<Directory "/usr/local/awstats/wwwroot">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
- apache の再起動
#br
*** AWStatsの設定
- 設定ファイル
# vi /usr/local/etc/awstats/awstats.NSL.conf
LogFile="/var/log/awstats_log.utf8"
SiteDomain="www.nsl.tuis.ac.jp"
# chmod o+rx /usr/local/etc/awstats
# chmod o+r /usr/local/etc/awstats/*
- 結果を格納するディレクトリを作る
# mkdir /var/lib/awstats
# chown www.www /var/lib/awstats
# chmod o-rwx,g+s /var/lib/awstats
- 最初の実行
# /usr/local/awstats/wwwroot/cgi-bin/utf8_decode.pl < /u...
# /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -config=...
- チェック
http://www.nsl.tuis.ac.jp/awstats/awstats.pl?config=NSL
#br
*** cron の設定
- ''awstats.cron'' を編集して,''/etc/cron.daily'' にコ...
- サンプル
#! /usr/bin/perl
# 完全日本語版AWStats用サンプルcronファイル
#
# ファイルパス等は自分の環境に合わせて書き直して下さい。
# httpのログファイルをデコードした上で一時ディレクトリに...
# access_log.utf8は一時的にデコードしたログを保存するフ...
system(" /usr/local/awstats/wwwroot/cgi-bin/utf8_decode....
#system(" /bin/cat < /dev/null > /usr/local/apache/logs/...
# awstats.plが切り詰めないオリジナルのログを切り詰めます...
open(LOG,"+</usr/local/apache/logs/access_log");
truncate(LOG,0);
close(LOG);
# Ver.5.0から、更新処理を別途走らせる必要ができたらしい....
system(" /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -...
#system(" /usr/local/awstats/wwwroot/cgi-bin/awstats.pl ...
# awstats.plを走らせ、htmlファイルを出力します。
# 必須ではありませんが、awstats.plを直接参照させるよりも...
# る方が、良好なパフォーマンスが得られます。
system(" /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -...
# アクセス可能になるように出力したhtmlファイルの権限を変更
system("chown www.www /home/apache/htdocs/awstats_log/in...
# chmod a+rx /etc/cron.daily/awstats.cron
# mkdir /home/apache/htdocs/awstats_log
# chown www.www /home/apache/htdocs/awstats_log
Page:
Site Search
Advanced Search
Login
Username:
Password:
Lost Password?
Register now!!
Sub Menu
New Arrivals
Books
Web Links
Site Map
e-Learning
TUIS Certificate
mini Calendar
May 2025
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Today
Who's Online
114 user(s) are online (4 user(s) are browsing xpwiki)
Members: 0
Guests: 114
more...
Access Counter
Today :
Yesterday :
Total :
Powered by XOOPS Cube 2.1© 2001-2006
XOOPS Cube Project
Design by
XoopsDesign.com