We're here to assist with any of your needs, don't hestitate to reach out.
AWStats is a free and open-source web analytic tool that generates advanced web, streaming, FTP, or mail server statistics. It allows you to analyze your website's visitors, screen resolutions, keywords, browsers used, and more.
Here are the steps to install AWStats on CentOS 7:
sudo yum update
sudo yum install epel-release sudo yum install awstats
sudo cp /etc/awstats/awstats.model.conf /etc/awstats/awstats.example.com.conf sudo nano /etc/awstats/awstats.example.com.conf
Replace "example.com" with your own domain name. Update the following lines with your specific information:
LogFile="/var/log/httpd/access.log" SiteDomain="example.com" HostAliases="www.example.com localhost 127.0.0.1" DirData="/var/lib/awstats"
Save and close the file.
sudo mkdir /var/lib/awstats sudo chown apache:apache /var/lib/awstats
sudo /usr/share/awstats/wwwroot/cgi-bin/awstats.pl -config=example.com -update
sudo nano /etc/httpd/conf.d/awstats.conf
Add the following lines to the file:
Alias /awstatsclasses "/usr/share/awstats/wwwroot/classes/" Alias /awstatscss "/usr/share/awstats/wwwroot/css/" Alias /awstatsicons "/usr/share/awstats/wwwroot/icon/" ScriptAlias /awstats/ "/usr/share/awstats/wwwroot/cgi-bin/" Options None AllowOverride None Require all granted
Save and close the file.
sudo systemctl restart httpd
Now you can access AWStats by visiting http://yourdomain.com/awstats/awstats.pl?config=example.com
in your web browser, replacing "yourdomain.com" with your actual domain name.
AWStats provides you with detailed statistics about your website's visitors, including their geographical location, operating systems, browsers, and more. You can use this information to optimize your website and improve the user experience.
What our customers say about us
Create your free account today.