![]() ![]() With Apache installed and the CGI module enabled I am ready to install AWStats and its pre-requisite PERL programming language. The first line HTTP/1.1 200 OK shows that Apache server is up and running. Now when you access the url /awstats/awstats. Curl with the -I options only shows all the headers. Restart apache for the config to take effect. In case your apache server has /cgi-bin/ configured, it may make /cgi-bin/ accessible. Note that we added cgi-bin/ also in above config. $ sudo htpasswd -c /etc/auth_awstats awstatsĪdd the following config in nf to enable http basic auth: Run the following command to install Apache from the default Ubuntu repository. We’ll create user awstats in file /etc/auth_awstats with desired password. Installing AWStats on Ubuntu 18.04 with Apache First, you need to install Apache web server. Open a terminal window (or log into your Ubuntu machine) and issue the following command: sudo apt install awstats libgeo-ip-perl. Activate the plugin through the Plugins menu in WordPress Go to AWStats Report Installer Dashboard page anf follow the. I havent kept up with AWStats for a couple of years, but still have some installs sticking around. Now visit your awstats site at the url /awstats/. The installation of AWStats is actually quite simple. Now check the config syntax and if everything is fine, then restart apache. Replace ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ in nf with the following line. $ sudo cp /usr/share/doc/awstats/examples/nf /etc/apache2/conf-enabled/nf ![]() Not setup apache conf by copying and editing sample apache conf present in awstats package. rw-rw-r- 1 www-data www-data 7014 Nov 27 17:10 dnscachelastupdate.hash Since cron runs every 10 min, wait for few minutes (max 10 minutes) and you should be able to see data files in /var/lib/awstats/ Here are steps to install AWStats on Ubuntu Linux: Install AWStats package on Ubuntu Linux sudo apt-get install awstats To see files in package awstats: dpkg -L awstats AWStats configuration Edit awstats config file at location /etc/awstats/ using sudo. To view the cron entries, run the following:ġ0 03 * * * You may want to change MAILTO value to you email address. LogFile="/var/log/apache2/access_log.%YYYY-0-%MM-0-%DD-0"Īs part of the package installation AWStats also installs cron which runs as www-data to populate data in /var/lib/awstats/. Depending upon you log file name and domain name change the value of LogFile and SiteDomain. Install awstats Using apt-get Update apt database with apt-get using the following command. In the following sections we will describe each method. Here are steps to install AWStats on Ubuntu Linux: Install AWStats package on Ubuntu LinuxĮdit awstats config file at location /etc/awstats/ using sudo. There are three ways to install awstats on Ubuntu 20.04. Using AWStats, you can view various stats 404, etc. To use the AWStats traffic statistics for a domain, click "View" for the domain that you wish to view.Ī new interface will appear that displays the AWStats traffic statistics for that domain name.AWStats is a powerful and featureful tool to analyze apache access logs. AWStats updates every 24 hours and can be updated instantly when you click the Update Now button. ![]() AWStats is one of the more popular programs. is using cPanel's built-in statistic reports. AWStats installer will automatically launches the. One way to track how many people visit your website. This tutorial will install AWStats to monitor traffics to Apache web server. There are two website visitor statistics programs available in cPanel. They collect the data the web server log files and display the information in easy to read graphs and lists. Data is graphically presented in easy a easy to read format.Īll statistics programs work basically the same. "Advanced Web Statistics" is a powerful log analyzer which creates advanced web, ftp, mail and streaming website statistics reports. ![]()
0 Comments
Leave a Reply. |