![]() ![]() Now we we need to set up the webmin Awstat module. AWSTATS INSTALL PASSWORDIn this way, you must enter the user and password to open the web page. Servers -> Apache Webserver -> existing virtual host Click to open your website (earth icon), edit directive Cut and paste the following 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 AWSTATS INSTALL INSTALLIf 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. Usually everyone is always curious about how many people come to their website, ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |