Using Centreon ISO
If you want to install Centreon on CentOS / Oracle Linux / RHEL distribution in version 8, you must use RPM packages
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:
Step 2: Choose a language
Choose the language for the installation process and click on Continue:
Step 3: Select components
Click on the Installation Type menu:
You have different options to choose from:
- 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:
Select the hard disk drive and the I will configure partitioning option. Then click on Done:
Using the + button, create your own partitioning file system following the instructions in prerequisites chapter. Then click on Done:
It is recommended to use LVM as the default partitioning scheme.
A confirmation window appears. Click on Accept Changes to validate the partitioning:
Configure the timezone
Click on the Date & Time menu:
Select the time zone and then click the gear button to configure the NTP server:
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:
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:
Enable all network interfaces by clicking the button in the top right from off to on. Then click on Done:
Begin the installation
Once configuration is complete, click on Begin Installation:
Click on Root Password:
Define and confirm the root user password. Click on Done:
Wait for the installation process to finish. You can also use this time to add additional users to the system if you desire.
When the installation is complete, click on Reboot:
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:
Accept all GPG keys if needed.
Then restart your server with the following command:
Services startup during system bootup
To make services start automatically during system bootup, run these commands on the central server:
systemctl enable rh-php73-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:
- 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.
Conclude installation by performing web installation steps.