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 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 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. A root password is configured on your server. A server running Oracle Linux 8 on the Atlantic.Net Cloud Platform.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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |