Difference between revisions of "Install Cacti on CentOS 5"

From CSLabsWiki
m (removed some packages that don't actually get installed for cacti)
m
Line 43: Line 43:
 
*Try logging into your new Cacti installation by going to <code>http://servername/cacti/</code> and logging in with <code>admin</code> and the password you set.
 
*Try logging into your new Cacti installation by going to <code>http://servername/cacti/</code> and logging in with <code>admin</code> and the password you set.
   
[[Category:How To]]
+
[[Category:How-Tos]]
[[Category:Documentation]]
 

Revision as of 15:34, 17 August 2009


This page summarizes how to perform a basic installation of Cacti on CentOS 5.

Install

Add RPMForge Yum Repository

Install & Configure Prerequisites

  • Install Apache
    • yum install httpd
  • Configure Apache to start on boot
    • /sbin/chkconfig --levels 345 httpd on
  • Configure iptables to allow Apache traffic
    • /sbin/iptables -A INPUT -p tcp --dport 80 -j ACCEPT
    • /sbin/service iptables save
    • /etc/init.d/iptables restart

Install & Configure Cacti

  • Install Cacti
    • yum install


  • Start Apache
    • /etc/init.d/httpd start

Verify Install

  • Try logging into your new Cacti installation by going to http://servername/cacti/ and logging in with admin and the password you set.