-----> 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.'
Config file /etc/awstats/awstats. created.
-----> Create config file '/etc/awstats/awstats.'
Config file /etc/awstats/awstats. created.
-----> Restart Web server with '/sbin/service httpd restart'
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
-----> 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.linuxidc.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中单独增加 /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=www.linuxidc.com来定期刷新域: 域的日志统计,也可以使用/usr/local/awstats/tools/awstats_updateall.pl now 来刷新 所有域的(/etc/awstats下)的统计
问题解决
01.问题1:Error: Failed to open '/root/wwwroot/cgi-bin/awstats.model.conf' for read.
02.解决:进入awstats程序目录,本例为:/usr/local/awstats ,然后在运行perl /usr/local/awstats/tools/awstats_configure.pl