Introduction

FAN 2.0 is based on a minimal CentOS. But it's possible to install all FAN packages under RHEL. This post explain how to install all packages FAN 2.0 under Red Hat Enterprise Server 5.4 32 bits

Mount iso images over loopback device

For example, download FAN-2.0.iso in /tmp

# mkdir -p /mnt/isoFAN
# mount -o loop /tmp/FAN-2.0.iso /mnt/isoFAN

I suppose you have rhel-server-5.4-i386-dvd.iso in /tmp

# mkdir -p /mnt/isoRHEL
# mount -o loop /tmp/rhel-server-5.4-i386-dvd.iso /mnt/isoRHEL

Add a new repository for YUM

# vi /etc/yum.repo.d/myiso.repo
[iso-FAN]
enabled = 1
name = iso FAN
baseurl = file:///mnt/isoFAN
gpgcheck = 0

[iso-RHEL]
enabled = 1
name = iso RHEL
baseurl = file:///mnt/isoRHEL/Server
gpgcheck = 0

Install FAN packages

# yum install php \ 
    rrdtool-php \
    php-ldap \
    rrdtool \
    php-snmp \
    rrdtool-perl \
    rsyslog \
    rsyslog-mysql \
    dokuwiki \
    dokuwiki-fantemplate \
    dokuwiki-fan-documentation \
    dokuwiki-multilingual-plugin \
    wikigenerator \
    radiusclient \
    nagios \
    nagios-plugins \
    nagios-plugins-setuid \
    nagios-ndoutils \
    nagios-nrpe \
    nagios-plugins-nrpe \
    nagios-nsca \
    nagios-nsca-client \
    nagios-compaq-plugins \
    nagios-snmp-plugins \
    nagios-hitachi-plugins \
    nagios-hp-plugins \
    nagios-plugin-postgresql \
    nagios-plugin-check-logfiles \
    nagios-plugin-mysql-health \
    nagvis \
    nareto \
    fan-sendmailcolor \
    pear-centreon \
    centreon \
    centreon-2.0-de_DE \
    centreon-2.0-es_ES \
    centreon-2.0-es_PR \
    centreon-2.0-fr_FR \
    centreon-2.0-nl_NL \
   centreon-2.0-no_NO \
    centreon-2.0-pt_BR \
    centreon-2.0-ru_RU \
    fan-html \
    fan-repo \
    centreon-database \
    nareto-database \
    nagios-ndoutils-database \
    NagVis-Iconset-Big-Folder-Nuvola \
    NagVis-Iconset-Big-HDD \
    NagVis-Iconset-Big-Thermo \
    NagVis-Iconset-Crystal-Folder \
    NagVis-Iconset-Lemon \
    NagVis-Iconset-Medium-HDD \
    NagVis-Iconset-Medium-Thermo \
    NagVis-Iconset-Small-Thermo \
    NagVis-Iconset-Standard-Mini \
    NagVis-Shapes-Server-Dropline \
    NagVis-Shapes-Server-Nuvola \
    nagios-plugins-notify-by-jabber \
    webinject

Post install, run

# chkconfig --level 345 mysqld on
# chkconfig --level 345 snmpd on
# chkconfig --level 12345 rsyslog on

Delete temporaly files

After the installation, delete isoFAN.repo

# rm /etc/yum.repo.d/myiso.repo 
# umount /mnt/isoFAN

Finish

Open your browser and enter the FAN IP's : http://IP_FAN2.0/ For authentification, use login “nagiosadmin” and password “nagiosadmin”.

supervision/how_to_install_fan_2.0_under_rhel_5.4.txt · Dernière modification: 2017/07/07 14:42 (modification externe)
CC Attribution-Noncommercial-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0