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 [2013/12/04 07:17] – [Installation Systemvoraussetzungen SquidAnalyzer] 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-5.3.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-5.3.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.2** --> **''perl-GD-Graph''** - 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
-  * :!: **bis Version 5.2** --> **''perl-GD-Graph3d''** - ist im ''rpmforge''-Repository, siehe auch [[tachtler:repository_einbinden_centos_6|Repository einbinden CentOS 6]] enthalten! +
-  * :!: **ab Version 5.3** --> **''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 1181: Zeile 1093:
 </code> </code>
  
-:!: **Ab [[http://squidanalyzer.darold.net/|SquidAnalyzer]] Version 5.3**+:!: **Ab [[http://squidanalyzer.darold.net/|SquidAnalyzer]] Version 5.1**
  
 <code> <code>
Zeile 1231: Zeile 1143:
 ==== Installation SquidAnalyzer ==== ==== Installation SquidAnalyzer ====
  
-Die Datei ''squidanalyzer-5.3.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-5.3.tar.gz +# tar xfzv /tmp/squidanalyzer-6.1.tar.gz 
-squidanalyzer-5.3+squidanalyzer-6.1
-squidanalyzer-5.3/packaging+squidanalyzer-6.1/ChangeLog 
-squidanalyzer-5.3/packaging/RPM+squidanalyzer-6.1/INSTALL 
-squidanalyzer-5.3/packaging/RPM/squidanalyzer.spec +squidanalyzer-6.1/etc
-squidanalyzer-5.3/MANIFEST +squidanalyzer-6.1/etc/included 
-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/etc/network-aliases +squidanalyzer-6.1/etc/network-aliases 
-squidanalyzer-5.3/etc/excluded +squidanalyzer-6.1/etc/excluded 
-squidanalyzer-5.3/etc/squidanalyzer.conf +squidanalyzer-6.1/resources
-squidanalyzer-5.3/TODO +squidanalyzer-6.1/resources/images
-squidanalyzer-5.3/cleanit.sh +squidanalyzer-6.1/resources/images/domain.png 
-squidanalyzer-5.3/doc+squidanalyzer-6.1/resources/images/info.png 
-squidanalyzer-5.3/doc/SquidAnalyzer.pod +squidanalyzer-6.1/resources/images/network.png 
-squidanalyzer-5.3/doc/squidanalyzer.3 +squidanalyzer-6.1/resources/images/cursor.png 
-squidanalyzer-5.3/Makefile.PL +squidanalyzer-6.1/resources/images/back-arrow.png 
-squidanalyzer-5.3/squid-analyzer +squidanalyzer-6.1/resources/images/logo-squidanalyzer.png 
-squidanalyzer-5.3/ChangeLog +squidanalyzer-6.1/resources/images/user.png 
-squidanalyzer-5.3/README +squidanalyzer-6.1/resources/images/up-arrow.png 
-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.pm +squidanalyzer-6.1/doc/SquidAnalyzer.pod 
-squidanalyzer-5.3/INSTALL +squidanalyzer-6.1/META.yml 
-squidanalyzer-5.3/resources+squidanalyzer-6.1/SquidAnalyzer.pm 
-squidanalyzer-5.3/resources/squidanalyzer.css +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/images+squidanalyzer-6.1/squid-analyzer 
-squidanalyzer-5.3/resources/images/cursor.png +squidanalyzer-6.1/lang/ 
-squidanalyzer-5.3/resources/images/user.png +squidanalyzer-6.1/lang/ru_RU.txt 
-squidanalyzer-5.3/resources/images/logo-squidanalyzer.png +squidanalyzer-6.1/lang/fr_FR.txt 
-squidanalyzer-5.3/resources/images/up-arrow.png +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/back-arrow.png +squidanalyzer-6.1/lang/es_ES.txt 
-squidanalyzer-5.3/resources/images/network.png +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/RPM/squidanalyzer.spec
 </code> </code>
  
-Das so erhaltene Verzeichnis, hier z.B. ''/tmp/squidanalyzer-5.3'' 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-5.3+# cd /tmp/squidanalyzer-6.1
 </code> </code>
  
Zeile 1297: Zeile 1213:
 # make # make
 cp SquidAnalyzer.pm blib/lib/SquidAnalyzer.pm cp SquidAnalyzer.pm blib/lib/SquidAnalyzer.pm
 +cp squid-analyzer blib/script/squid-analyzer
 +/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/squid-analyzer
 +Manifying blib/man3/squidanalyzer.3
 </code>  </code> 
  
Zeile 1302: Zeile 1221:
 # make install # make install
 Installing /usr/share/perl5/vendor_perl/SquidAnalyzer.pm Installing /usr/share/perl5/vendor_perl/SquidAnalyzer.pm
 +Installing /usr/share/man/man3/squidanalyzer.3
 +Installing /usr/bin/squid-analyzer
 sh install_all.sh sh install_all.sh
  
Zeile 1416: Zeile 1337:
 Exclude /etc/squidanalyzer/excluded Exclude /etc/squidanalyzer/excluded
  
-# Translation Language file to use (fr_FR.txt, pt_BR.txt and en_US.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           /etc/squidanalyzer/lang/fr_FR.txt+# excluded by default. 
 +Include /etc/squidanalyzer/included 
 + 
 +# 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           /etc/squidanalyzer/lang/en_US.txt
 # Tachtler # Tachtler
 Lang            /etc/squidanalyzer/lang/de_DE.txt Lang            /etc/squidanalyzer/lang/de_DE.txt
Zeile 1425: 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      %y-%m-%d DateFormat      %y-%m-%d
 +
 +# 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.
 +#FooterFile      /etc/squidanalyzer/lang/fr_FR_footer.txt
 +# Tachtler
 +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
Zeile 1461: Zeile 1396:
 # Set it to 0 to disable this feature. # Set it to 0 to disable this feature.
 TopUrlUser      10 TopUrlUser      10
 +
 +# This directive allow you to replace the SquidAnalyze logo by your custom
 +# logo. The default value is defined as follow:
 +# <a href="$self->{WebUrl}">
 +# <img src="$self->{WebUrl}images/logo-squidanalyzer.png" title="SquidAnalyzer $VERSION" border="0">
 +# </a> SquidAnalyzer
 +# 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
 +
 +# 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 1489: Zeile 1441:
 # Tachtler # Tachtler
 USER    root USER    root
 +</code>
 +
 +=== /etc/squidanalyzer/included ===
 +
 +Die Konfigurationsdatei ''/etc/squidanalyzer/included'' könnte wie folgt aussehen:
 +
 +<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/n
 +#
 +# See example bellow:
 +#------------------------------------------------------------------------------
 +#NETWORK 192.168.1.0/24 10.10.0.0/16
 +#CLIENT 192\.168\.1\.2 
 +#CLIENT 10\.169\.1\.\d+ 192\.168\.10\..*
 +#USER myloginstr
 +#USER guestlogin\d+ guestdemo
 </code> </code>
  
Zeile 1546: 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 1565: Zeile 1541:
 Das Perl-Script wird mit folgendem Befehl ausgeführt: Das Perl-Script wird mit folgendem Befehl ausgeführt:
 <code> <code>
-# ./squid-analyzer --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>
  
Zeile 1571: Zeile 1547:
 <code> <code>
 # ls -la /var/www/squidanalyzer/ # ls -la /var/www/squidanalyzer/
-total 64 +total 180 
-drwxr-xr-x root root  4096 May  4 13:59 . +drwxr-xr-x 13 root root   4096 Dec  1  2012 2012 
-drwxr-xr-x root root  4096 May  4 11:17 .+drwxr-xr-x 16 root root   4096 Dec  1 08:01 2013 
-drwxr-xr-x root root  4096 May  4 13:59 2012 +drwxr-xr-x 10 root root   4096 May 16 08:46 2014 
--rw-r--r-- 1 root root  2027 May  4 13:59 index.html +-rw-r--r--  1 root root   1406 Nov  2  2011 favicon.ico 
--rw-r--r-- 1 root root 23628 May  4 13:48 logo-squidanalyzer.png +-rw-r--r--  1 root root 102194 May 16 08:30 flotr2.js 
--rw-r--r-- 1 root root 16917 May  4 13:48 sorttable.js +drwxr-xr-x  root root   4096 May 16 08:30 images 
--rw-r--r-- 1 root root  1160 May  4 13:48 squidanalyzer.css +-rw-r--r--  1 root root   3340 May 16 08:48 index.html 
--rw-r--r-- 1 root root    14 May  4 13:59 SquidAnalyzer.current+-rw-r--r--  1 root root  23628 Sep 12  2012 logo-squidanalyzer.png 
 +-rw-r--r--  1 root root      0 Nov  2  2011 robots.txt 
 +-rw-r--r--  1 root root  17262 May 16 08:30 sorttable.js 
 +-rw-r--r--  1 root root   7604 May 16 08:30 squidanalyzer.css 
 +-rw-r--r--  1 root root     14 May 16 08:46 SquidAnalyzer.current
 </code> </code>
  
tachtler/squid_centos_6.1386137852.txt.gz · Zuletzt geändert: 2013/12/04 07:17 von klaus