RHEL 8

PHP 7.2 and MariaDB 10.3

yum -y install curl httpd perl-Compress-Zlib php php-gd php-ldap php-mysqlnd php-pecl-zip php-xml rpm-build policycoreutils haproxy perl php-json mariadb-server mariadb 

rpm -i csi-7.6.1.29-0.el8.x86_64.php7.rpm

For creating MySQL user, see Installing the Software Vulnerability Manager On-Premises Edition in Dual Mode

After setting up DB, modify my.cnf

sql-mode="ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

Restart mariadb service

systemctl restart mariadb.service

After Software Vulnerability Manager is installed, run the command:

cd /usr/local/Secunia/csi/install

You can then execute the installer using the command:

./installationProcess.sh

When the installationProcess.sh is run, it will stop the httpd service, go through the installation/upgrade process, and Software Vulnerability Manager will be unavailable to Agents. Once the installation/upgrade process is complete, it will start the httpd service again.

Disable the sample SSL file and restart httpd to reflect your changes using the commands:

echo "" > /etc/httpd/conf.d/ssl.conf

systemctl restart httpd.service

If you answered yes to using SSL (HTTPS) during the installation, it is necessary to configure the firewall to accept incoming traffic on port 443 by issuing the following commands:

firewall-cmd --zone=public --add-service=https --permanent

firewall-cmd --reload

For further information regarding the setup of SSL, refer to SSL and LDAP Support.

If you answered no to using SSL (HTTPS) during the installation, it is necessary to configure the firewall to accept incoming traffic on port 80 by issuing the following commands:

firewall-cmd --zone=public --add-service=http --permanent

firewall-cmd --reload