当前位置: 首页 > OpenSource > 正文

Webalizer Install and configuration

Webalizer is a web access log analyzer tools
apache tomcat resin’s logs are OK!
Next is my Install & configuration on Webalizer.

1、related things

apache http://www.apache.org/
gd        http://www.boutell.com/gd/

make sure you have these package

jpeg     http://www.ijg.org/files/
libpng  http://www.libpng.org/
freetype  http://www.freetype.org/
zlib     http://www.zlib.net/

2、Install
http://www.mrunix.net/webalizer/

the lasted version is webalizer-2.01-10

tar -zxvf webalizer-2.01-10-src.tgz

##if your gd installed like this
##./configure && make && make install

./configure –with-language=simplified_chinese

##if your gd is install with this
##./configure –prefix=/usr/local/gd && make && make install

./configure –with-language=simplified_chinese –with-gdlib=/usr/local/gd –with-gd=/usr/local/gd

##–with-language=simplified_chinese  sometimes the graphic may mess;

3、Seting

cp /etc/webalizer.conf.sample /etc/webalizer.conf.2hei

mkdir /usr/local/apache/htodcs/2hei.net
##use apache’s htdocs as your web-root

vi /etc/webalizer.conf.yours

LogFile /usr/local/apache/logs/access_log

OutputDir /usr/local/apache/htdocs/2hei.net

HostName youdomain
Incremental yes
PageType htm*
PageType cgi
PageType php
PageType pl
IgnoreHist no
CountryGraph yes
IndexAlias index.cgi
IndexAlias index.php
HideReferrer Direct Request
HideURL *.gif
HideURL *.GIF
HideURL *.jpg
HideURL *.JPG
HideURL *.png
HideURL *.PNG

4、Run
su – root
crontab -e
5 0 * * * /usr/bin/webalizer -c /etc/webalizer.conf.2hei
##makebe your webalizer in the /usr/local/bin

then you can find your webalizer in this URL
http://yourdomain/2hei.net/

 THE PICs:

01.jpg

 

 

 

 

 

02.jpg

 

 

 

 

 

 

 

 

 

 

 

03.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

04.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

05.jpg

本文固定链接: https://www.2hei.net/2008/02/17/webalizer_install_and_configur/ | 2hei.net

该日志由 u2 于2008年02月17日发表在 OpenSource 分类下,
原创文章转载请注明: Webalizer Install and configuration | 2hei.net

报歉!评论已关闭.