Centreon latest stable version was released on the 1st of August. On a server running RHEL 5.8 with the official Centreon repositories, here are the steps to follow. Make sure that you have installed the yum configuration file for CES repository :
root@localhost:~# cat /etc/yum.repos.d/ces-standard.repo
[ces-standard]
name=Centreon Entreprise Server RPM repository for ces $releasever
baseurl=http://yum.centreon.com/standard/stable/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CES
priority=1
[ces-standard-noarch]
name=Centreon Entreprise Server RPM repository for ces $releasever
baseurl=http://yum.centreon.com/standard/stable/noarch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CES
priority=1
[ces-standard-deps]
name=Centreon Entreprise Server dependencies RPM repository for ces $releasever
baseurl=http://yum.centreon.com/standard/stable/dependencies/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CES
priority=1
[ces-standard-deps-noarch]
name=Centreon Entreprise Server dependencies RPM repository for ces $releasever
baseurl=http://yum.centreon.com/standard/stable/dependencies/noarch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CES
priority=1
Stop some Centreon-related services :
root@localhost:~# service ndo2db stop
root@localhost:~#service centstorage stop
root@localhost:~#service centcore stop
Then, run yum update and you will get the list of rpm packages to be upgraded for Centreon :
root@localhost:~#yum update
Dependencies Resolved
=============================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================
Updating:
centreon noarch 2.3.9-4 ces-standard-noarch 7.4 M
centreon-database noarch 2.3.9-4 ces-standard-noarch 59 k
centreon-plugin-meta noarch 2.3.9-4 ces-standard-noarch 8.2 k
centreon-plugins noarch 2.3.9-4 ces-standard-noarch 74 k
dhclient x86_64 12:3.0.5-31.el5_8.1 rhel-5-server-rpms 287 k
initscripts x86_64 8.45.42-1.el5_8.1 rhel-5-server-rpms 1.6 M
sudo x86_64 1.7.2p1-14.el5_8.3 rhel-x86_64-server-5 359 k
Installing for dependencies:
php-pear-Archive-Zip noarch 0.1.2-1 ces-standard-noarch 22 k
Transaction Summary
=============================================================================================================================
Install 1 Package(s)
Upgrade 7 Package(s)
Total 650 kB/s | 9.8 MB 00:15
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : initscripts 1/15
Updating : sudo 2/15
Updating : dhclient 3/15
Updating : centreon-plugins 4/15
Updating : centreon-database 5/15
Installing : php-pear-Archive-Zip 6/15
install ok: channel://pear.php.net/Archive_Zip-0.1.2
Updating : centreon-plugin-meta 7/15
Updating : centreon 8/15
Cleanup : sudo 9/15
Cleanup : centreon-plugins 10/15
Cleanup : centreon-plugin-meta 11/15
Cleanup : initscripts 12/15
Cleanup : centreon 13/15
Cleanup : centreon-database 14/15
Cleanup : dhclient 15/15
rhel-5-server-cf-tools-1-rpms/productid | 1.7 kB 00:00
rhel-5-server-rpms/productid | 1.7 kB 00:00
Installed products updated.
Dependency Installed:
php-pear-Archive-Zip.noarch 0:0.1.2-1
Updated:
centreon.noarch 0:2.3.9-4 centreon-database.noarch 0:2.3.9-4 centreon-plugin-meta.noarch 0:2.3.9-4
centreon-plugins.noarch 0:2.3.9-4 dhclient.x86_64 12:3.0.5-31.el5_8.1 initscripts.x86_64 0:8.45.42-1.el5_8.1
sudo.x86_64 0:1.7.2p1-14.el5_8.3
Complete!
Then, restart the services you stopped just before :
root@localhost:~# service centstorage start
root@localhost:~# service centcore start
root@localhost:~# service ndo2db start
A few steps left before the upgrade is over. Open up Firefox or your favorite browser and type in the URL adress bar : http://localhost/centreon




