How To Install LogAnalyzer on Centos 8

In this tutorial, we will show you how to install LogAnalyzer on CentOS 8. For those of you who didn’t know, Adiscon LogAnalyzer is a web interface to Syslog/Rsyslog and other network event data. Although, it provides easy browsing, analysis of real-time network events, and reporting services.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you through the step by step install Adiscon LogAnalyzer on CentOS 8 system.

Install LogAnalyzer on Centos 8

Step 1. First, let’s start by ensuring your system is up-to-date.

Step 2. Installing Apache on CentOS 8.

We will be installing Apache with dnf, which is the default package manager for CentOS 8:

After installing Apache services on your system, start all required services:

Then, allow Apache HTTP server via the firewall:

You can verify that Apache is really running by opening your favorite web browser and entering the URL http://your-server’s-address.

Install LogAnalyzer on Centos 8

Step 3. Installing MariaDB on CentOS 8.

MariaDB is a drop-in replacement for MySQL. It is a robust, scalable, and reliable SQL server that comes a rich set of enhancements. We will also be using yum to install MariaDB:

By default, MariaDB is not hardened. You can secure MariaDB using the mysql_secure_installation script. you should read and below each step carefully which will set a root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MariaDB:

Then, restart the MariaDB database server and enable it to start on system start-up using:

Next, import the default database scheme offered by rsyslog using the below command:

Let’s verify if the Syslog database was imported correctly and create a new user:

Step 4. Configure Rsyslog Server.

Now we need to configure the Rsyslog server to accept Syslog from remote servers:

Save and restart the rsyslog service:

Step 5. Install LogAnalyzer.

First, go to the official Adiscon Loganlayzer website and download the last version:

Next, create the LogAnalyzer web directory:

After that, copy the installation files into the LogAnalyzer directory using the following commands:

Then, create a blank configuration file named config.php in LogAnalyzer directory and configure the correct Apache Selinux context using the following commands:

Step 6. Accessing Adiscon LogAnalyzer.

Now open your browser and surf to http://your-ip-address/loganalyzer and complete the required steps to finish the installation.

Congratulations! You have successfully installed LogAnalyzer on CentOS 8. Thanks for using this tutorial for installing Adiscon LogAnalyzer on CentOS 8 systems. For additional help or useful information, we recommend you to check the official LogAnalyzer website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!