apt-get install awstats
cp /etc/awstats/awstats.conf /etc/awstats/awstats.網址.conf
vi /etc/awstats/awstats.網址.conf
修改log檔路徑
LogFile="/var/log/apache/access.log"
修改
LogFormat=1
例如1代表
# 1 - Apache or Lotus Notes/Domino native combined log format (NCSA combined/XLF/ELF log format)
2代表IIS日志
設定
SiteDomain="網址"
初始化
/usr/lib/cgi-bin/awstats.pl -config=網址
網址
http://網址/cgi-bin/awstats.pl
如果沒有圖
在網頁根目錄下
ln -s /usr/share/awstats/icon/ awstats-icon
設定 crontab
(每8小時跑一次)
0 [...]
awstat安装在UBUNTU8.10
最新推荐文章于 2017-11-12 14:21:00 发布
本文详细介绍如何使用apt-get安装Awstats网站统计分析工具,并通过修改配置文件来指定日志路径、日志格式及站点域名等关键设置。此外,还介绍了如何通过符号链接设置图标路径及如何设置crontab定时任务。
1682

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



