Portál AbcLinuxu, 29. prosince 2025 13:39
český by byl nejlepši..
diky
Tak jsem neco vytvoril, ale delam nekde asi chybu..
0) prihlasil jsem se jako root
1) nainstaloval jsem balicek awstats pomoci apt-get install awstats
2) pak jsem zadal do shellu cd /usr/share/doc/awstats/examples/
3) pak jsem zadal do shellu ./awstats_configure.pl
vypsalo se
----- AWStats awstats_configure 1.0 (build 1.6) (c) Laurent Destailleur -----
This tool will help you to configure AWStats to analyze statistics for
one web server. You can try to use it to let it do all that is possible
in AWStats setup, however following the step by step manual setup
documentation (docs/index.html) is often a better idea. Above all if:
- You are not an administrator user,
- You want to analyze downloaded log files without web server,
- You want to analyze mail or ftp log files instead of web log files,
- You need to analyze load balanced servers log files,
- You want to 'understand' all possible ways to use AWStats...
Read the AWStats documentation (docs/index.html).
-----> Running OS detected: Linux, BSD or Unix
Warning: AWStats standard directory on Linux OS is '/usr/local/awstats'.
If you want to use standard directory, you should first move all content
of AWStats distribution from current directory:
/usr/share/doc/awstats/examples
to standard directory:
/usr/local/awstats
And then, run configure.pl from this location.
Do you want to continue setup from this NON standard directory [yN] ?
4) zadal jsem y
vypsalo se
-----> Check for web server install
Enter full config file path of your Web server.
Example: /etc/httpd/httpd.conf
Example: /usr/local/apache2/conf/httpd.conf
Example: c:\Program files\apache group\apache\conf\httpd.conf
Config file path ('none' to skip web server setup):
>
5) zadal jsem /etc/apache2/apache2.conf
vypsalo se
-----> Check and complete web server config file '/etc/apache2/apache2.conf'
Add 'Alias /awstatsclasses "/usr/share/doc/awstats/examples/wwwroot/classes/"'
Add 'Alias /awstatscss "/usr/share/doc/awstats/examples/wwwroot/css/"'
Add 'Alias /awstatsicons "/usr/share/doc/awstats/examples/wwwroot/icon/"'
Add 'ScriptAlias /awstats/ "/usr/share/doc/awstats/examples/wwwroot/cgi-bin/"'
Add 'Directory' directive
AWStats directives added to Apache config file.
-----> Need to create a new config file ?
Do you want me to build a new AWStats config/profile
file (required if first install) [y/N] ?
6) zadal jsem y
vypsalo se
-----> Define config file name to create
What is the name of your web site or profile analysis ?
Example: www.mysite.com
Example: demo
Your web site, virtual server or profile name:
>
7) zadal jsem nazevmojidomeny.cz
vypsalo se
-----> Define config file path
In which directory do you plan to store your config file(s) ?
Default: /etc/awstats
Directory path to store config file(s) (Enter for default):
>
8) zadal jsem /etc/awstats
vypsalo se
-----> Create config file '/etc/awstats/awstats.nazevmojidomeny.cz.conf'
Error: Failed to open '/usr/share/doc/awstats/examples/wwwroot/cgi-bin/awstats.model.conf' for read.
soubor se nevytvoril
/etc/awstats/awstats.nazevmojidomeny.cz.conf
a tady jsem skoncil,nevim co jsem udelal spatne, distro mam debian 4.0
poradite??
diky moc
Prosim poradte
P.s: Mam debian
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.