Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
tux:awstats [2011/03/31 16:30] 127.0.0.1 external edit |
tux:awstats [2012/11/07 13:07] (aktuell) wikisysop |
||
---|---|---|---|
Zeile 9: | Zeile 9: | ||
<xterm> | <xterm> | ||
- | vmdebian3:/# <fc #9acd32>cd /usr/local</fc> | + | # <fc #008000>cd /usr/local</fc> |
- | vmdebian3:/usr/local# <fc #9acd32>aptitude show awstats</fc> | + | /usr/local# <fc #008000>aptitude show awstats</fc> |
Paket: awstats | Paket: awstats | ||
Zustand: nicht installiert | Zustand: nicht installiert | ||
- | <fc #ffff00>Version: 6.5+dfsg-1+etch1</fc> | + | <fc #0000FF>Version: 6.5+dfsg-1+etch1</fc> |
Priorität: optional | Priorität: optional | ||
Bereich: web | Bereich: web | ||
- | <fc #ffff00>Hängt ab von</fc>: perl, perl (>= 5.8.0-7) | libstorable-perl, perl (>= 5.8.0-7) | libtime-hires-perl | + | <fc #0000FF>Hängt ab von</fc>: perl, perl (>= 5.8.0-7) | libstorable-perl, perl (>= 5.8.0-7) | libtime-hires-perl |
Empfiehlt: libnet-xwhois-perl | Empfiehlt: libnet-xwhois-perl | ||
<nowiki>http://awstats.sourceforge.net/</nowiki> | <nowiki>http://awstats.sourceforge.net/</nowiki> | ||
- | vmdebian3:/usr/local# | + | /usr/local# |
- | vmdebian3:/usr/local# <fc #9acd32>which perl</fc> | + | /usr/local# <fc #008000>which perl</fc> |
/usr/bin/perl | /usr/bin/perl | ||
- | vmdebian3:/usr/local# <fc #9acd32>perl <nowiki>--version</nowiki></fc> | + | /usr/local# <fc #008000>perl <nowiki>--version</nowiki></fc> |
- | This is perl, <fc #ffff00>v5.10.0</fc> built for i486-linux-gnu-thread-multi | + | This is perl, <fc #0000FF>v5.10.0</fc> built for i486-linux-gnu-thread-multi |
- | vmdebian3:/usr/local# | + | /usr/local# |
- | vmdebian3:/usr/local# <fc #9acd32>wget <nowiki>http://prdownloads.sourceforge.net/awstats/awstats-6.95.tar.gz</nowiki></fc> | + | /usr/local# <fc #008000>wget <nowiki>http://prdownloads.sourceforge.net/awstats/awstats-6.95.tar.gz</nowiki></fc> |
- | vmdebian3:/usr/local# <fc #9acd32>tar -xvf awstats-6.95.tar.gz</fc> | + | /usr/local# <fc #008000>tar -xvf awstats-6.95.tar.gz</fc> |
- | vmdebian3:/usr/local# <fc #9acd32>mv awstats-6.95 awstats</fc> | + | /usr/local# <fc #008000>mv awstats-6.95 awstats</fc> |
- | vmdebian3:/usr/local# <fc #9acd32>cd awstats</fc> | + | /usr/local# <fc #008000>cd awstats</fc> |
- | vmdebian3:/usr/local/awstats# <fc #9acd32>ls</fc> | + | /usr/local/awstats# <fc #008000>ls</fc> |
docs README.TXT tools wwwroot | docs README.TXT tools wwwroot | ||
</xterm> | </xterm> | ||
Zeile 36: | Zeile 36: | ||
<xterm> | <xterm> | ||
- | vmdebian3:/usr/local# <fc #9acd32>aptitude install libgeo-ipfree-perl</fc> | + | /usr/local# <fc #008000>aptitude install libgeo-ipfree-perl</fc> |
</xterm> | </xterm> | ||
Zeile 43: | Zeile 43: | ||
<fc #800000>**Awstats:**</fc> | <fc #800000>**Awstats:**</fc> | ||
- | Erstellen Sie eine Awstats-Konfigurationsdatei durch ausführen des Skripts <fc #008000>/usr/local/awstats/tools/awstats_configure.pl</fc>. Es werden einige Informationen abgefragt, die für meine Installation relevanten Eongaben sind Gelb markiert. | + | Erstellen Sie eine Awstats-Konfigurationsdatei durch Ausführen des Skripts <fc #008000>/usr/local/awstats/tools/awstats_configure.pl</fc>. Es werden einige Informationen abgefragt, die für meine Installation relevanten Eingaben sind <fc #000080>Blau</fc> markiert. |
<xterm> | <xterm> | ||
- | vmdebian3:/usr/local# <fc #9acd32>cd /usr/local/awstats/tools/</fc> | + | /usr/local# <fc #008000>cd /usr/local/awstats/tools/</fc> |
- | vmdebian3:/usr/local/awstats/tools# <fc #9acd32>perl awstats_configure.pl</fc> | + | /usr/local/awstats/tools# <fc #008000>perl awstats_configure.pl</fc> |
----- AWStats awstats_configure 1.0 (build 1.8) (c) Laurent Destailleur ----- | ----- AWStats awstats_configure 1.0 (build 1.8) (c) Laurent Destailleur ----- | ||
Zeile 70: | Zeile 70: | ||
Example: c:\Program files\apache group\apache\conf\httpd.conf | Example: c:\Program files\apache group\apache\conf\httpd.conf | ||
Config file path ('none' to skip web server setup): | Config file path ('none' to skip web server setup): | ||
- | > <fc #ffff00>/etc/apache2/httpd.conf</fc> | + | > <fc #0000FF>/etc/apache2/httpd.conf</fc> |
-----> Check and complete web server config file '/etc/apache2/httpd.conf' | -----> Check and complete web server config file '/etc/apache2/httpd.conf' | ||
Zeile 85: | Zeile 85: | ||
-----> Need to create a new config file ? | -----> Need to create a new config file ? | ||
Do you want me to build a new AWStats config/profile | Do you want me to build a new AWStats config/profile | ||
- | file (required if first install) [y/N] ? <fc #ffff00>y</fc> | + | file (required if first install) [y/N] ? <fc #0000FF>y</fc> |
-----> Define config file name to create | -----> Define config file name to create | ||
Zeile 92: | Zeile 92: | ||
Example: demo | Example: demo | ||
Your web site, virtual server or profile name: | Your web site, virtual server or profile name: | ||
- | > <fc #ffff00><nowiki>www.sample-1.com</nowiki></fc> | + | > <fc #0000FF><nowiki>www.sample-1.com</nowiki></fc> |
-----> Define config file path | -----> Define config file path | ||
Zeile 117: | Zeile 117: | ||
<xterm> | <xterm> | ||
- | vmdebian3:/usr/local/awstats# <fc #9acd32>cd /etc/awstats/</fc> | + | /usr/local/awstats# <fc #008000>cd /etc/awstats/</fc> |
- | vmdebian3:/etc/awstats# ls -l | + | /etc/awstats# ls -l |
insgesamt 64 | insgesamt 64 | ||
- | -rw-r--r-- 1 root root 61006 25. Apr 19:34 <fc #ffff00><nowiki>awstats.www.sample-1.com.conf</nowiki></fc> | + | -rw-r--r-- 1 root root 61006 25. Apr 19:34 <fc #0000FF><nowiki>awstats.www.sample-1.com.conf</nowiki></fc></xterm> |
- | vmdebian3:/etc/awstats# <fc #9acd32>mkdir /var/lib/awstats</fc> | + | |
+ | <xterm>/etc/awstats# <fc #008000>mkdir /var/lib/awstats</fc> | ||
</xterm> | </xterm> | ||
Zeile 134: | Zeile 135: | ||
LoadPlugin="geoipfree" | LoadPlugin="geoipfree" | ||
</code> | </code> | ||
- | \\ \\ | + | |
<fc #800000>**Apache:**</fc> | <fc #800000>**Apache:**</fc> | ||
Zeile 157: | Zeile 158: | ||
<xterm> | <xterm> | ||
- | vmdebian3:/usr/local/awstats# <fc #9acd32>/etc/init.d/apache2 reload</fc> | + | vmdebian3:/usr/local/awstats# <fc #008000>/etc/init.d/apache2 reload</fc> |
Reloading web server config: apache2. | Reloading web server config: apache2. | ||
</xterm> | </xterm> |