Friday, June 17, 2011

How to install SARG on Debian 6.0

SARG is not included in the default apt sources of Debian Squeeze. To solve this problem, you need to add the "squeeze-backports" apt source in your "/etc/apt/sources.list".

1. Open your apt source file.
$nano /etc/apt/sources.list

2. Add the "squeeze-backports" at the end of the file. Add the following line and save.

deb squeeze-backports main

3. Update your system.
$apt-get update

4. Install SARG
$apt-get install sarg

5. Go to http://yourserver/sarg and enjoy SARG!

Note: You need to install Apache on your linux system for this to work. You also need to create a symbolic link if you have a different path of your web server.

ln -s /var/lib/sarg/ /srv/www/

No comments:

Post a Comment