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
No Comments