![]() If you want to get your website stats update every 5min you can use the following command You can now check the stats in your browser by point it to should see similar to the following screen Phase 2 : Now process new records (Flush history on disk after 20000 hosts)… Searching new records from beginning of log file… Phase 1 : First bypass old records, searching new record… With data in log file “/var/log/apache2/access.log”… ![]() Generate stats the first time by using the following command Now you need to configure for domain configuration file located at /etc/awstats/ and change the following parameters save and exit the file Now you can restart apache using the following command Your entry for /awstats-icon/ in the Aliases section should look like:Īlias /awstats-icon/ /usr/share/awstats/icon/ The awstats_ script adds it in the end of nf you need to comment or remove it. Now you need to set up an alias for awstats-icons in nf. This will complete the configuration script setup Need to create new config file type y and press enterĭefine config file path as default one and and press enter Webserver install location type /etc/apache2/nf and press enter When this script starts it will prompt for some configuration questions first one is setup from non standard directory type yes and press enter Perl /usr/share/doc/awstats/examples/awstats_ You need to repeat the configuration process for each domain you want to monitor. Now you need to Run the awstats configure script located at cd /usr/share/doc/awstats/examples/awstats_ to setup awstats for the domain you want to monitor. It can analyze log files from all major server tools like Apache log files (NCSA combined/XLF/ELF log format or common/CLF log format), WebStar, IIS (W3C log format) and a lot of other web, proxy, wap, streaming servers, mail servers and some ftp servers. It uses a partial information file to be able to process large log files, often and quickly. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages. AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically.
0 Comments
Leave a Reply. |