tachtler:squid_centos_6
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
tachtler:squid_centos_6 [2013/12/04 07:07] – [Installation Systemvoraussetzungen SquidAnalyzer] klaus | tachtler:squid_centos_6 [2014/09/05 11:09] – [Ausführen von SquidAnalyzer] klaus | ||
---|---|---|---|
Zeile 1001: | Zeile 1001: | ||
Als Voraussetzung für die Installation von [[http:// | Als Voraussetzung für die Installation von [[http:// | ||
- | * '' | + | * '' |
* '' | * '' | ||
* '' | * '' | ||
Zeile 1009: | Zeile 1009: | ||
Di Programmdateien von [[http:// | Di Programmdateien von [[http:// | ||
- | * [[http:// | + | * [[http:// |
==== Installation Systemvoraussetzungen SquidAnalyzer ==== | ==== Installation Systemvoraussetzungen SquidAnalyzer ==== | ||
Zeile 1016: | Zeile 1016: | ||
* **'' | * **'' | ||
* **'' | * **'' | ||
- | * :!: **bis Version 5.2** --> **'' | + | * :!: **bis Version 5.0** --> **'' |
- | * :!: **bis Version 5.2** --> **'' | + | * :!: **bis Version 5.0** --> **'' |
- | * :!: **ab Version 5.3** --> **'' | + | * :!: **ab Version 5.1** --> **'' |
* **'' | * **'' | ||
* **'' | * **'' | ||
Zeile 1024: | Zeile 1024: | ||
installiert werden. | installiert werden. | ||
- | Mit nachfolgendem Befehl, werden die Pakete | + | Mit nachfolgendem Befehl, werden die Pakete installiert: |
< | < | ||
# yum install perl-ExtUtils-MakeMaker perl-GD-Graph perl-GD-Graph3d make gd libpng | # yum install perl-ExtUtils-MakeMaker perl-GD-Graph perl-GD-Graph3d make gd libpng | ||
Zeile 1177: | Zeile 1177: | ||
perl-Test-Harness.x86_64 0: | perl-Test-Harness.x86_64 0: | ||
perl-devel.x86_64 4: | perl-devel.x86_64 4: | ||
+ | |||
+ | Complete! | ||
+ | </ | ||
+ | |||
+ | :!: **Ab [[http:// | ||
+ | |||
+ | < | ||
+ | # yum install perl-Time-HiRes | ||
+ | Loaded plugins: priorities | ||
+ | 1309 packages excluded due to repository priority protections | ||
+ | Setting up Install Process | ||
+ | Resolving Dependencies | ||
+ | --> Running transaction check | ||
+ | ---> Package perl-Time-HiRes.x86_64 4: | ||
+ | --> Finished Dependency Resolution | ||
+ | |||
+ | Dependencies Resolved | ||
+ | |||
+ | ================================================================================ | ||
+ | | ||
+ | ================================================================================ | ||
+ | Installing: | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ================================================================================ | ||
+ | Install | ||
+ | |||
+ | Total download size: 48 k | ||
+ | Installed size: 56 k | ||
+ | Is this ok [y/N]: y | ||
+ | Downloading Packages: | ||
+ | perl-Time-HiRes-1.9721-136.el6.x86_64.rpm | ||
+ | Running rpm_check_debug | ||
+ | Running Transaction Test | ||
+ | Transaction Test Succeeded | ||
+ | Running Transaction | ||
+ | Installing : 4: | ||
+ | Verifying | ||
+ | |||
+ | Installed: | ||
+ | perl-Time-HiRes.x86_64 4: | ||
Complete! | Complete! | ||
Zeile 1189: | Zeile 1231: | ||
==== Installation SquidAnalyzer ==== | ==== Installation SquidAnalyzer ==== | ||
- | Die Datei '' | + | Die Datei '' |
< | < | ||
- | # tar xfzv / | + | # tar xfzv / |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.0/ |
- | squidanalyzer-5.3/packaging/ | + | squidanalyzer-6.0/etc/ |
- | squidanalyzer-5.3/packaging/ | + | squidanalyzer-6.0/etc/network-aliases |
- | squidanalyzer-5.3/packaging/ | + | squidanalyzer-6.0/etc/ |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.0/ |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.0/etc/excluded |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.0/etc/included |
- | squidanalyzer-5.3/etc/network-aliases | + | squidanalyzer-6.0/SquidAnalyzer.pm |
- | squidanalyzer-5.3/etc/excluded | + | squidanalyzer-6.0/MANIFEST |
- | squidanalyzer-5.3/etc/ | + | squidanalyzer-6.0/META.yml |
- | squidanalyzer-5.3/TODO | + | squidanalyzer-6.0/lang/ |
- | squidanalyzer-5.3/cleanit.sh | + | squidanalyzer-6.0/lang/pl_PL.txt |
- | squidanalyzer-5.3/doc/ | + | squidanalyzer-6.0/lang/pt_BR.txt |
- | squidanalyzer-5.3/doc/SquidAnalyzer.pod | + | squidanalyzer-6.0/lang/fr_FR.txt |
- | squidanalyzer-5.3/doc/squidanalyzer.3 | + | squidanalyzer-6.0/lang/ |
- | squidanalyzer-5.3/Makefile.PL | + | squidanalyzer-6.0/lang/ |
- | squidanalyzer-5.3/squid-analyzer | + | squidanalyzer-6.0/lang/ |
- | squidanalyzer-5.3/ChangeLog | + | squidanalyzer-6.0/lang/ru_RU.txt |
- | squidanalyzer-5.3/README | + | squidanalyzer-6.0/lang/cs_CZ.txt |
- | squidanalyzer-5.3/lang/ | + | squidanalyzer-6.0/lang/uk_UA.txt |
- | squidanalyzer-5.3/lang/de_DE.txt | + | squidanalyzer-6.0/doc/ |
- | squidanalyzer-5.3/lang/pt_BR.txt | + | squidanalyzer-6.0/ |
- | squidanalyzer-5.3/lang/en_US.txt | + | squidanalyzer-6.0/squid-analyzer |
- | squidanalyzer-5.3/lang/fr_FR.txt | + | squidanalyzer-6.0/Makefile.PL |
- | squidanalyzer-5.3/SquidAnalyzer.pm | + | squidanalyzer-6.0/ChangeLog |
- | squidanalyzer-5.3/INSTALL | + | squidanalyzer-6.0/TODO |
- | squidanalyzer-5.3/resources/ | + | squidanalyzer-6.0/packaging/ |
- | squidanalyzer-5.3/resources/ | + | squidanalyzer-6.0/packaging/ |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.0/packaging/ |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.0/ |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.0/ |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.0/ |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.0/ |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.0/ |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.0/ |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.0/ |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.0/ |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.0/ |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.0/ |
- | squidanalyzer-5.3/META.yml | + | squidanalyzer-6.0/ |
+ | squidanalyzer-6.0/ | ||
+ | squidanalyzer-6.0/ | ||
+ | squidanalyzer-6.0/INSTALL | ||
+ | squidanalyzer-6.0/README | ||
</ | </ | ||
- | Das so erhaltene Verzeichnis, | + | Das so erhaltene Verzeichnis, |
Die Schritte zusammengefasst sollten wie folgt aussehen: | Die Schritte zusammengefasst sollten wie folgt aussehen: | ||
< | < | ||
- | # cd / | + | # cd / |
</ | </ | ||
Zeile 1255: | Zeile 1301: | ||
# make | # make | ||
cp SquidAnalyzer.pm blib/ | cp SquidAnalyzer.pm blib/ | ||
+ | cp squid-analyzer blib/ | ||
+ | / | ||
+ | Manifying blib/ | ||
</ | </ | ||
Zeile 1260: | Zeile 1309: | ||
# make install | # make install | ||
Installing / | Installing / | ||
+ | Installing / | ||
+ | Installing / | ||
sh install_all.sh | sh install_all.sh | ||
Zeile 1374: | Zeile 1425: | ||
Exclude / | Exclude / | ||
- | # Translation Language file to use (fr_FR.txt, pt_BR.txt | + | # Path to the file containing client ip addresses, network ip address, |
- | # Default to en_US.txt | + | # and/or auth login to include into the report. Other entries will be |
- | #Lang / | + | # |
+ | Include / | ||
+ | |||
+ | # Translation Language file to use (fr_FR.txt, pt_BR.txt, es_ES.txt, | ||
+ | # en_US.txt, ru_RU.txt, uk_UA.txt, cs_CZ.txt, pl_PL.txt and de_DE.txt). | ||
+ | # Default to: | ||
+ | #Lang / | ||
# Tachtler | # Tachtler | ||
Lang / | Lang / | ||
Zeile 1383: | Zeile 1440: | ||
# You can also use %M to replace month by its 3 letters abbreviation. | # You can also use %M to replace month by its 3 letters abbreviation. | ||
DateFormat | DateFormat | ||
+ | |||
+ | # Custom Footer. Must be a path to a text file containing HTML code that | ||
+ | # will be placed at the bottom of each page just before the end if the | ||
+ | # body tag. Default is defined internally if this directive is not set | ||
+ | # to a valid file. | ||
+ | # | ||
+ | # Tachtler | ||
+ | FooterFile | ||
#â¯Set this to 1 if you want to anonymize all user login. The username | #â¯Set this to 1 if you want to anonymize all user login. The username | ||
Zeile 1419: | Zeile 1484: | ||
# Set it to 0 to disable this feature. | # Set it to 0 to disable this feature. | ||
TopUrlUser | TopUrlUser | ||
+ | |||
+ | # This directive allow you to replace the SquidAnalyze logo by your custom | ||
+ | # logo. The default value is defined as follow: | ||
+ | # <a href=" | ||
+ | # <img src=" | ||
+ | # </a> SquidAnalyzer | ||
+ | # Feel free to define your own header but take care to not break current design. | ||
+ | # | ||
+ | |||
+ | # This directive allow exclusion of some unwanted methods in report statistics | ||
+ | # like HEAD, POST, CONNECT, etc. Can be a comma separated list of methods. | ||
+ | # | ||
+ | |||
+ | # This directive allow exclusion of some unwanted mimetypes in report statistics | ||
+ | # like text/html, text/plain, or more generally text/*, etc. Can be a comma separated | ||
+ | # list of perl regular expression. | ||
+ | # | ||
</ | </ | ||
Zeile 1447: | Zeile 1529: | ||
# Tachtler | # Tachtler | ||
USER root | USER root | ||
+ | </ | ||
+ | |||
+ | === / | ||
+ | |||
+ | Die Konfigurationsdatei ''/ | ||
+ | |||
+ | <code ini> | ||
+ | # | ||
+ | # File used to defined which client ip address, network with netmask, network | ||
+ | # regex address, auth login and URI to include in the report. All other entries | ||
+ | # will be exclude, this is the opposite of the excluded file. | ||
+ | # | ||
+ | # You can define one by line inclusion by specifying first the type of the | ||
+ | # inclusion (USER or CLIENT) and a space separated list of valid regex. | ||
+ | # You can also use the NETWORK type to define network address with netmask | ||
+ | # using the CIDR notation: xxx.xxx.xxx.xxx/ | ||
+ | # | ||
+ | # See example bellow: | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
</ | </ | ||
Zeile 1504: | Zeile 1610: | ||
<code bash> | <code bash> | ||
#!/bin/sh | #!/bin/sh | ||
- | / | + | / |
</ | </ | ||
Zeile 1523: | Zeile 1629: | ||
Das Perl-Script wird mit folgendem Befehl ausgeführt: | Das Perl-Script wird mit folgendem Befehl ausgeführt: | ||
< | < | ||
- | # ./ | + | # ./ |
</ | </ | ||
Zeile 1529: | Zeile 1635: | ||
< | < | ||
# ls -la / | # ls -la / | ||
- | total 64 | + | total 180 |
- | drwxr-xr-x | + | drwxr-xr-x |
- | drwxr-xr-x | + | drwxr-xr-x 16 root root 4096 Dec 1 08:01 2013 |
- | drwxr-xr-x | + | drwxr-xr-x |
- | -rw-r--r-- 1 root root | + | -rw-r--r-- |
- | -rw-r--r-- 1 root root 23628 May 4 13:48 logo-squidanalyzer.png | + | -rw-r--r-- |
- | -rw-r--r-- 1 root root 16917 May 4 13:48 sorttable.js | + | drwxr-xr-x |
- | -rw-r--r-- 1 root root | + | -rw-r--r-- |
- | -rw-r--r-- 1 root root 14 May 4 13:59 SquidAnalyzer.current | + | -rw-r--r-- |
+ | -rw-r--r-- | ||
+ | -rw-r--r-- | ||
+ | -rw-r--r-- | ||
+ | -rw-r--r-- | ||
</ | </ | ||
tachtler/squid_centos_6.txt · Zuletzt geändert: 2014/11/01 08:43 von klaus