Skip to main content

Using Centreon ISO

If you want to install Centreon on CentOS / Oracle Linux / RHEL distribution in version 8, you must use RPM packages

Prerequisites​

Download the ISO from Centreon's download site.

Step 1: Startup the server​

To install Centreon, start up your server from the Centreon ISO image in version el7. Start up with Install CentOS 7:

image

Step 2: Choose a language​

Choose the language for the installation process and click on Continue:

image

Step 3: Select components​

Click on the Installation Type menu:

image

You have different options to choose from:

image

  • Central with database: Install Centreon (web interface and database), monitoring engine and Broker.
  • Central without database: Install Centreon (web interface only), monitoring engine and Broker.
  • Poller: Install poller (monitoring engine and Broker only).
  • Database: Install database server (if you have already installed a Central server without a database option).

After selecting your installation type, click Done.

Step 4: System configuration​

Configure disk partitioning​

Click on the Installation Destination menu:

image

Select the hard disk drive and the I will configure partitioning option. Then click on Done:

image

Using the + button, create your own partitioning file system following the instructions in prerequisites chapter. Then click on Done:

image

It is recommended to use LVM as the default partitioning scheme.

A confirmation window appears. Click on Accept Changes to validate the partitioning:

image

Configure the timezone​

Click on the Date & Time menu:

image

Select the time zone and then click the gear button to configure the NTP server:

image

Type in the name of the NTP server you wish to use and click the plus button. Or, select one from the list of predefined NTP servers then click OK and then Done:

image

It is okay that you can't enable the β€œnetwork time” option in this screen. It will become enabled automatically when you configure the network and hostname.

Configure the network​

Click on the Network & Hostname menu:

image

Enable all network interfaces by clicking the button in the top right from off to on. Then click on Done:

image

Begin the installation​

Once configuration is complete, click on Begin Installation:

image

Click on Root Password:

image

Define and confirm the root user password. Click on Done:

image

Wait for the installation process to finish. You can also use this time to add additional users to the system if you desire.

image

When the installation is complete, click on Reboot:

image

Server name​

If you want to change the server's name, use the following command:

hostnamectl set-hostname new-server-name

Replace new-server-name by the name you want. Example:

hostnamectl set-hostname central

Update the operating system​

Connect to your server using a terminal, and execute the command:

yum update

Accept all GPG keys if needed.

Then restart your server with the following command:

reboot

Services startup during system bootup​

To make services start automatically during system bootup, run these commands on the central server:

systemctl enable php-fpm httpd24-httpd mariadb centreon cbd centengine gorgoned snmptrapd centreontrapd snmpd

Secure the database​

Since MariaDB 10.5, it is mandatory to secure the database's root access before installing Centreon. Run the following command:

mysql_secure_installation
  • Answer yes to all questions except "Disallow root login remotely?".
  • It is mandatory to set a password for the root user of the database. You will need this password during the web installation.

For more information, please see the official MariaDB documentation.

Web installation​

Conclude installation by performing web installation steps.