: 안녕하세요...
: webalizer 라는 프로그램을 구할 수 있을 까요?
:
: 혹시 소스있는 곳이나 사용법 아시는 분은 답변 좀 해주세요이...
:
: 고수님들 기다리겠습니다.
홈사이트는 http://webalizer.com/에 있구요
쉽게 설치 가능하답니다.
요즘은 기본적으로 설치 되어 있으니 함 찾아보세요...
/etc/webalizer.conf화일을 열어 몇가지를 바꾸면 됩니다.
처음에는 로그화일의 위치를 절대경로로 하여 쓰고
LogFile /usr/local/apache/logs/canux.pe.kr-access_log
# LogType defines the log type being processed. Normally, the Webalizer
# expects a CLF or Combined web server log as input. Using this option,
# you can process ftp logs as well (xferlog as produced by wu-ftp and
# others). Values can be 'web' or 'ftp', with 'web' the default.
LogType web
# OutputDir is where you want to put the output files. This should
# should be a full path name, however relative ones might work as well.
# If no output directory is specified, the current directory will be used.
#여기에는 나중에 웹에서 webalizer를 볼수 있는 곳입니다.
OutputDir /usr/local/apache/htdocs/webalizer
저장하시고 나서 프롬프트에서
위에서 설정하 디렉토리를 만들어 줍니다.
webalizser -c /etc/webalzier.conf 하시면
설정 완료
[root@canux canux]# webalizer -c /etc/webalizer.conf
Webalizer V1.30-04 (Linux 2.2.16-3) Korean
대상 로그 파일: /usr/local/apache/logs/canux.pe.kr-access_log
출력 디렉토리: /usr/local/apache/htdocs/webalizer
호스트명: 'canux.pe.kr'
기존 히스토리 정보 해석: webalizer.hist
리포트 생성: January 2001
리포트 출력
히스토리 정보 저장
27260 레코드 동작시간 0.51 초
[root@canux canux]#
이렇게 나오면 됩겁니다.
이제 /usr/local/apache/htdocs/webalizer/index.html화일을 웹에서 보세요..
그럼 이만..