Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Howto – Centos 5 64bit Pandora Easy Installation

  • Howto – Centos 5 64bit Pandora Easy Installation

    Posted by andrea-consadori on April 8, 2011 at 18:09

    Hi, this is my fist Guide on Pandora and i want to share an easy metod to install Pandora FMS on Centos 5 64 bit.

    First if you use a server without gui interface install openssh server to manage from remote
    yum install openssh mysql-server

    then install dependencies
    yum install php php-gd graphviz php-mysql php-pear-DB  php-mbstring php-ldap php-snmp php-ldap php-common

    yum install perl-HTML-Tree perl-DBI perl-DBD-mysql perl-XML-Simple perl-XML-SAX perl-NetAddr-IP net-snmp net-tools nmap wmic sudo xprobe net-snmp-utils

    and if you want to switch management interface from http to https
    yum install mod_ssl

    now we came to Centos php 5.2.0 issue

    create a new repo like that
    /etc/yum.repos.d/CentOS-Testing.repo

    # CentOS-Testing:
    # !!!! CAUTION !!!!
    # This repository is a proving grounds for packages on their way to CentOSPlus and CentOS Extras.
    # They may or may not replace core CentOS packages, and are not guaranteed to function properly.
    # These packages build and install, but are waiting for feedback from testers as to
    # functionality and stability. Packages in this repository will come and go during the
    # development period, so it should not be left enabled or used on production systems without due
    # consideration.
    [c5-testing]
    name=CentOS-5 Testing
    baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
    enabled=1
    gpgcheck=1
    gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
    includepkgs=php*
    

    then check with “rpm -qa |grep php” if you have php packet installed, if so remote before continue

    then execute “yum update php” to install php5.2.0 on centos

    and restart web server “service httpd restart

    fix the last dependancy with “yum install xorg-x11-fonts-75dpi xorg-x11-fonts-misc

    now create another repo
    vi /etc/yum.repos.d/graphwiz.repo

    [graphviz-stable]
    name=Graphviz - RHEL $releasever - $basearch
    baseurl=http://www.graphviz.org/pub/graphviz/stable/redhat/el$releasever/$basearch/os/
    enabled=1
    gpgcheck=0
    
    [graphviz-stable-source]
    name=Graphviz - RHEL $releasever - Source
    baseurl=http://www.graphviz.org/pub/graphviz/stable/SRPMS/
    enabled=0
    gpgcheck=0
    
    [graphviz-stable-debuginfo] 
    name=Graphviz - RHEL - Debug 
    baseurl=http://www.graphviz.org/pub/graphviz/stable/redhat/el$releasever/$basearch/debug/
    enabled=0 
    
    gpgcheck=0 
    
    [graphviz-snapshot]
    name=Graphviz - RHEL $releasever - $basearch
    baseurl=http://www.graphviz.org/pub/graphviz/development/redhat/el$releasever/$basearch/os/
    enabled=0
    gpgcheck=0
    
    [graphviz-snapshot-source]
    name=Graphviz - RHEL $releasever - Source
    baseurl=http://www.graphviz.org/pub/graphviz/development/SRPMS/
    enabled=0
    gpgcheck=0
    
    [graphviz-snapshot-debuginfo] 
    name=Graphviz - RHEL - Debug 
    baseurl=http://www.graphviz.org/pub/graphviz/development/redhat/el$releasever/$basearch/debug/
    enabled=0 
    gpgcheck=0 
    
    

    and install with yum install graphviz

    now we’re ready to install pandora-console

    rpm -i pandora_console*.rpm

    then install yum install popt

    and download wmic client and install it

    wget ftp://195.220.108.108/linux/sourceforge/p/project/pa/pandora/Tools%20and%20dependencies%20(All%20versions)/RPM%20CentOS,%20RHEL/wmic-4.0.0SVN-2.1.el5.centos.noarch.rpm

    now you’re able to install pandora_server

    rpm -i pandorafms_server-*.noarch.rpm 

    et woilla

    Pandora FMS Server configuration is /etc/pandora/pandora_server.conf
    Pandora FMS Server main directory is /usr/share/pandora_server/
    The manual can be reached at: man pandora or man pandora_server
    Pandora FMS Documentation is in: http://pandorafms.org

    Don’t forget to start Tentacle Server daemon if you want to receive
    data using tentacle

                   

    a last command and we’re ready

    chkconfig httpd on && chkconfig mysqld on && chkconfig pandora_server on && chkconfig tentacle_serverd on

    andrea-consadori replied 13 years, 10 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.