SquidAnalyzer Installation

linux, server

Environment:
– Linux Debian 7.7 (amd64)
– Squid Cache 3.1.20

Preparation:
– Download SquidAnalyzer-6.1 from http://sourceforge.net/projects/squid-report/

Installation:

# tar -zxvf squidanalyzer-6.1.tar.gz
# cd squidanalyzer-6.1
# perl Makefile.PL
# make
# make install
# vim /etc/apache2/sites-enabled/000-default
    ...[add to 000-default file]...
        <Directory /var/www/squidanalyzer>
            Options -Indexes FollowSymLinks MultiViews
            AllowOverride All
            Order allow,deny
            Allow from all
        </Directory>
    ...[add to 000-default file]...
# service apache2 restart
# /usr/local/bin/squid-analyzer
# crontab -e
    ...[edit crontab]...
    0 2 * * * /usr/local/bin/squid-analyzer > /dev/null 2>&1
    ...[edit crontab]...

Note:
– use .htaccess to protect page

Source:
http://squidanalyzer.darold.net/install.html

Comments Off on SquidAnalyzer Installation