

#Cgi bin awstats pl password#
Now add use password function to the apache. It will add a user admin and storage password in /etc/apache2/htpasswd Sudo htpasswd -c /etc/apache2/htpasswd admin
#Cgi bin awstats pl install#
If you don't have setfacl you can install aclĪfter that we need to set password for awstats web page. Then next change the permission of /var/log/apache2/ folder sudo setfacl -R -m "u:www-data:rx" /var/log/apache2/ LogFile="/var/log/apache2/_access.log"Īdd your domain name SiteDomain="HostAliases=" localhost 127.0.0.1"

I changed it with Tools->File manager in webmin,Ĭhange the Logfile to the log files of your domain. conf open to modify, use the command line on Then set up Awstat, first copy the setting template to your website (the red letter needs to change to your domain name) sudo cp /etc/awstats/nf / etc / awstats / awstats. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Remember to change your own domain name in the red letter partĮrrorLog $/_access.log combinedĪlias /awstatsclasses "/usr/share/awstats/lib/"Īlias /awstats-icon/ "/usr/share/awstats/icon/"Īlias /awstatscss "/usr/share/doc/awstats/examples/css" Just click on servers -> Apache Webserver -> existing virtual host to open your website (earth icon),Īfter clicking open, copy and paste the following below the original code. You can use command, I use the webmin graphical interface to change it. The second step is to let apache generate a website-specific log file for awstat to read. Sudo apt install awstats libgeo-ip-perl libgeo-ipfree-perl The first step is to use it first, the command line installs the awstat main program and other necessary programs.

Since we have webmin installed, we can use webmin to do part of it The installation method of Linuxbabe is all command line installation method The following refers to the installation steps of linuxbabe to install awstat first, This module is used after installing Awstat, I thought it was as easy to install as Webalizer. If you want more detailed information, you can consider installing Awstats.Īwstats also provides modules on the webmin website.

The installation is also convenient, just click on the module and select install, it’s pretty simple Then there is an internal modeling group Webalizer in webmin that can basically provide this information. Ps- if you have a choice, "yymmdd" instead of "ddmmyy" is nicer for sorted directory listings.Usually everyone is always curious about how many people come to their website, Of 52%, and maxed out the CPU 10.1% of the Over the period xblade14 had an average load Over the period xblade13 had an average load Though I'd wrap up my logging of loads on Out of curiosity I've restarted my log_cpu.sh 5 minute instrumenting on xblade13 in the last month before the xblades went down I had stopped it and posted the following to the SAC list, but it was a few kb over the size limit so never made it & I never bothered to repost.įyi, before the Projects VM gets well underwayĪnd with the auth delays now sorted out, I In the pre-osuosl days the awstats processes would dominate the xblade13's single cpu for 30min-1 hour each day, which tended to slow everything else down. Minor wish: could the cron job be run nice'd?
