How to Install Cacti with Cacti-Spine in Debian and Ubuntu

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

10 Responses

  1. benyamin says:

    Hi, thanks for your helpful article.

    When installing cacti, I go the following errors. Please advise what to do? help me ?

    # yum -y install cacti
    

    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirror.idealhosting.net.tr
    * epel: mirror.ps.kz
    * extras: mirror.idealhosting.net.tr
    * remi-safe: remi.mirrors.arminco.com
    * updates: mirror.ni.net.tr
    * webtatic: uk.repo.webtatic.com
    Resolving Dependencies
    –> Running transaction check
    —> Package cacti.noarch 0:1.1.38-2.el7 will be installed
    –> Processing Dependency: php(language) >= 5.4 for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-zlib for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-xml for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-spl for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-sockets for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-snmp for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-simplexml for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-session for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-reflection for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-posix for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-pdo_mysql for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-pdo for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-pcntl for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-openssl for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-mbstring for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-ldap for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-json for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-intl for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-imap for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-iconv for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-gd for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-filter for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-dom for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-date for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: php-ctype for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: httpd for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: /usr/bin/php for package: cacti-1.1.38-2.el7.noarch
    –> Processing Dependency: /usr/bin/php for package: cacti-1.1.38-2.el7.noarch
    –> Finished Dependency Resolution
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-iconv
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-spl
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-pdo_mysql
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-json
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-intl
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-posix
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-snmp
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-filter
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-openssl
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-xml
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-sockets
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-session
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-mbstring
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-simplexml
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-imap
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-reflection
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-ctype
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-pdo
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php(language) >= 5.4
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: /usr/bin/php
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-ldap
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-gd
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-pcntl
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: httpd
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-zlib
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-date
    Error: Package: cacti-1.1.38-2.el7.noarch (epel)
    Requires: php-dom
    You could try using –skip-broken to work around the problem
    You could try running: rpm -Va –nofiles –nodigest

  2. Salim says:

    Hello I have an error during installation: Please update config.php with the correct relative URI location of Cacti (url_path). How to fix

  3. Breno de Almeida Rodrigues says:

    Thank you very much, Matei.
    Not wanting to abuse, do you have some tutorial to install the Cacti Monitor and Wethermap plugins?

  4. Matei Cezar says:

    You should check Apache error log file to debug the problem.

  5. Kazishe Zimbo says:

    Hi Matei,

    Many thanks for this article, very helpful. Please help me step 21 (Preinstalltion checks) on my installation comes back with a blank page and nothing happens, no error message that I could see. What could I have done wrong? Did I miss some stage or step? Would be grateful for your help.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.