2022년 7월 24일 일요일

webalizer 설치하기

 

  • 패키지 설치하기

$> yum install -y gd-devel png-devel
  • webalizer 설치하기

$> tar xvzf webalizer-2.23-05.tgz
$> ./configure --prefix=/usr/local/webalizer --with-language=korean
$> 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
OutputDir      /home/test/public_html/
Incremental     yes
IncrementalName         webalizer.current
ReportTitle    test Web Analyzer DEMO!
HostName        localhost
  • 참조로 OutputDir은 아파치의 Document Root로 설정된 하위에 위 패스와 동일하게 만들어줘야 한다

  • 실행

$> /usr/local/webalizer/bin/webalizer -c /usr/local/webalizer/etc/webalizer.conf > /var/log/webalizer.log

참고 - http://igoni.kr/books/linux/page/webalizer



댓글 없음:

댓글 쓰기

adfit

AI들끼리 대화하기

ChatGPT, perplexity, Gemini... 많은 AI 서비스가 있고 서비스별로 다양한 엔진이 있죠. 문득 AI끼리 대화를 시켜보면 어떤 대화의 흐름을 이어갈까 궁금해졌습니다. 그래서 해보았습니다. 규 칙 나(사람)은 양쪽 AI에서...