q2009a06z22 发表于 2015-9-16 12:52:17

AWStats 分析nginx日志

  none #这里让填写网页服务器的配置文件路径,因为我们用的不是apache,所以这里要填none
  Your web server config file(s) could not be found.
  You will need to setup your web server manually to declare AWStats
  script as a CGI, if you want to build reports dynamically.
  See AWStats setup documentation (file docs/index.html)
  -----> Update model config file '/usr/local/awstats/wwwroot/cgi-bin/awstats.model.conf'
  File awstats.model.conf updated.
  -----> Need to create a new config file ?
  Do you want me to build a new AWStats config/profile
  file (required if first install) ? y #询问是否创建一个新的配置文件,这里填y
  -----> 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:
  www.sunsky.com #这里让填写你的网站域名,虚拟主机名或者随便一个配置名
  -----> 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):
  #这里要填写你配置文件存放路径,我们使用它默认的路径/etc/awstats,所以直接回车即可
  -----> Create config file '/etc/awstats/awstats.www.sunsky.com.conf'
  Config file /etc/awstats/awstats.www.sunsky.com.conf created.
  -----> 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.sunsky.com
  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... #提示不能自动加入crontab定时任务,需要稍后自己添加,我们按回车继续即可
  A SIMPLE config file has been created: /etc/awstats/awstats.www.sunsky.com.conf
  You should have a look inside to check and change manually main parameters.
  You can then manually update your statistics for 'www.sunsky.com' with command:
  perl awstats.pl -update -config=www.sunsky.com
  You can also build static report pages for 'www.sunsky.com' with command:
  perl awstats.pl -output=pagetype -config=www.sunsky.com
  Press ENTER to finish... #提示配置文件创建完成和如何更新配置及建立静态报告页,这里我们回车即可结束这个配置向导
页: [1]
查看完整版本: AWStats 分析nginx日志