1. Home
  2. Knowledge Base
  3. Articles (EN/ES/FR)
  4. How to install the necessary dependencies of Pandora FMS in CentOS?

How to install the necessary dependencies of Pandora FMS in CentOS?

To install Pandora FMS’ dependencies in CentOS we will have to add certain environment variables to our system:

PANDORA_CONSOLE=/var/www/html/pandora_console
CONSOLE_PATH=/var/www/html/pandora_console
PANDORA_SERVER_CONF=/etc/pandora/pandora_server.conf
PANDORA_SERVER_BIN=/usr/bin/pandora_server
PANDORA_HA_BIN=/usr/bin/pandora_ha
PANDORA_TABLES_MIN=160
DBHOST=127.0.0.1
DBNAME=pandora
DBUSER=pandora
DBPASS=pandora
DBPORT=3306

Now we will have to configure the repositories, the commands change depending on the version of the OS:

CentOS 7:

yum install -y \tar \yum-utils \https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum-config-manager --enable remi-php73

CentOS 8:

dnf install -y epel-release tar dnf-utils http://rpms.remirepo.net/enterprise/remi-release-8.rpm
dnf module reset php
dnf module install -y php:remi-7.3
yum config-manager --set-enabled PowerTools

With these repositories we will proceed to install our MySQL Percona server to be able to install the necessary dependencies for each element of Pandora FMS and for each version of S.O.

Here is a link to our wiki for the installation of the dependencies:

https://pandorafms.com/manual/eN/documentation/02_installation/01_installing#package_dependencies

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support