

Note: your-system-ip is the IP address of your desktop system from where you want to access AWStats. Save and close the file when you are finished. Replace it with the following line: Require ip your-system-ip Step 6 – Allow AWStats from Remote Machineīy default, the Apache webserver is configured to access AWStats only from the localhost, so you will need to edit nf file to grant access to your IP address. Phase 2 : Now process new records (Flush history on disk after 20000 hosts). Searching new records from beginning of log file. Phase 1 : First bypass old records, searching new record. Save and close the file, then generate your initial statistics from the current Apache logs with the following command: /usr/share/awstats/You should see the following output: Create/Update database for config "/etc/awstats/.conf" by AWStats version 7.8 (build 20200416)įrom data in log file "/var/log/httpd/example_access.log".

Next, edit the configuration file: nano /etc/awstats/.confĭefine your Apache server log file and domain name as shown below: LogFile="/var/log/httpd/example_access.log" To do so, create a copy of the main configuration file to the file that matches your domain name: cp /etc/awstats/ /etc/awstats/.conf
#AWSTATS APACHE INSTALL#
Next, install the AWStats package using the following command: dnf install awstats Step 5 – Configure Awstatsīy default, AWStats generates the Apache configuration file and save it at /etc/httpd/conf.d/nf, so, you will need to create a separate configuration file for your website. Next, install the required Perl modules with the following command: dnf install perl perl-libwww-perl.noarch dnf config-manager -set-enabled ol8_codeready_builder To do so, create an Apache virtual host configuration file: nano /etc/httpd/conf.d/nfĮrrorLog /var/log/httpd/example_error.logĬustomLog /var/log/httpd/example_access.log combinedīy default, the AWStatspackage is not included in the Oracle Linux default repo, so you will need to install the EPEL repo and enable the ol8_codeready_builder repo. Next, you will need to create a website that you want to monitor using AWStats.

Systemctl enable httpd Step 3 – Create a Sample Website to Monitor via AWStats Once the Apache web server is installed, start and enable the Apache service: systemctl start httpd If not installed, you can install it with the following command: dnf install httpd -y
#AWSTATS APACHE UPDATE#
dnf update -y Step 2 – Install Apache Web Serverīefore starting, an Apache web server must be installed on your server. Once you are logged in to your server, run the following command to update your base system with the latest available packages. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page. Create a new server, choosing Oracle Linux 8 as the operating system with at least 2GB RAM. Step 1 – Create Atlantic.Net Cloud Serverįirst, log in to your Atlantic.Net Cloud Server.
#AWSTATS APACHE PASSWORD#
#AWSTATS APACHE HOW TO#
In this post, we will show you how to install AWStats on Oracle Linux 8. AWStats is capable of analyzing lots of web servers including IIS, Weblogic, Webstar, Squid, and mail or FTP servers. It captures your Apache web server logs and can measure visits, unique visitors, authenticated users, pages, domains/countries, and more, displaying them in a graphical format. AWStats, also called “Advanced Web Statistics,” is a powerful, free tool that generates advanced web server graphical statistics.
