![]() Here, we will create a configuration file for the domain.įirst, create a copy of the default AWStats configuration file with your domain name: sudo cp /etc/awstats/ etc/awstats/ You need to create a configuration file for each website for which you wish to view statistics. Restart the Apache service to reload new settings sudo apachectl restart Substitute your own IP address for the sample address 192.168.1.0: Update the following lines as shown below. You can do this by editing the AWStats config file: sudo nano /etc/httpd/conf.d/nf If you need to access AWStats from the network, then you need to update the Allow from and Require with your server's IP address. sudo yum -enablerepo=epel install awstatsīy default AWStats creates an Apache configuration file /etc/httpd/conf.d/nf. This will also install all other required dependencies. Next, install the awstats package using Yum. You can install and enable the EPEL repository by running the following command: sudo rpm -ivh You will need to install the EPEL Yum repository on the server. 7 with Apache installedīy default the AWStats package is not available in the CentOS 7 repository. ![]() In this tutorial, I will explain how to install and configure AWStats on CentOS 7 Requirements It supports most web server log file formats including Apache and IIS. It presents all the information contained your log files in a few easy-to-read web pages. The AWStats log analyzer works as either a CGI program or from the command line. AWStats analyzes server log files and produces HTML reports in a nice graphical display. AWStats is a free (and very useful) web analytics reporting tool which generates advanced web, streaming, FTP, or mail server statistics.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |