Benutzer-Werkzeuge

Webseiten-Werkzeuge


tachtler:squid_centos_6

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
tachtler:squid_centos_6 [2014/09/05 08:20] klaustachtler:squid_centos_6 [2014/11/01 08:43] (aktuell) klaus
Zeile 1001: Zeile 1001:
 Als Voraussetzung für die Installation von [[http://squidanalyzer.darold.net/|SquidAnalyzer]] sind folgende Komponenten erforderlich:  Als Voraussetzung für die Installation von [[http://squidanalyzer.darold.net/|SquidAnalyzer]] sind folgende Komponenten erforderlich: 
  
-  * ''squidanalyzer-6.0.tar.gz'' (Programm) [[http://squidanalyzer.darold.net/|SquidAnalyzer]] +  * ''squidanalyzer-6.1.tar.gz'' (Programm) [[http://squidanalyzer.darold.net/|SquidAnalyzer]]
-  * ''gd-2.0.35.tar.gz'' (libgd) [[http://www.libgd.org|www.libgd.org]] +
-  * ''libpng'' (libpng) [[http://www.libpng.org|www.libpng.org]]+
   * ''perl'' 5.005_03 oder höher [[http://www.perl.com|Perl]]   * ''perl'' 5.005_03 oder höher [[http://www.perl.com|Perl]]
  
Zeile 1009: Zeile 1007:
  
 Di Programmdateien von [[http://sourceforge.net/projects/squid-report/|SquidAnalyzer]] können unter folgendem Link heruntergeladen werden: Di Programmdateien von [[http://sourceforge.net/projects/squid-report/|SquidAnalyzer]] können unter folgendem Link heruntergeladen werden:
-  * [[http://sourceforge.net/projects/squid-report/files/latest/download|squidanalyzer-6.0.tar.gz]]+  * [[http://sourceforge.net/projects/squid-report/files/latest/download|squidanalyzer-6.1.tar.gz]]
  
 ==== Installation Systemvoraussetzungen SquidAnalyzer ==== ==== Installation Systemvoraussetzungen SquidAnalyzer ====
Zeile 1016: Zeile 1014:
   * **''perl''** - ist im ''base''-Repository von [[http://www.centos.org|CentOS]] enthalten --> :!: **HINWEIS** - **Meist bereits installiert !!!**   * **''perl''** - ist im ''base''-Repository von [[http://www.centos.org|CentOS]] enthalten --> :!: **HINWEIS** - **Meist bereits installiert !!!**
   * **''perl-ExtUtils-MakeMaker''** - ist im ''base''-Repository von [[http://www.centos.org|CentOS]] enthalten   * **''perl-ExtUtils-MakeMaker''** - ist im ''base''-Repository von [[http://www.centos.org|CentOS]] enthalten
-  * :!: **bis Version 5.0** --> **''perl-GD-Graph''** - ist im ''rpmforge''-Repository, siehe auch [[tachtler:repository_einbinden_centos_6|Repository einbinden CentOS 6]] enthalten! 
-  * :!: **bis Version 5.0** --> **''perl-GD-Graph3d''** - ist im ''rpmforge''-Repository, siehe auch [[tachtler:repository_einbinden_centos_6|Repository einbinden CentOS 6]] enthalten! 
   * :!: **ab Version 5.1** --> **''perl-Time-HiRes''** - ist im ''base''-Repository von [[http://www.centos.org|CentOS]] enthalten   * :!: **ab Version 5.1** --> **''perl-Time-HiRes''** - ist im ''base''-Repository von [[http://www.centos.org|CentOS]] enthalten
   * **''make''** - ist im ''base''-Repository von [[http://www.centos.org|CentOS]] enthalten   * **''make''** - ist im ''base''-Repository von [[http://www.centos.org|CentOS]] enthalten
-  * **''gd''** - ist im ''base''-Repository von [[http://www.centos.org|CentOS]] enthalten 
-  * **''libpng''** - ist im ''base''-Repository von [[http://www.centos.org|CentOS]] enthalten 
 installiert werden. installiert werden.
  
 Mit nachfolgendem Befehl, werden die Pakete installiert: Mit nachfolgendem Befehl, werden die Pakete installiert:
 <code> <code>
-# yum install perl-ExtUtils-MakeMaker perl-GD-Graph perl-GD-Graph3d make gd libpng+# yum install perl-ExtUtils-MakeMaker make
 Loaded plugins: fastestmirror, priorities Loaded plugins: fastestmirror, priorities
 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:2.0.35-10.el6 set to be updated 
---> 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:1.2.44-1.el6 set to be updated 
 ---> Package make.x86_64 1:3.81-19.el6 set to be updated ---> Package make.x86_64 1:3.81-19.el6 set to be updated
 ---> Package perl-ExtUtils-MakeMaker.x86_64 0:6.55-115.el6 set to be updated ---> Package perl-ExtUtils-MakeMaker.x86_64 0:6.55-115.el6 set to be updated
 --> Processing Dependency: perl(Test::Harness) for package: perl-ExtUtils-MakeMaker-6.55-115.el6.x86_64 --> Processing Dependency: perl(Test::Harness) 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 --> Processing Dependency: perl-devel for package: perl-ExtUtils-MakeMaker-6.55-115.el6.x86_64
----> Package perl-GD-Graph.noarch 0:1.44-1.el6.rf set to be updated 
---> Processing Dependency: perl(GD) for package: perl-GD-Graph-1.44-1.el6.rf.noarch 
---> Processing Dependency: perl(GD::Text::Align) for package: perl-GD-Graph-1.44-1.el6.rf.noarch 
----> Package perl-GD-Graph3d.noarch 0:0.63-2.2.el6.rf set to be updated 
---> Running transaction check 
----> Package fontconfig.x86_64 0:2.8.0-3.el6 set to be updated 
----> Package freetype.x86_64 0:2.3.11-6.el6_0.2 set to be updated 
----> 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:3.5.8-2.el6 set to be updated 
----> Package libjpeg.x86_64 0:6b-46.el6 set to be updated 
----> Package perl-GD.x86_64 0:2.44-3.el6 set to be updated 
----> Package perl-GDTextUtil.noarch 0:0.86-15.el6 set to be updated 
 ---> Package perl-Test-Harness.x86_64 0:3.17-115.el6 set to be updated ---> Package perl-Test-Harness.x86_64 0:3.17-115.el6 set to be updated
 ---> Package perl-devel.x86_64 4:5.10.1-115.el6 set to be updated ---> Package perl-devel.x86_64 4:5.10.1-115.el6 set to be updated
 --> Processing Dependency: perl(ExtUtils::ParseXS) for package: 4:perl-devel-5.10.1-115.el6.x86_64 --> Processing Dependency: perl(ExtUtils::ParseXS) for package: 4:perl-devel-5.10.1-115.el6.x86_64
 --> 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:2.2003.0-115.el6 set to be updated ---> Package perl-ExtUtils-ParseXS.x86_64 1:2.2003.0-115.el6 set to be updated
---> Running transaction check 
----> Package libXau.x86_64 0:1.0.5-1.el6 set to be updated 
 --> Finished Dependency Resolution --> Finished Dependency Resolution
  
Zeile 1080: Zeile 1048:
 ================================================================================ ================================================================================
 Installing: Installing:
- gd                         x86_64    2.0.35-10.el6           base        142 k 
- libpng                     x86_64    2:1.2.44-1.el6          base        180 k 
  make                       x86_64    1:3.81-19.el6           base        389 k  make                       x86_64    1:3.81-19.el6           base        389 k
  perl-ExtUtils-MakeMaker    x86_64    6.55-115.el6            base        289 k  perl-ExtUtils-MakeMaker    x86_64    6.55-115.el6            base        289 k
- perl-GD-Graph              noarch    1.44-1.el6.rf           rpmforge    101 k 
- perl-GD-Graph3d            noarch    0.63-2.2.el6.rf         rpmforge     24 k 
 Installing for dependencies: Installing for dependencies:
- fontconfig                 x86_64    2.8.0-3.el6             base        186 k 
- freetype                   x86_64    2.3.11-6.el6_0.2        updates     359 k 
- libX11                     x86_64    1.3-2.el6               base        582 k 
- libX11-common              noarch    1.3-2.el6               base        188 k 
- libXau                     x86_64    1.0.5-1.el6             base         22 k 
- libXpm                     x86_64    3.5.8-2.el6             base         59 k 
- libjpeg                    x86_64    6b-46.el6               base        134 k 
- libxcb                     x86_64    1.5-1.el6               base        100 k 
  perl-ExtUtils-ParseXS      x86_64    1:2.2003.0-115.el6      base         41 k  perl-ExtUtils-ParseXS      x86_64    1:2.2003.0-115.el6      base         41 k
- perl-GD                    x86_64    2.44-3.el6              base        180 k 
- perl-GDTextUtil            noarch    0.86-15.el6             base         39 k 
  perl-Test-Harness          x86_64    3.17-115.el6            base        228 k  perl-Test-Harness          x86_64    3.17-115.el6            base        228 k
  perl-devel                 x86_64    4:5.10.1-115.el6        base        419 k  perl-devel                 x86_64    4:5.10.1-115.el6        base        419 k
Zeile 1103: Zeile 1057:
 Transaction Summary Transaction Summary
 ================================================================================ ================================================================================
-Install      19 Package(s)+Install       5 Package(s)
 Upgrade       0 Package(s) Upgrade       0 Package(s)
  
-Total download size: 3.+Total download size: 1.
-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                | 186 kB     00:00      +(1/5): make-3.81-19.el6.x86_64.rpm                     | 389 kB     00:00      
-(2/19): freetype-2.3.11-6.el6_0.2.x86_64.rpm             | 359 kB     00:00      +(2/5): perl-ExtUtils-MakeMaker-6.55-115.el6.x86_64.rpm | 289 kB     00:00      
-(3/19): gd-2.0.35-10.el6.x86_64.rpm                      | 142 kB     00:00      +(3/5): perl-ExtUtils-ParseXS-2.2003.0-115.el6.x86_64.r |  41 kB     00:00          
-(4/19): libX11-1.3-2.el6.x86_64.rpm                      | 582 kB     00:00      +(4/5): perl-Test-Harness-3.17-115.el6.x86_64.rpm       | 228 kB     00:00      
-(5/19): libX11-common-1.3-2.el6.noarch.rpm               | 188 kB     00:00      +(5/5): perl-devel-5.10.1-115.el6.x86_64.rpm            | 419 kB     00:00     
-(6/19): libXau-1.0.5-1.el6.x86_64.rpm                    |  22 kB     00:00      +
-(7/19): libXpm-3.5.8-2.el6.x86_64.rpm                    |  59 kB     00:00      +
-(8/19): libjpeg-6b-46.el6.x86_64.rpm                     | 134 kB     00:00      +
-(9/19): libpng-1.2.44-1.el6.x86_64.rpm                   | 180 kB     00:00      +
-(10/19): libxcb-1.5-1.el6.x86_64.rpm                     | 100 kB     00:00      +
-(11/19): make-3.81-19.el6.x86_64.rpm                     | 389 kB     00:00      +
-(12/19): perl-ExtUtils-MakeMaker-6.55-115.el6.x86_64.rpm | 289 kB     00:00      +
-(13/19): perl-ExtUtils-ParseXS-2.2003.0-115.el6.x86_64.r |  41 kB     00:00      +
-(14/19): perl-GD-2.44-3.el6.x86_64.rpm                   | 180 kB     00:00      +
-(15/19): perl-GD-Graph-1.44-1.el6.rf.noarch.rpm          | 101 kB     00:00      +
-(16/19): perl-GD-Graph3d-0.63-2.2.el6.rf.noarch.rpm      |  24 kB     00:00      +
-(17/19): perl-GDTextUtil-0.86-15.el6.noarch.rpm          |  39 kB     00:00      +
-(18/19): perl-Test-Harness-3.17-115.el6.x86_64.rpm       | 228 kB     00:00      +
-(19/19): perl-devel-5.10.1-115.el6.x86_64.rpm            | 419 kB     00:00     +
 -------------------------------------------------------------------------------- --------------------------------------------------------------------------------
 Total                                           499 kB/s | 3.6 MB     00:07      Total                                           499 kB/s | 3.6 MB     00:07     
Zeile 1135: Zeile 1075:
 Transaction Test Succeeded Transaction Test Succeeded
 Running Transaction Running Transaction
-  Installing     : freetype-2.3.11-6.el6_0.2.x86_64                        1/19  +  Installing     : 1:perl-ExtUtils-ParseXS-2.2003.0-115.el6.x86_64         1/ 
-  Installing     : fontconfig-2.8.0-3.el6.x86_64                           2/19  +  Installing     : perl-ExtUtils-MakeMaker-6.55-115.el6.x86_64             2/ 
-  Installing     : 2:libpng-1.2.44-1.el6.x86_64                            3/19  +  Installing     : 4:perl-devel-5.10.1-115.el6.x86_64                      3/ 
-  Installing     : libjpeg-6b-46.el6.x86_64                                4/19  +  Installing     : perl-Test-Harness-3.17-115.el6.x86_64                   4/5  
-  Installing     : libXau-1.0.5-1.el6.x86_64                               5/19  +  Installing     : 1:make-3.81-19.el6.x86_64                               5/
-  Installing     : 1:perl-ExtUtils-ParseXS-2.2003.0-115.el6.x86_64         6/19  +
-  Installing     : perl-ExtUtils-MakeMaker-6.55-115.el6.x86_64             7/19  +
-  Installing     : 4:perl-devel-5.10.1-115.el6.x86_64                      8/19  +
-  Installing     : perl-Test-Harness-3.17-115.el6.x86_64                   9/19  +
-  Installing     : libxcb-1.5-1.el6.x86_64                                10/19  +
-  Installing     : libX11-common-1.3-2.el6.noarch                         11/19  +
-  Installing     : libX11-1.3-2.el6.x86_64                                12/19  +
-  Installing     : libXpm-3.5.8-2.el6.x86_64                              13/19  +
-  Installing     : gd-2.0.35-10.el6.x86_64                                14/19  +
-  Installing     : perl-GD-2.44-3.el6.x86_64                              15/19  +
-  Installing     : 1:make-3.81-19.el6.x86_64                              16/19  +
-  Installing     : perl-GDTextUtil-0.86-15.el6.noarch                     17/19  +
-  Installing     : perl-GD-Graph-1.44-1.el6.rf.noarch                     18/19  +
-  Installing     : perl-GD-Graph3d-0.63-2.2.el6.rf.noarch                 19/19 +
  
-Installed: +Installed:                                               
-  gd.x86_64 0:2.0.35-10.el6                                                      +
-  libpng.x86_64 2:1.2.44-1.el6                                                  +
   make.x86_64 1:3.81-19.el6                                                        make.x86_64 1:3.81-19.el6                                                     
   perl-ExtUtils-MakeMaker.x86_64 0:6.55-115.el6                                    perl-ExtUtils-MakeMaker.x86_64 0:6.55-115.el6                                 
-  perl-GD-Graph.noarch 0:1.44-1.el6.rf                                           
-  perl-GD-Graph3d.noarch 0:0.63-2.2.el6.rf                                       
  
-Dependency Installed: +Dependency Installed:                                                   
-  fontconfig.x86_64 0:2.8.0-3.el6                                                +
-  freetype.x86_64 0:2.3.11-6.el6_0.2                                             +
-  libX11.x86_64 0:1.3-2.el6                                                      +
-  libX11-common.noarch 0:1.3-2.el6                                               +
-  libXau.x86_64 0:1.0.5-1.el6                                                    +
-  libXpm.x86_64 0:3.5.8-2.el6                                                    +
-  libjpeg.x86_64 0:6b-46.el6                                                     +
-  libxcb.x86_64 0:1.5-1.el6                                                     +
   perl-ExtUtils-ParseXS.x86_64 1:2.2003.0-115.el6                                  perl-ExtUtils-ParseXS.x86_64 1:2.2003.0-115.el6                               
-  perl-GD.x86_64 0:2.44-3.el6                                                    
-  perl-GDTextUtil.noarch 0:0.86-15.el6                                           
   perl-Test-Harness.x86_64 0:3.17-115.el6                                          perl-Test-Harness.x86_64 0:3.17-115.el6                                       
   perl-devel.x86_64 4:5.10.1-115.el6                                               perl-devel.x86_64 4:5.10.1-115.el6                                            
Zeile 1231: Zeile 1143:
 ==== Installation SquidAnalyzer ==== ==== Installation SquidAnalyzer ====
  
-Die Datei ''squidanalyzer-6.0.tar.gz'' muss zuerst mit folgendem Befehl Entpackt werden:+Die Datei ''squidanalyzer-6.1.tar.gz'' muss zuerst mit folgendem Befehl Entpackt werden:
 <code> <code>
-# tar xfzv /tmp/squidanalyzer-6.0.tar.gz +# tar xfzv /tmp/squidanalyzer-6.1.tar.gz 
-squidanalyzer-6.0+squidanalyzer-6.1
-squidanalyzer-6.0/etc/ +squidanalyzer-6.1/ChangeLog 
-squidanalyzer-6.0/etc/network-aliases +squidanalyzer-6.1/INSTALL 
-squidanalyzer-6.0/etc/squidanalyzer.conf +squidanalyzer-6.1/etc/ 
-squidanalyzer-6.0/etc/user-aliases +squidanalyzer-6.1/etc/included 
-squidanalyzer-6.0/etc/excluded +squidanalyzer-6.1/etc/user-aliases 
-squidanalyzer-6.0/etc/included +squidanalyzer-6.1/etc/squidanalyzer.conf 
-squidanalyzer-6.0/SquidAnalyzer.pm +squidanalyzer-6.1/etc/network-aliases 
-squidanalyzer-6.0/MANIFEST +squidanalyzer-6.1/etc/excluded 
-squidanalyzer-6.0/META.yml +squidanalyzer-6.1/resources
-squidanalyzer-6.0/lang+squidanalyzer-6.1/resources/images
-squidanalyzer-6.0/lang/pl_PL.txt +squidanalyzer-6.1/resources/images/domain.png 
-squidanalyzer-6.0/lang/pt_BR.txt +squidanalyzer-6.1/resources/images/info.png 
-squidanalyzer-6.0/lang/fr_FR.txt +squidanalyzer-6.1/resources/images/network.png 
-squidanalyzer-6.0/lang/es_ES.txt +squidanalyzer-6.1/resources/images/cursor.png 
-squidanalyzer-6.0/lang/de_DE.txt +squidanalyzer-6.1/resources/images/back-arrow.png 
-squidanalyzer-6.0/lang/en_US.txt +squidanalyzer-6.1/resources/images/logo-squidanalyzer.png 
-squidanalyzer-6.0/lang/ru_RU.txt +squidanalyzer-6.1/resources/images/user.png 
-squidanalyzer-6.0/lang/cs_CZ.txt +squidanalyzer-6.1/resources/images/up-arrow.png 
-squidanalyzer-6.0/lang/uk_UA.txt +squidanalyzer-6.1/resources/flotr2.js 
-squidanalyzer-6.0/doc/ +squidanalyzer-6.1/resources/squidanalyzer.css 
-squidanalyzer-6.0/doc/SquidAnalyzer.pod +squidanalyzer-6.1/resources/sorttable.js 
-squidanalyzer-6.0/squid-analyzer +squidanalyzer-6.1/README 
-squidanalyzer-6.0/Makefile.PL +squidanalyzer-6.1/doc/ 
-squidanalyzer-6.0/ChangeLog +squidanalyzer-6.1/doc/SquidAnalyzer.pod 
-squidanalyzer-6.0/TODO +squidanalyzer-6.1/META.yml 
-squidanalyzer-6.0/packaging+squidanalyzer-6.1/SquidAnalyzer.pm 
-squidanalyzer-6.0/packaging/RPM/ +squidanalyzer-6.1/TODO 
-squidanalyzer-6.0/packaging/RPM/squidanalyzer.spec +squidanalyzer-6.1/MANIFEST 
-squidanalyzer-6.0/resources+squidanalyzer-6.1/Makefile.PL 
-squidanalyzer-6.0/resources/flotr2.js +squidanalyzer-6.1/squid-analyzer 
-squidanalyzer-6.0/resources/squidanalyzer.css +squidanalyzer-6.1/lang
-squidanalyzer-6.0/resources/sorttable.js +squidanalyzer-6.1/lang/ru_RU.txt 
-squidanalyzer-6.0/resources/images+squidanalyzer-6.1/lang/fr_FR.txt 
-squidanalyzer-6.0/resources/images/info.png +squidanalyzer-6.1/lang/de_DE.txt 
-squidanalyzer-6.0/resources/images/up-arrow.png +squidanalyzer-6.1/lang/pl_PL.txt 
-squidanalyzer-6.0/resources/images/back-arrow.png +squidanalyzer-6.1/lang/es_ES.txt 
-squidanalyzer-6.0/resources/images/user.png +squidanalyzer-6.1/lang/en_US.txt 
-squidanalyzer-6.0/resources/images/logo-squidanalyzer.png +squidanalyzer-6.1/lang/uk_UA.txt 
-squidanalyzer-6.0/resources/images/network.png +squidanalyzer-6.1/lang/cs_CZ.txt 
-squidanalyzer-6.0/resources/images/domain.png +squidanalyzer-6.1/lang/pt_BR.txt 
-squidanalyzer-6.0/resources/images/cursor.png +squidanalyzer-6.1/packaging
-squidanalyzer-6.0/INSTALL +squidanalyzer-6.1/packaging/RPM
-squidanalyzer-6.0/README+squidanalyzer-6.1/packaging/RPM/squidanalyzer.spec
 </code> </code>
  
-Das so erhaltene Verzeichnis, hier z.B. ''/tmp/squidanalyzer-6.0'' beinhaltet eine Datei mit dem Namen ''INSTALL''. Die hier aufgeführte Beschreibung dient zur Installation des [[http://squidanalyzer.darold.net/|SquidAnalyzer]].+Das so erhaltene Verzeichnis, hier z.B. ''/tmp/squidanalyzer-6.1'' beinhaltet eine Datei mit dem Namen ''INSTALL''. Die hier aufgeführte Beschreibung dient zur Installation des [[http://squidanalyzer.darold.net/|SquidAnalyzer]].
  
 Die Schritte zusammengefasst sollten wie folgt aussehen: Die Schritte zusammengefasst sollten wie folgt aussehen:
 <code> <code>
-# cd /tmp/squidanalyzer-6.0+# cd /tmp/squidanalyzer-6.1
 </code> </code>
  
Zeile 1307: Zeile 1219:
  
 <code> <code>
-# make install 
 # make install # make install
 Installing /usr/share/perl5/vendor_perl/SquidAnalyzer.pm Installing /usr/share/perl5/vendor_perl/SquidAnalyzer.pm
Zeile 1355: Zeile 1266:
 # Path where SquidAnalyzer should dump all HTML and images files. # Path where SquidAnalyzer should dump all HTML and images files.
 # Choose a path that can be read by a Web browser # Choose a path that can be read by a Web browser
-Output /var/www/squidanalyzer+Output  /var/www/squidanalyzer
  
 # The URL of the SquidAnalyzer javascript, HTML and images files. # The URL of the SquidAnalyzer javascript, HTML and images files.
 # Tachtler # Tachtler
-# default: WebUrl /squidreport+# default: WebUrl       /squidreport
 WebUrl / WebUrl /
  
 # Set the path to the Squid log file # Set the path to the Squid log file
 # Tachtler # Tachtler
-# default: LogFile /var/log/squid3/access.log +# default: LogFile      /var/log/squid3/access.log 
-LogFile /var/log/squid/access.log+LogFile /var/log/squid/access.log
  
 # If you want to use DNS name instead of client Ip address as username enable # If you want to use DNS name instead of client Ip address as username enable
-this directive. When you don't have authentication, the username is set to+# this directive. When you don't have authentication, the username is set to
 # the client ip address, this allow you to use the DNS name instead. # the client ip address, this allow you to use the DNS name instead.
-Note that you must have a working DNS resolution and that it can really slow +# Note that you must have a working DNS resolution and that it can really slow 
-down the generation of reports.+# down the generation of reports.
 UseClientDNSName        0 UseClientDNSName        0
  
Zeile 1382: Zeile 1293:
 # show as Ip addresses so if you want to display name instead # show as Ip addresses so if you want to display name instead
 # create a file with this format : # create a file with this format :
-# LOCATION_NAME IP_NETWORK_ADDRESS+# LOCATION_NAME IP_NETWORK_ADDRESS
 # Separator must be a tabulation # Separator must be a tabulation
-NetworkAlias /etc/squidanalyzer/network-aliases+NetworkAlias    /etc/squidanalyzer/network-aliases
  
 # Set the file containing user alias name. If you don't have auth_proxy # Set the file containing user alias name. If you don't have auth_proxy
 # enable user are seen as Ip addresses, or if you want to replace login # enable user are seen as Ip addresses, or if you want to replace login
 # name by full user name, create a file with this format : # name by full user name, create a file with this format :
-# FULL_USERNAME IP_ADDRESS || LOGIN_NAME+# FULL_USERNAME IP_ADDRESS || LOGIN_NAME
 # Separator must be a tabulation # Separator must be a tabulation
-UserAlias /etc/squidanalyzer/user-aliases+UserAlias       /etc/squidanalyzer/user-aliases
  
 # How do we sort Network, User and Url report screen # How do we sort Network, User and Url report screen
 # Value can be: bytes, hits or duration. Default is bytes. # Value can be: bytes, hits or duration. Default is bytes.
-OrderNetwork bytes +OrderNetwork    bytes 
-OrderUser bytes +OrderUser       bytes 
-OrderUrl bytes+OrderUrl        bytes
  
 # How do we sort Mime types report screen # How do we sort Mime types report screen
 # Value can be: bytes or hits. Default is bytes. # Value can be: bytes or hits. Default is bytes.
-OrderMime bytes+OrderMime       bytes
  
 # Should we display user details. This will show all URL read # Should we display user details. This will show all URL read
 # by user. Take care to have enougth space disk for large user. # by user. Take care to have enougth space disk for large user.
-UrlReport 1+UrlReport       1
  
 # Run in quiet mode or print debug information # Run in quiet mode or print debug information
-QuietMode 1+QuietMode       1
  
 # Cost of the bandwith per Mb. If you want to generate invoice per Mb # Cost of the bandwith per Mb. If you want to generate invoice per Mb
 # for bandwith traffic this can help you. Value 0 mean no cost. # for bandwith traffic this can help you. Value 0 mean no cost.
 # Tachtler # Tachtler
-# default: CostPrice 0.5 +# default: CostPrice    0.5 
-CostPrice 0.01+CostPrice       0.01
  
 # Currency of the bandwith cost # Currency of the bandwith cost
-Currency &euro;+Currency        &euro;
  
 # Top number of url to show # Top number of url to show
-TopNumber 100+TopNumber       100
  
 # Path to the file containing client ip addresses, network ip address, # Path to the file containing client ip addresses, network ip address,
Zeile 1428: Zeile 1339:
 # Path to the file containing client ip addresses, network ip address, # Path to the file containing client ip addresses, network ip address,
 # and/or auth login to include into the report. Other entries will be # and/or auth login to include into the report. Other entries will be
-excluded by default.+# excluded by default.
 Include /etc/squidanalyzer/included Include /etc/squidanalyzer/included
  
-# Translation Language file to use (fr_FR.txt, pt_BR.txt and en_US.txt). +# Translation Language file to use (fr_FR.txt, pt_BR.txt, es_ES.txt, 
-# Default to en_US.txt +en_US.txt, ru_RU.txt, uk_UA.txt, cs_CZ.txt, pl_PL.txt and de_DE.txt). 
-#Lang /etc/squidanalyzer/lang/fr_FR.txt+# Default to: 
 +#Lang           /etc/squidanalyzer/lang/en_US.txt
 # Tachtler # Tachtler
-Lang /etc/squidanalyzer/lang/de_DE.txt+Lang            /etc/squidanalyzer/lang/de_DE.txt
  
 # Date format use to display date (year = %y, month = %m and day = %d) # Date format use to display date (year = %y, month = %m and day = %d)
 # 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 %y-%m-%d+DateFormat      %y-%m-%d
  
 # Custom Footer. Must be a path to a text file containing HTML code that # Custom Footer. Must be a path to a text file containing HTML code that
Zeile 1449: Zeile 1361:
 FooterFile      /etc/squidanalyzer/lang/de_DE_footer.txt FooterFile      /etc/squidanalyzer/lang/de_DE_footer.txt
  
-# 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
 # will be replaced by an unique id that change at each squid-analyzer # will be replaced by an unique id that change at each squid-analyzer
 # run. Default disable. # run. Default disable.
-AnonymizeLogin 0+AnonymizeLogin  0
  
 # Adds peer cache hit (CD_SIBLING_HIT) to be taken has local cache hit. # Adds peer cache hit (CD_SIBLING_HIT) to be taken has local cache hit.
 # Enabled by default, you must disabled it if you don't want to report # Enabled by default, you must disabled it if you don't want to report
 # peer cache hit onto your stats. # peer cache hit onto your stats.
-SiblingHit 1+SiblingHit      1
  
 # Set the default unit for transfert size. Default is BYTES, other possible # Set the default unit for transfert size. Default is BYTES, other possible
Zeile 1474: Zeile 1386:
  
 # By default SquidAnalyzer is saving current collected statistics each time # By default SquidAnalyzer is saving current collected statistics each time
-new hour is found in log file. Most of the time this is enough but if +# a new hour is found in log file. Most of the time this is enough but if 
-you have huge log file and don't have enough memory this will slow down the+# you have huge log file and don't have enough memory this will slow down the
 # parser by forcing Perl to use temporaries files. Use lower value following # parser by forcing Perl to use temporaries files. Use lower value following
 # your memory and the size of your log file, on very huge log file with lot of # your memory and the size of your log file, on very huge log file with lot of
Zeile 1492: Zeile 1404:
 # Feel free to define your own header but take care to not break current design. # Feel free to define your own header but take care to not break current design.
 #CustomHeader   <a href="http://my.isp.dom/"><img src="http://my.isp.dom/logo.png" title="My ISP link" border="0" width="100" height="110"></a> My ISP Company #CustomHeader   <a href="http://my.isp.dom/"><img src="http://my.isp.dom/logo.png" title="My ISP link" border="0" width="100" height="110"></a> My ISP Company
 +
 +# This directive allow exclusion of some unwanted methods in report statistics
 +# like HEAD, POST, CONNECT, etc. Can be a comma separated list of methods.
 +#ExcludedMethods        HEAD
 +
 +# 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.
 +#ExcludedMimes  text/.*,image/.*
  
 </code> </code>
Zeile 1601: Zeile 1522:
 <code bash> <code bash>
 #!/bin/sh #!/bin/sh
-/usr/local/bin/squid-analyzer --logfile /var/log/squid/access.log --configfile /etc/squidanalyzer/squidanalyzer.conf+/usr/local/bin/squid-analyzer --configfile /etc/squidanalyzer/squidanalyzer.conf /var/log/squid/access.log 
 </code> </code>
  
Zeile 1620: Zeile 1541:
 Das Perl-Script wird mit folgendem Befehl ausgeführt: Das Perl-Script wird mit folgendem Befehl ausgeführt:
 <code> <code>
-# ./squid-analyzer --rebuild --logfile /var/log/squid/access.log --configfile /etc/squidanalyzer/squidanalyzer.conf+# ./squid-analyzer --rebuild --configfile /etc/squidanalyzer/squidanalyzer.conf /var/log/squid/access.log
 </code> </code>
  
tachtler/squid_centos_6.1409898028.txt.gz · Zuletzt geändert: 2014/09/05 08:20 von klaus