Difference between revisions of "Install Cacti on CentOS 5"

From CSLabsWiki
m
m (Install & Configure Prerequisites)
Line 28: Line 28:
 
*Configure iptables to allow Apache traffic
 
*Configure iptables to allow Apache traffic
 
**<code>/sbin/iptables -A INPUT -p tcp --dport 80 -j ACCEPT</code>
 
**<code>/sbin/iptables -A INPUT -p tcp --dport 80 -j ACCEPT</code>
**<code>/sbin/service iptables save</code>
+
**<code>/etc/init.d/iptables save</code>
 
**<code>/etc/init.d/iptables restart</code>
 
**<code>/etc/init.d/iptables restart</code>
   

Revision as of 00:51, 21 April 2010


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
    • /etc/init.d/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.