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
- Update your system:
- RHEL 8
- Alma / Oracle Linux 8
- RHEL 9
- Alma / Oracle Linux 9
- Debian 12
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.
dnf update
dnf update
subscription-manager register --username my_username --password my_password --auto-attach --force
subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms
dnf update
apt update && apt upgrade
- Download the script using the following command:
curl -L https://download.centreon.com/24.10/unattended.sh --output /tmp/unattended.sh
- Run the following command as root:
- To specify the password for the default admin account:
bash /tmp/unattended.sh install -t central -v 24.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 24.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
- 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.
- Start using Centreon
Follow our quick start guide to start your monitoring.