xinghe0 发表于 2019-1-30 08:00:25

使用 awstats 分析 Nginx 的访问日志

----> Add update process inside a scheduler  
Sorry, configure.pl does not support automatic add to cron yet.
  
You can do it manually by adding the following command to your cron:
  
/usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=www.moabc.net
  
#回头把该命令填入crontab 按指定时间执行
  
Or if you have several config files and prefer having only one command:
  
/usr/local/awstats/tools/awstats_updateall.pl now
  
Press ENTER to continue...回车继续
  
A SIMPLE config file has been created: /etc/awstats/awstats.www.moabc.net.conf
  
#新配置文件所在的路径
  
You should have a look inside to check and change manually main parameters.
  
You can then manually update your statistics for 'www.moabc.net' with command:
  
> perl awstats.pl -update -config=www.moabc.net
  
You can also build static report pages for 'www.moabc.net' with command:
  
> perl awstats.pl -output=pagetype -config=www.moabc.net
  
Press ENTER to finish...
  



页: [1]
查看完整版本: 使用 awstats 分析 Nginx 的访问日志