#Ll awstats-7.0.tar.gz -RW-r -- 1 Root 1254327 May 23 05:06 awstats-7.0.tar.gz #Tar xf awstats-7.0.tar.gz #Music awstats-7.0/usr/local/AWStats #CD/usr/local/AWStats #Ls Docs readme. txt tools wwwroot #Perl tools/awstats_configure.pl// Configure and install the AWStats Log Analysis Software ----- AWStats awstats_configure 1.0 (build 1.9) (c) Laurent destailleur ----- This tool will help you to configure AWStats to analyze statistics 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. abve 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 'understamp' all possible ways to use AWStats... Read the AWStats documentation (docs/index.html ). -----> Running OS detected: Linux, BSD or Unix -----> Check for Web Server install Enter full config file path of your Web server. Example:/etc/httpd. conf Example:/usr/local/apache2/CONF/httpd. conf Example: C: \ Program Files \ apache group \ apache \ conf \ httpd. conf Config file path ('none' to skip Web Server SETUP ): >/Etc/httpd/CONF/httpd. conf // web master configuration file location -----> Check and complete Web Server Config File '/etc/httpd/CONF/httpd. conf' Add 'Alias/awstatsclasses "/usr/local/AWStats/wwwroot/classes /"' Add 'Alias/awstatscss "/usr/local/AWStats/wwwroot/CSS /"' Add 'Alias/awstatsicons "/usr/local/AWStats/wwwroot/icon /"' Add 'scriptalias/AWStats/"/usr/local/AWStats/wwwroot/cgi-bin /"' Add' <directory> 'ctive ve AWStats directives added to Apache config file. -----> 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/n]?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.sxkeji.com.cn -----> 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 ): > -----> Create Config File '/etc/AWStats/awstats.www.sxkeji.com.cn. conf' Config file/etc/AWStats/awstats.www.sxkeji.com.cn. conf created. -----> Restart web server with '/sbin/service httpd restart' Stop 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.sxkeji.com.cn 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.sxkeji.com.cn. conf You shoshould have a look inside to check and change manually main parameters. You can then manually update your statistics for 'www .sxkeji.com.cn 'with command: > Perl AWStats. pl-Update-Config = www.sxkeji.com.cn You can also read your statistics for 'www .sxkeji.com.cn 'with URL: > Http: // localhost/AWStats. pl? Config = www.sxkeji.com.cn Press enter to finish... #Mkdir/var/lib/AWStats// Create a data directory file |