Skip to main content
Version: 22.10

Unattended installation of a central server

To install a central server quicker, you can use a script. This will carry out the full installation procedure, including the web installation.

Installation procedure

  1. Update your system:
dnf update
subscription-manager register --username my_username --password my_password --auto-attach --force
subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms

Replace my_username and my_password with the credentials of your RedHat account.

  1. Download the script using the following command:
curl -L https://download.centreon.com/22.10/unattended.sh --output /tmp/unattended.sh
  1. Run the following command as root:
  • To specify the password for the default admin account:
bash /tmp/unattended.sh install -t central -v 22.10 -r stable -s -p <admin_password> -l DEBUG  2>&1 |tee -a /tmp/unattended-$(date +"%m-%d-%Y-%H%M%S").log
  • To get an autogenerated password for the default admin account (the script will tell you where the password is stored):
bash /tmp/unattended.sh install -t central -v 22.10 -r stable -s -l DEBUG  2>&1 |tee -a /tmp/unattended-$(date +"%m-%d-%Y-%H%M%S").log

In both cases, you will get a full log file with all errors in your tmp folder, named unattended(date).log.

To get help on the script, use the following command: bash unattended.sh -h

  1. Configure Centreon

Log in to the Centreon web interface via the URL http://[SERVER_IP]/centreon where [SERVER_IP] is the real IP address of your server. Once you are logged in, follow the steps described here.

  1. Start using Centreon

Follow our quick start guide to start your monitoring.