目录
1、下载
官网:AWStats - Open Source Log File Analyzer for advanced statistics (GNU GPL)
wget https://prdownloads.sourceforge.net/awstats/awstats-7.8.tar.gz --no-check-certificate
tar -xzvf awstats-7.8.tar.gz
mv awstats-7.8 /usr/local/
ln -s /usr/local/awstats-7.8/ /usr/local/awstats
chown -R www.www /usr/local/awstats/
2、初始化设置
cd /usr/local/awstats/tools
./awstats_configure.pl
配置参考:
----- AWStats awstats_configure 1.0 (build 20140126) (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/local/awstats-7.8
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] ? y
-----> Check for web server install
Enter full config file path of your Web server.
Example: /etc/httpd/httpd.conf
Ex
AWStats日志分析工具安装与配置指南

本文档详细介绍了如何在Linux系统中安装和配置AWStats日志分析工具,包括下载、初始化设置、编辑配置文件、生成分析日志、通过浏览器访问以及设置安全登录。此外,还解决了可能出现的TooManyOpenFiles问题,提供了调整系统限制的解决方案。
最低0.47元/天 解锁文章
1534

被折叠的 条评论
为什么被折叠?



