~]# ./configure --prefix=/usr/local/webalizer
~]# make
~]# make install
~]# cp sample.conf /etc/webalizer.conf // conf 파일을 옮기고 주석처리 되어있는 부분을 설정(?) 해준다.
~]# vi /etc/webalizer.conf // config 파일.
LogFile /usr/local/apache/logs/access_log // 분석할 로그 파일.
LogType web
OutputDir /usr/local/apache/htdocs/weblog // 분석된 파일이 저장될 곳
HostName localhost //
--
실행
~]# webalizer /usr/local/apache/logs/access_log
Webalizer V2.01-10 (Linux 2.6.18-8.el5) English
Using logfile /usr/local/apache/logs/access_log (clf)
Creating output in /usr/local/apache/htdocs/weblog
Hostname for reports is 'localhost'
Reading history file... webalizer.hist
Generating report for April 2009
Generating summary report
Saving history information...
283 records in 1.00 seconds, 283/sec // 아파치 실행 해놓고 왔다갔다 하면서 확인하자-
'저장용' 카테고리의 다른 글
sin_return_policy (0) | 2010.03.10 |
---|---|
서버 내 php찾기.. 스크립트 (0) | 2009.04.30 |
APM.. (0) | 2009.04.20 |
php 파일 찾아서 변동이 있는지 확인해보기.. (0) | 2009.04.20 |
DNS 설치 (1) | 2009.04.16 |