[cc lang="bash"]
\$ apt-get install srg
\$ vi /etc/default/srg
\$ vi /etc/srg/srg.conf
\$ vi /etc/cron.daily/srg
[/cc]
/etc/default/srg
[cc lang="bash"]
REPORTBASE=/var/www/srg
CONFIGFILE=/etc/srg/srg.conf
MAILUSER=""
DAILY_REPORT_RETAIN_DAYS="180"
[/cc]
/etc/srg/srg.conf
[cc lang="bash"]
log_file "/var/log/squid/access.log /var/log/squid/access.log.1"
output_dir "/var/www/srg"
output_url "/srg/"
groupby "U"
show_rates true
iptouser_file "/etc/srg/ip2user"
nonameexists_showip true
[/cc]
Open http://127.0.0.1/srg/