tachtler:squid_centos_6
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
tachtler:squid_centos_6 [2013/12/04 07:07] – [Installation Systemvoraussetzungen SquidAnalyzer] klaus | tachtler:squid_centos_6 [2014/11/01 08:43] (aktuell) – klaus | ||
---|---|---|---|
Zeile 1001: | Zeile 1001: | ||
Als Voraussetzung für die Installation von [[http:// | Als Voraussetzung für die Installation von [[http:// | ||
- | * '' | + | * '' |
- | * '' | + | |
- | * '' | + | |
* '' | * '' | ||
Zeile 1009: | Zeile 1007: | ||
Di Programmdateien von [[http:// | Di Programmdateien von [[http:// | ||
- | * [[http:// | + | * [[http:// |
==== Installation Systemvoraussetzungen SquidAnalyzer ==== | ==== Installation Systemvoraussetzungen SquidAnalyzer ==== | ||
Zeile 1016: | Zeile 1014: | ||
* **'' | * **'' | ||
* **'' | * **'' | ||
- | | + | * :!: **ab Version 5.1** --> **'' |
- | * :!: **bis Version 5.2** --> **'' | + | |
- | | + | |
* **'' | * **'' | ||
- | * **'' | ||
- | * **'' | ||
installiert werden. | installiert werden. | ||
- | Mit nachfolgendem Befehl, werden die Pakete | + | Mit nachfolgendem Befehl, werden die Pakete installiert: |
< | < | ||
- | # yum install perl-ExtUtils-MakeMaker | + | # yum install perl-ExtUtils-MakeMaker make |
Loaded plugins: fastestmirror, | Loaded plugins: fastestmirror, | ||
Loading mirror speeds from cached hostfile | Loading mirror speeds from cached hostfile | ||
Zeile 1037: | Zeile 1031: | ||
Resolving Dependencies | Resolving Dependencies | ||
--> Running transaction check | --> Running transaction check | ||
- | ---> Package gd.x86_64 0: | ||
- | --> Processing Dependency: libXpm.so.4()(64bit) for package: gd-2.0.35-10.el6.x86_64 | ||
- | --> Processing Dependency: libX11.so.6()(64bit) for package: gd-2.0.35-10.el6.x86_64 | ||
- | --> Processing Dependency: libfontconfig.so.1()(64bit) for package: gd-2.0.35-10.el6.x86_64 | ||
- | --> Processing Dependency: libfreetype.so.6()(64bit) for package: gd-2.0.35-10.el6.x86_64 | ||
- | --> Processing Dependency: libjpeg.so.62()(64bit) for package: gd-2.0.35-10.el6.x86_64 | ||
- | ---> Package libpng.x86_64 2: | ||
---> Package make.x86_64 1: | ---> Package make.x86_64 1: | ||
---> Package perl-ExtUtils-MakeMaker.x86_64 0: | ---> Package perl-ExtUtils-MakeMaker.x86_64 0: | ||
--> Processing Dependency: perl(Test:: | --> Processing Dependency: perl(Test:: | ||
--> Processing Dependency: perl-devel for package: perl-ExtUtils-MakeMaker-6.55-115.el6.x86_64 | --> Processing Dependency: perl-devel for package: perl-ExtUtils-MakeMaker-6.55-115.el6.x86_64 | ||
- | ---> Package perl-GD-Graph.noarch 0: | ||
- | --> Processing Dependency: perl(GD) for package: perl-GD-Graph-1.44-1.el6.rf.noarch | ||
- | --> Processing Dependency: perl(GD:: | ||
- | ---> Package perl-GD-Graph3d.noarch 0: | ||
- | --> Running transaction check | ||
- | ---> Package fontconfig.x86_64 0: | ||
- | ---> Package freetype.x86_64 0: | ||
- | ---> Package libX11.x86_64 0:1.3-2.el6 set to be updated | ||
- | --> Processing Dependency: libX11-common = 1.3-2.el6 for package: libX11-1.3-2.el6.x86_64 | ||
- | --> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.3-2.el6.x86_64 | ||
- | ---> Package libXpm.x86_64 0: | ||
- | ---> Package libjpeg.x86_64 0:6b-46.el6 set to be updated | ||
- | ---> Package perl-GD.x86_64 0: | ||
- | ---> Package perl-GDTextUtil.noarch 0: | ||
---> Package perl-Test-Harness.x86_64 0: | ---> Package perl-Test-Harness.x86_64 0: | ||
---> Package perl-devel.x86_64 4: | ---> Package perl-devel.x86_64 4: | ||
--> Processing Dependency: perl(ExtUtils:: | --> Processing Dependency: perl(ExtUtils:: | ||
--> Running transaction check | --> Running transaction check | ||
- | ---> Package libX11-common.noarch 0:1.3-2.el6 set to be updated | ||
- | ---> Package libxcb.x86_64 0:1.5-1.el6 set to be updated | ||
- | --> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.5-1.el6.x86_64 | ||
---> Package perl-ExtUtils-ParseXS.x86_64 1: | ---> Package perl-ExtUtils-ParseXS.x86_64 1: | ||
- | --> Running transaction check | ||
- | ---> Package libXau.x86_64 0: | ||
--> Finished Dependency Resolution | --> Finished Dependency Resolution | ||
Zeile 1080: | Zeile 1048: | ||
================================================================================ | ================================================================================ | ||
Installing: | Installing: | ||
- | | ||
- | | ||
| | ||
| | ||
- | | ||
- | | ||
Installing for dependencies: | Installing for dependencies: | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
| | ||
- | | ||
- | | ||
| | ||
| | ||
Zeile 1103: | Zeile 1057: | ||
Transaction Summary | Transaction Summary | ||
================================================================================ | ================================================================================ | ||
- | Install | + | Install |
Upgrade | Upgrade | ||
- | Total download size: 3.6 M | + | Total download size: 1.1 M |
- | Installed size: 11 M | + | Installed size: 3.4 M |
Is this ok [y/N]: y | Is this ok [y/N]: y | ||
- | Downloading Packages: | + | Downloading Packages: |
- | (1/19): fontconfig-2.8.0-3.el6.x86_64.rpm | + | (1/5): make-3.81-19.el6.x86_64.rpm |
- | (2/19): freetype-2.3.11-6.el6_0.2.x86_64.rpm | + | (2/5): perl-ExtUtils-MakeMaker-6.55-115.el6.x86_64.rpm | 289 kB |
- | (3/19): gd-2.0.35-10.el6.x86_64.rpm | + | (3/5): perl-ExtUtils-ParseXS-2.2003.0-115.el6.x86_64.r | 41 kB |
- | (4/19): libX11-1.3-2.el6.x86_64.rpm | + | (4/5): perl-Test-Harness-3.17-115.el6.x86_64.rpm |
- | (5/19): libX11-common-1.3-2.el6.noarch.rpm | + | (5/5): perl-devel-5.10.1-115.el6.x86_64.rpm |
- | (6/19): libXau-1.0.5-1.el6.x86_64.rpm | + | |
- | (7/19): libXpm-3.5.8-2.el6.x86_64.rpm | + | |
- | (8/19): libjpeg-6b-46.el6.x86_64.rpm | + | |
- | (9/19): libpng-1.2.44-1.el6.x86_64.rpm | + | |
- | (10/19): libxcb-1.5-1.el6.x86_64.rpm | + | |
- | (11/19): make-3.81-19.el6.x86_64.rpm | + | |
- | (12/19): perl-ExtUtils-MakeMaker-6.55-115.el6.x86_64.rpm | 289 kB | + | |
- | (13/19): perl-ExtUtils-ParseXS-2.2003.0-115.el6.x86_64.r | 41 kB | + | |
- | (14/19): perl-GD-2.44-3.el6.x86_64.rpm | + | |
- | (15/19): perl-GD-Graph-1.44-1.el6.rf.noarch.rpm | + | |
- | (16/19): perl-GD-Graph3d-0.63-2.2.el6.rf.noarch.rpm | + | |
- | (17/19): perl-GDTextUtil-0.86-15.el6.noarch.rpm | + | |
- | (18/19): perl-Test-Harness-3.17-115.el6.x86_64.rpm | + | |
- | (19/19): perl-devel-5.10.1-115.el6.x86_64.rpm | + | |
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
Total 499 kB/s | 3.6 MB | Total 499 kB/s | 3.6 MB | ||
Zeile 1135: | Zeile 1075: | ||
Transaction Test Succeeded | Transaction Test Succeeded | ||
Running Transaction | Running Transaction | ||
- | | + | Installing |
- | Installing | + | Installing |
- | Installing | + | Installing |
- | Installing | + | Installing |
- | Installing | + | Installing |
- | | + | |
- | Installing | + | |
- | Installing | + | |
- | Installing | + | |
- | Installing | + | |
- | Installing | + | |
- | Installing | + | |
- | Installing | + | |
- | Installing | + | |
- | Installing | + | |
- | Installing | + | |
- | Installing | + | |
- | Installing | + | |
- | Installing | + | |
- | Installed: | + | Installed: |
- | gd.x86_64 0: | + | |
- | libpng.x86_64 2: | + | |
make.x86_64 1: | make.x86_64 1: | ||
perl-ExtUtils-MakeMaker.x86_64 0: | perl-ExtUtils-MakeMaker.x86_64 0: | ||
- | perl-GD-Graph.noarch 0: | ||
- | perl-GD-Graph3d.noarch 0: | ||
- | Dependency Installed: | + | Dependency Installed: |
- | fontconfig.x86_64 0: | + | |
- | freetype.x86_64 0: | + | |
- | libX11.x86_64 0: | + | |
- | libX11-common.noarch 0: | + | |
- | libXau.x86_64 0: | + | |
- | libXpm.x86_64 0: | + | |
- | libjpeg.x86_64 0: | + | |
- | libxcb.x86_64 0: | + | |
perl-ExtUtils-ParseXS.x86_64 1: | perl-ExtUtils-ParseXS.x86_64 1: | ||
- | perl-GD.x86_64 0: | ||
- | perl-GDTextUtil.noarch 0: | ||
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 1143: | ||
==== Installation SquidAnalyzer ==== | ==== Installation SquidAnalyzer ==== | ||
- | Die Datei '' | + | Die Datei '' |
< | < | ||
- | # tar xfzv / | + | # tar xfzv / |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.1/ |
- | squidanalyzer-5.3/packaging/ | + | squidanalyzer-6.1/ChangeLog |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.1/INSTALL |
- | squidanalyzer-5.3/packaging/RPM/ | + | squidanalyzer-6.1/etc/ |
- | squidanalyzer-5.3/MANIFEST | + | squidanalyzer-6.1/etc/ |
- | squidanalyzer-5.3/etc/ | + | squidanalyzer-6.1/etc/user-aliases |
- | squidanalyzer-5.3/etc/user-aliases | + | squidanalyzer-6.1/etc/squidanalyzer.conf |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.1/ |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.1/ |
- | squidanalyzer-5.3/etc/squidanalyzer.conf | + | squidanalyzer-6.1/resources/ |
- | squidanalyzer-5.3/TODO | + | squidanalyzer-6.1/ |
- | squidanalyzer-5.3/cleanit.sh | + | squidanalyzer-6.1/resources/ |
- | squidanalyzer-5.3/doc/ | + | squidanalyzer-6.1/resources/images/ |
- | squidanalyzer-5.3/doc/SquidAnalyzer.pod | + | squidanalyzer-6.1/resources/images/ |
- | squidanalyzer-5.3/doc/squidanalyzer.3 | + | squidanalyzer-6.1/resources/images/ |
- | squidanalyzer-5.3/Makefile.PL | + | squidanalyzer-6.1/resources/ |
- | squidanalyzer-5.3/squid-analyzer | + | squidanalyzer-6.1/resources/ |
- | squidanalyzer-5.3/ChangeLog | + | squidanalyzer-6.1/resources/ |
- | squidanalyzer-5.3/README | + | squidanalyzer-6.1/resources/ |
- | squidanalyzer-5.3/lang/ | + | squidanalyzer-6.1/resources/flotr2.js |
- | squidanalyzer-5.3/lang/de_DE.txt | + | squidanalyzer-6.1/resources/squidanalyzer.css |
- | squidanalyzer-5.3/lang/pt_BR.txt | + | squidanalyzer-6.1/resources/sorttable.js |
- | squidanalyzer-5.3/lang/en_US.txt | + | squidanalyzer-6.1/README |
- | squidanalyzer-5.3/lang/fr_FR.txt | + | squidanalyzer-6.1/doc/ |
- | squidanalyzer-5.3/ | + | squidanalyzer-6.1/doc/SquidAnalyzer.pod |
- | squidanalyzer-5.3/INSTALL | + | squidanalyzer-6.1/ |
- | squidanalyzer-5.3/resources/ | + | squidanalyzer-6.1/ |
- | squidanalyzer-5.3/resources/ | + | squidanalyzer-6.1/TODO |
- | squidanalyzer-5.3/resources/flotr2.js | + | squidanalyzer-6.1/MANIFEST |
- | squidanalyzer-5.3/resources/sorttable.js | + | squidanalyzer-6.1/Makefile.PL |
- | squidanalyzer-5.3/resources/ | + | squidanalyzer-6.1/squid-analyzer |
- | squidanalyzer-5.3/resources/images/ | + | squidanalyzer-6.1/lang/ |
- | squidanalyzer-5.3/resources/ | + | squidanalyzer-6.1/lang/ru_RU.txt |
- | squidanalyzer-5.3/resources/images/ | + | squidanalyzer-6.1/lang/fr_FR.txt |
- | squidanalyzer-5.3/resources/images/ | + | squidanalyzer-6.1/lang/de_DE.txt |
- | squidanalyzer-5.3/resources/images/info.png | + | squidanalyzer-6.1/lang/pl_PL.txt |
- | squidanalyzer-5.3/resources/images/ | + | squidanalyzer-6.1/lang/es_ES.txt |
- | squidanalyzer-5.3/resources/images/ | + | squidanalyzer-6.1/lang/en_US.txt |
- | squidanalyzer-5.3/resources/images/domain.png | + | squidanalyzer-6.1/lang/uk_UA.txt |
- | squidanalyzer-5.3/META.yml | + | squidanalyzer-6.1/lang/cs_CZ.txt |
+ | squidanalyzer-6.1/lang/pt_BR.txt | ||
+ | squidanalyzer-6.1/packaging/ | ||
+ | squidanalyzer-6.1/packaging/RPM/ | ||
+ | squidanalyzer-6.1/packaging/ | ||
</ | </ | ||
- | 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 1213: | ||
# make | # make | ||
cp SquidAnalyzer.pm blib/ | cp SquidAnalyzer.pm blib/ | ||
+ | cp squid-analyzer blib/ | ||
+ | / | ||
+ | Manifying blib/ | ||
</ | </ | ||
Zeile 1260: | Zeile 1221: | ||
# make install | # make install | ||
Installing / | Installing / | ||
+ | Installing / | ||
+ | Installing / | ||
sh install_all.sh | sh install_all.sh | ||
Zeile 1374: | Zeile 1337: | ||
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 1352: | ||
# 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 1396: | ||
# 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 1441: | ||
# 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 1522: | ||
<code bash> | <code bash> | ||
#!/bin/sh | #!/bin/sh | ||
- | / | + | / |
</ | </ | ||
Zeile 1523: | Zeile 1541: | ||
Das Perl-Script wird mit folgendem Befehl ausgeführt: | Das Perl-Script wird mit folgendem Befehl ausgeführt: | ||
< | < | ||
- | # ./ | + | # ./ |
</ | </ | ||
Zeile 1529: | Zeile 1547: | ||
< | < | ||
# 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.1386137249.txt.gz · Zuletzt geändert: 2013/12/04 07:07 von klaus