Centreon 2.4.4 on CentOS 5.9 (clean install, minimal, selinux disabled)
[cc lang='bash']
\$ wget http://yum.centreon.com/standard/2.2/ces-standard.repo -O
/etc/yum.repos.d/ces-standard.repo
\$ cat \<\<'EOF' > /etc/pki/rpm-gpg/RPM-GPG-KEY-CES
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.5 (GNU/Linux)
mQGiBEy28fYRBADHbNta9G3rwLDRdN+v4KjjNVkFWr1AgbjHW8 t1dH3jE/RW99HL
VJFoW1pS29BwZG/LjQiQbHJkn9cqzOxV26LMMAdncfeAiXEBVzQMH1lRBw/LmIQz
QgLcvsldpn04Op0qNl3ZFFZnnKYZsIn16Du1uNqfClOBiceL2l Xvk7k0vwCggd5F
DtRJJvFQycOq/1/M/8ZuXgMD/3jYXLDfPDVRQZMeGN25jcn4o+LhvNOqpeBe7rfF
xSwBi1fwh0lvNqPTR7GXxvtfaYeU9swMZZ/+ZMbPgBJ29mnzpo3yfJrt3fP9WgOe
mgOTBH+96YAHXY+jWxi+Lk1oxQCbdPMbtZ59wz6WCirb0X+89q LvouXPCZzMp/eG
2a77A/9S9sKa6fbX74a24suurN+ZhmZZSEJldh3HoofByoF92Gzv2DKK ZIpFb1GN
qFa8jVt4JVF60N3bn9ir6uxno5ARuSWTVIF+WTvoNMiEdjvWRU 3oLJtJL1luUyLT
Dffb8NEej3e87IEH/4ehA6mv7a6i/7zrY5nDf5zXiqZ3HsGMSbRGQ2VudHJlb24g
RW50ZXJwcmlzZSBTZXJ2ZXIgT2ZmaWNpYWwgU2lnbmluZyBLZX kgPGNlcy1rZXlA
Y2VudHJlb24uY29tPohgBBMRAgAgBQJMtvH2AhsDBgsJCAcDAg QVAggDBBYCAwEC
HgECF4AACgkQ9vxK44p2UrywwQCfSC57qk19N6sBRcbAi+wwbp gmLRQAnAjONYcT
J4DasO87MOFV2oaj7dEpuQINBEy28fwQCAC2W2g5LoyOOOaGKm AvClee2dbLqMj/
b+rdk06FN9avQCg7q45IL1E9j2b4iZayY/DSxB+FZ1bu2vDkci9pMPOdiv/aa+i6
VyFQOO4/LgiNI9siMczf+Uwy5SqOUJNH/6c2Dy+PvYTOqx4F650EnQCVfy1lxMUS
EiWIz21RfnXIJgC4TzJJHr8+hfnORZp44g5PwuA1qgdgRCgbe8 WA+mcKsacC639P
fD4iCLYnruNfMKBxIn9lJCmAlSRRdtnvG8UvUtPcdC3USXWnGm p8IZsJk8fq3Pdb
aQqLj5gifdpfyN9kch+jSGmwOnXBQjoJVahoO/vHYlFPCFS4sFHtQ+ZXAAMFB/94
HBPCobYYfD1sG+LUBxBTOfhAWGF26dIR5GUfuI0e6xdqj6tzUz S9rMznQEWK93pE
QX7fKCzOYnpime85L7YHHDi2Buk69qJnYiB4RJyY1hKloHCOVM bhXxsCBStEphZM
j5irY0igeOPRj/NW/h75l3FWXmU51TdoiBSE5NRKqCkj+8thAKLbA99B3Oo5/jlG
7BHQDyVlYAE1vMXKXjl17B9TnTJITkzERebqoQiVwngWRvgsHB l8QG8Jh43GQty5
NqpkHshLED37V5rbp9EOIY1nugxUpZSUcSSHNvWUk34yL9XGZE 32L0js69MGT0hq
/6pVMNcgBjtJoqo+p1GLiEkEGBECAAkFAky28fwCGwwACgkQ9vx K44p2UryUzwCe
KFbF6AzjpXX4QuXAL2FwkRpaZfEAnAvM8pfjca6BVWlT3bmimK bMYkGP
=+us4
-----END PGP PUBLIC KEY BLOCK-----
EOF
\$ yum install centreon-base-config-nagios centreon -y
\$ yum install centreon-poller-nagios -y
\$ /etc/init.d/httpd start
\$ yum install mysql-server -y
\$ sed -i.bak 's/\[mysqld\]/\[mysqld\]\nbind-address =
127.0.0.1\ninnodb_file_per_table = 1/' /etc/my.cnf
\$ /etc/init.d/mysqld start
\$ mysql_secure_installation
\$ chkconfig httpd on
\$ chkconfig mysqld on
\$ chkconfig snmpd on
\$ chkconfig iptables off
\$ chkconfig ip6tables off
\$ wget
http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
\$ rpm -ivh rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
\$ wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
\$ rpm --import RPM-GPG-KEY.dag.txt
\$ yum install nagios-plugins-nrpe -y
\$ ln -s /usr/lib64/nagios/plugins/check_nrpe /usr/lib/nagios/plugins/
# Warning: This plugin must be either run as root or setuid root.
\$ chown root /usr/lib/nagios/plugins/check_icmp
\$ chmod 4775 /usr/lib/nagios/plugins/check_icmp
\$ sed -i.bak 's/@CENTREON_DB_PASS@/centreon/' /etc/centreon/conf.pm
\$ sed -i.bak 's/nagios,centreon/nagios,centreon,apache/' /etc/sudoers
# setup from web interface, use "centreon" as centreon's mysql password
\$ reboot
[/cc]
http://documentation.centreon.com/docs/centreon/en/latest/installation/from_packages.html