RadarURL

웹서버,WAS
2014.12.21 08:53

아파치 로그분석 webalizer 설치

조회 수 7905 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부

공식홈페이지 http://webalizer.org

yum install -y gd-devel png-devel (이미지 변환을 위해서 필요)

tar -xvzf webalizer-2.23-08 (홈페이지에서 다운받은 파일 압축풀고)
./configure –prefix=/usr/local/webalizer --with-language=korean (컴파일 시작. 설치 경로는 ‘/usr/local/webalizer’에다가 설치
Geoip와 연동할 예정이면, configure 옵션에 --enable-geoip 옵션 추가
GeoIP설치하기

make; make install
cd /usr/local/webalizer/etc
cp -a webalizer.conf.sample webalizer.conf (샘플 설정파일 복사)

vi webalizer.conf
LogFile /usr/local/apache2/logs/access_log (webalizer과 연동할 로그 데이터)
OutputDir /home/test/public_html/ (로그 분석 후 저장할 위치)
Incremental yes (최초 생성 후 증분형식으로 저장할지)
IncrementalName webalizer.current (기준 파일. 이 파일이 없으면 최초 생성과 같은 효과)
ReportTitle test Web Analyzer DEMO! (웹 접속 후 보여질 제목)
HostName localhost (호스트네임 지정.. 없어도 되고)

실행
/usr/local/webalizer/bin/webalizer -c /usr/local/webalizer/etc/webalizer.conf

예재)
[root@localhost /]# /usr/local/webalizer/bin/webalizer -c /usr/local/webalizer/etc/webalizer.conf
Webalizer V2.23-08 (Linux 2.6.32-431.el6.i686 i686) Korean
대상 로그 파일: /usr/local/apache2/logs/access_log (clf)
출력 디렉토리: /home/test/public_html/
호스트명: ‘localhost’
히스토리 파일을 찾을 수 없음
통계 정보 파일을 찾을 수 없음
통계 정보 저장 [02/10/2014 09:58:57]
리포트 생성: February 2014
히스토리 정보 저장
리포트 출력
453 레코드 동작시간 1 초, 453/sec

주기적으로 생성하기 위해서 크론탭에 등록

crontab -e
*/5 * * * * /usr/local/webalizer/bin/webalizer -c /usr/local/webalizer/etc/webalizer.conf > /dev/null

 

이미지-8.jpg




출처 : http://igoni.kr/?p=348

?

공부 게시판

공부에 도움되는 글을 올려주세요.

  1. [공지] 공부 게시판 입니다.

    Date2003.08.18 By처누 Views928101
    read more
  2. http를 https로 리다이렉트하는 여러가지 방법

    Date2025.09.10 Category웹서버,WAS ByJaeSoo Views0
    Read More
  3. SSL인증서 없이 HTTPS에서 HTTP로 되돌리기

    Date2025.09.10 Category웹서버,WAS ByJaeSoo Views2
    Read More
  4. [SSL] win-acme, Let's encrypt로 무료 SSL 인증서 발급

    Date2025.09.10 Category웹서버,WAS ByJaeSoo Views0
    Read More
  5. [SSL] Windows 10에서 Let's Encrypt로 SSL 인증서 무료 발급받기

    Date2025.09.10 Category웹서버,WAS ByJaeSoo Views0
    Read More
  6. 무료로 https SSL/TLS 인증서를 발급받을 수 있는 인증 기관

    Date2025.09.10 Category웹서버,WAS ByJaeSoo Views0
    Read More
  7. 아파치 서버에 https SSL 인증서 적용하는 방법 (apache httpd)

    Date2025.09.10 Category웹서버,WAS ByJaeSoo Views0
    Read More
  8. 아파치2(Apache2) SSL HTTPS 적용하기

    Date2025.09.10 Category웹서버,WAS ByJaeSoo Views0
    Read More
  9. 아파치 웹서버에 멀티 도메인에 대한 80, 443 포트 설정하는 방법

    Date2025.09.10 Category웹서버,WAS ByJaeSoo Views0
    Read More
  10. 용량 산정 (동시 접속자 계산)

    Date2016.05.05 Category웹서버,WAS ByJaeSoo Views1028
    Read More
  11. 아파치 httpd.conf 재시작 없이 설정 적용하기

    Date2016.05.02 Category웹서버,WAS ByJaeSoo Views646
    Read More
  12. Tomcat JVM heap memory set 및 size

    Date2016.03.23 Category웹서버,WAS ByJaeSoo Views706
    Read More
  13. Java 실행 옵션 정리

    Date2016.03.23 Category웹서버,WAS ByJaeSoo Views624
    Read More
  14. [JAVA] 개발환경설정 - 표준프레임워크

    Date2016.01.02 Category웹서버,WAS ByJaeSoo Views791
    Read More
  15. Tomcat 7.x 와 8.x 간의 default configuration 차이

    Date2016.01.02 Category웹서버,WAS ByJaeSoo Views717
    Read More
  16. 톰캣 8 소개

    Date2016.01.01 Category웹서버,WAS ByJaeSoo Views517
    Read More
  17. 리눅스 webalizer를 통한 apache log(웹서버 접속 통계) 분석하기 (추천)

    Date2014.12.25 Category웹서버,WAS ByJaeSoo Views1098
    Read More
  18. 리눅스 아파치 로그 뷰어 webalizer, utf-8로 변환하기

    Date2014.12.22 Category웹서버,WAS ByJaeSoo Views880
    Read More
  19. Webalizer Configuration – Configure Webalizer for SEO

    Date2014.12.22 Category웹서버,WAS ByJaeSoo Views1413
    Read More
  20. Webalizer, AWStats에서 국가 정보 확인하기

    Date2014.12.22 Category웹서버,WAS ByJaeSoo Views854
    Read More
  21. Webalizer에서 국가별 로그 출력하기

    Date2014.12.22 Category웹서버,WAS ByJaeSoo Views1082
    Read More
Board Pagination Prev 1 2 3 Next
/ 3


즐겨찾기 (가족)

JAESOO's HOMEPAGE


YOUNGAE's HOMEPAGE


장여은 홈페이지


장여희 홈페이지


장여원 홈페이지


즐겨찾기 (업무)

알리카페 홀릭

숭실대 컴퓨터 통신연구실 (서창진)

말레이시아 KL Sentral 한국인 GuestHouse


즐겨찾기 (취미)

어드민아이디

유에코 사랑회

아스가르드 좋은사람/나쁜사람

JServer.kr

제이서버 메타블로그

재수 티스토리


즐겨찾기 (강의, 커뮤니티)

재수 강의 홈페이지


한소리


VTMODE.COM


숭실대 인공지능학과


숭실대 통신연구실


베너