Sometimes you want to know who you are website visitors or where are they coming from. So, for this purpose you need to install web satististics into your web server. There are some good web statistics like Awstats, Webalizer, etc, but i choose Webalizer. From their site, Webalizer is a fast, free web server log file analysis program. It produces highly detailed, easily configurable usage reports in HTML format, for viewing with a standard web browser. Webalizer can run in any web server like Apache or Lighttpd. So, lets start, like usual, i'm using Lenny and Lighttpd for this purpose:
Start installation
online:~# apt-get install webalizer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libdb4.5 libgeoip1
Suggested packages:
geoip-bin
The following NEW packages will be installed:
libdb4.5 libgeoip1 webalizer
0 upgraded, 3 newly installed, 0 to remove and 107 not upgraded.
Need to get 1519kB of archives.
After this operation, 4059kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.debian.org lenny/main libdb4.5 4.5.20-12 [525kB]
Get:2 http://ftp.debian.org lenny/main libgeoip1 1.4.4.dfsg-1 [651kB]
Get:3 http://ftp.debian.org lenny/main webalizer 2.01.10-32.2 [343kB]
Fetched 1519kB in 2min8s (11.8kB/s)
Preconfiguring packages ...
Selecting previously deselected package libdb4.5.
(Reading database ... 57886 files and directories currently installed.)
Unpacking libdb4.5 (from .../libdb4.5_4.5.20-12_i386.deb) ...
Selecting previously deselected package libgeoip1.
Unpacking libgeoip1 (from .../libgeoip1_1.4.4.dfsg-1_i386.deb) ...
Selecting previously deselected package webalizer.
Unpacking webalizer (from .../webalizer_2.01.10-32.2_i386.deb) ...
Processing triggers for man-db ...
Setting up libdb4.5 (4.5.20-12) ...
Setting up libgeoip1 (1.4.4.dfsg-1) ...
Setting up webalizer (2.01.10-32.2) ...
/var/www/webalizer created
Edit anything do you want in their config file
online:~# vi /etc/webalizer/webalizer.conf
Start you web server
online:~# /etc/init.d/lighttpd restart
Stopping web server: lighttpd.
Starting web server: lighttpd.
Lastly, point your browser at http://yourdomain.com/webalizer/


Showing posts with label webstatistics. Show all posts
Showing posts with label webstatistics. Show all posts
Sunday, August 17, 2008
How to install Webalizer with Lighttpd
Labels:
lighttpd,
webalizer,
webstatistics
Subscribe to:
Posts (Atom)

