INSTALL (squidanalyzer-6.5) | : | INSTALL (squidanalyzer-6.6) | ||
---|---|---|---|---|
skipping to change at line 53 | skipping to change at line 53 | |||
Custom install | Custom install | |||
You can create your fully customized SquidAnalyzer installation by using | You can create your fully customized SquidAnalyzer installation by using | |||
the Makefile.PL Perl script. Here is a sample: | the Makefile.PL Perl script. Here is a sample: | |||
perl Makefile.PL \ | perl Makefile.PL \ | |||
LOGFILE=/var/log/squid3/access.log \ | LOGFILE=/var/log/squid3/access.log \ | |||
BINDIR=/usr/bin \ | BINDIR=/usr/bin \ | |||
CONFDIR=/etc \ | CONFDIR=/etc \ | |||
HTMLDIR=/var/www/squidreport \ | HTMLDIR=/var/www/squidreport \ | |||
BASEURL=/squidreport \ | BASEURL=/squidreport \ | |||
MANDIR=/usr/man/man3 \ | MANDIR=/usr/share/man/man3 \ | |||
DOCDIR=/usr/share/doc/squidanalyzer | DOCDIR=/usr/share/doc/squidanalyzer | |||
If you want to build a distro package, there are two other options that | If you want to build a distro package, there are two other options that | |||
you may use. The QUIET option is to tell to Makefile.PL to not show the | you may use. The QUIET option is to tell to Makefile.PL to not show the | |||
default post install README. The DESTDIR is to create and install all | default post install README. The DESTDIR is to create and install all | |||
files in a package build base directory. For example for Fedora RPM, | files in a package build base directory. For example for Fedora RPM, | |||
thing may look like that: | thing may look like that: | |||
# Make Perl and SendmailAnalyzer distrib files | # Make Perl and SendmailAnalyzer distrib files | |||
%{__perl} Makefile.PL \ | %{__perl} Makefile.PL \ | |||
skipping to change at line 128 | skipping to change at line 128 | |||
USAGE | USAGE | |||
SquidAnalyzer can be run manually or by cron job using the | SquidAnalyzer can be run manually or by cron job using the | |||
squid-analyzer Perl script. Here are authorized usage: | squid-analyzer Perl script. Here are authorized usage: | |||
Usage: squid-analyzer [ -c squidanalyzer.conf ] [-l logfile] | Usage: squid-analyzer [ -c squidanalyzer.conf ] [-l logfile] | |||
-c | --configfile filename : path to the SquidAnalyzer configuration file. | -c | --configfile filename : path to the SquidAnalyzer configuration file. | |||
By default: /etc/squidanalyzer.conf | By default: /etc/squidanalyzer.conf | |||
-b | --build_date date : set the day to be rebuilt, format: yyyy -mm-dd, | -b | --build_date date : set the day to be rebuilt, format: yyyy -mm-dd, | |||
yyyy-mm or yyyy. Used with -r or --rebu ild. | yyyy-mm or yyyy. Used with -r or --rebu ild. | |||
-d | --debug : show debug informations. | -d | --debug : show debug information. | |||
-h | --help : show this message and exit. | -h | --help : show this message and exit. | |||
-l | --logfile filename : path to the Squid logfile to parse. | -l | --logfile filename : path to the Squid logfile to parse. | |||
By default: /var/log/squid/access.log | By default: /var/log/squid/access.log | |||
-p | --preserve number : used to set the statistic obsolescence in | -p | --preserve number : used to set the statistic obsolescence in | |||
number of month. Older stats will be re moved. | number of month. Older stats will be re moved. | |||
-r | --rebuild : use this option to rebuild all html and graphs | -r | --rebuild : use this option to rebuild all html and graphs | |||
output from all data files. | output from all data files. | |||
-v | version : show version and exit. | -v | version : show version and exit. | |||
--no-year-stat : disable years statistics, reports will | --no-year-stat : disable years statistics, reports will | |||
start from month level only. | start from month level only. | |||
skipping to change at line 163 | skipping to change at line 163 | |||
will only preserve six month of statistics from the last run of | will only preserve six month of statistics from the last run of | |||
squidanalyzer. | squidanalyzer. | |||
CONFIGURATION | CONFIGURATION | |||
See README file. | See README file. | |||
AUTHOR | AUTHOR | |||
Gilles DAROLD <gilles@darold.net> | Gilles DAROLD <gilles@darold.net> | |||
COPYRIGHT | COPYRIGHT | |||
Copyright (c) 2001-2016 Gilles DAROLD | Copyright (c) 2001-2017 Gilles DAROLD | |||
This package is free software and published under the GPL v3 or above | This package is free software and published under the GPL v3 or above | |||
license. | license. | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added |