![]() Update apt database with apt-get using the following command. In the following sections we will describe each method. There are three methods to install awstats on Ubuntu 20.04. Suggests: apache2 | httpd, libnet-dns-perl, libnet-ip-perl, libgeo-ipfree-perl, liburi-perlįilename: pool/main/a/awstats/awstats_7.6+dfsg-2_all.deb Works with several web server log format as a CGI and/or from command line. Information and better graphical charts than webalizer, and is easier to use. Used to find your site, robots, broken links and more. Visits, unique visitors, pages, hits, rush hours, search engines, keywords What is awstatsĪdvanced Web Statistics (AWStats) is a powerful web server logfileĪnalyzer written in perl that shows you all your web statistics including In this tutorial we learn how to install awstats on Ubuntu 20.04. awstats is powerful and featureful web server log analyzer powerful and featureful web server log analyzer Introduction ![]() Note that these statistics are public unless you secure them.Īdd the following code to /etc/crontab for each domain:Ġ */3 * * * /usr/lib/cgi-bin/ -config=yourdomain.In this tutorial we learn how to install awstats on Ubuntu 20.04. Statistics for yourdomain.ext should now be available at:įor if you have multiple config files. I tried crontab -e but I couldn't locate anything related to statistics. Reload apache2: /etc/init.d/apache2 reload I believe the path to the cronjob is not set correctly.Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Otherwise, add this code inside the VirtualHost tag for each domain you want to monitor: Alias /awstatsclasses "/usr/share/awstats/lib/"Īlias /awstats-icon "/usr/share/awstats/icon/"Īlias /awstatscss "/usr/share/doc/awstats/examples/css" If you have no VirtualHosts set up, place the following code in '/etc/apache2/sites-available/default'. Navigate to /etc/apache2/sites-available/ cd /etc/apache2/sites-available/.In order to access Awstats, we have to tell Apache2 where it is. generate the initial stats for AWStats based on existing var/log/apache2/access.log: /usr/lib/cgi-bin/ -config=yourdomain.ext -updateįirst tell your apache to use mod_cgi if you haven't enabled it yet a2enmod cgi.make the following changes: LogFile="/var/log/apache2/access.log" SiteDomain="yourdomain.ext" HostAliases="localhost 127.0.0.1 yourdomain.ext".Open file with vi or nano: vi /etc/awstats/ or nano /etc/awstats/.Create a copy of nf for each domain: cp /etc/awstats/nf /etc/awstats/.Install AWStats with Synaptic or sudo apt-get install awstatsĪwstats configuration files in Ubuntu are located in /etc/awstats. For more help, get XChat and subscribe to channel "#awstats" on the Ubuntu Server. It assumes you already have an Apache2 web server up and running. The following documentation contains specific information on installing and configuring Awstats with Ubuntu and Apache2. 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. When I choose webalizer for the domain, the stats get updated correctly without errors. I tried to remove awstats and install it again, but with the same issue. When I do a manual forced update for one domain, it gives this error. 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. 1 Hi, Since the update, awstats did not update and this month gives a 404 Error (the update was on Oct 26). AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |