<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>NewPush &#187; Cacti</title>
	<atom:link href="http://newpush.com/tag/cacti/feed/" rel="self" type="application/rss+xml" />
	<link>http://newpush.com</link>
	<description>Server Hosting, Data Warehouse Hosting, Collaboration</description>
	<lastBuildDate>Sun, 05 Sep 2010 17:42:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cacti Install on RHEL 5 or CentOS 5</title>
		<link>http://newpush.com/2010/01/cacti-install-on-rhel-5-or-centos-5/</link>
		<comments>http://newpush.com/2010/01/cacti-install-on-rhel-5-or-centos-5/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 19:36:48 +0000</pubDate>
		<dc:creator>Balazs</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Cacti]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[RHEL 5]]></category>

		<guid isPermaLink="false">http://www.wdream.com/?p=459</guid>
		<description><![CDATA[Introduction Cacti is a great tool to graph performance of the various hardware components of a network. With the use of the yum repository manager, it is very simple to install on Red Hat Enterprise Linux 5 or CentOS 5. &#8230; <a href="http://newpush.com/2010/01/cacti-install-on-rhel-5-or-centos-5/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h4>Introduction</h4>
<p><a href="http://www.cacti.net/">Cacti</a> is a great tool to graph performance of the various hardware components of a network.  With the use of the <code>yum</code> repository manager, it is very simple to install on <a href="http://www.redhat.com/">Red Hat Enterprise Linux 5</a> or <a href="http://centos.org/">CentOS 5</a>.</p>
<h4>Install steps</h4>
<ul>
<li>First make sure that you have the <code><a href="http://dag.wieers.com/rpm/">dag</a></code> repository configured in <code>yum</code>.  Edit or create the file <code>/etc/yum.repos.d/dag.repo</code>:<code><br />
[dag]<br />
name=Dag RPM Repository for Red Hat Enterprise Linux<br />
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag<br />
gpgcheck=0<br />
enabled=1<br />
protect=0</code></li>
<li>Now install the required packages:<code><br />
sudo yum install net-snmp mysql mysql-server cacti</code></li>
<li>Edit the /etc/httpd/conf.d/cacti.conf file to allow access to cacti as needed.</li>
<li>Make sure Apache and MySQL are started and set to start automatically:<code><br />
sudo service mysqld start<br />
sudo service httpd start<br />
sudo chkconfig –level 345 mysqld on<br />
sudo chkconfig –level 345 httpd on</code></li>
<li>Set up the cacti database in <a href="http://www.mysql.com/">MySQL</a>:<code><br />
sudo mysqladmin –user=root create cacti<br />
cd /var/www/cacti<br />
sudo mysql cacti < cacti.sql<br />
sudo mysql --user=root mysql<br />
mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY ‘cactiuser’;<br />
mysql> SET PASSWORD FOR cactiuser = PASSWORD('my_super_secret_cacti_password');<br />
mysql> flush privileges;<br />
mysql> exit<br />
sudo mysqladmin –user=root password "my_super_secret_root_password"</code></li>
<li>Setup the cacti poll schedule in /etc/crontab:<code><br />
*/5 * * * * cacti php /var/www/cacti/poller.php > /dev/null 2>&#038;1</code></li>
<li>Run the cacti installer in the browser:<code><br />
http://your.server.com/cacti/index.php</code> provide the user and password for the database, you can accept all defaults and just click next</li>
<li>That is it, you are good to go.</li>
</ul>
<h4>References</h4>
<p><a href="http://blogs.kranich.org/karl/2006/09/14/installing-cacti-on-centos-with-yum/">Installing Cacti on CentOS with yum</a></p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fnewpush.com%2F2010%2F01%2Fcacti-install-on-rhel-5-or-centos-5%2F&amp;partner=sociable" title="Print"><img src="http://newpush.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fnewpush.com%2F2010%2F01%2Fcacti-install-on-rhel-5-or-centos-5%2F&amp;title=Cacti%20Install%20on%20RHEL%205%20or%20CentOS%205&amp;bodytext=Introduction%0ACacti%20is%20a%20great%20tool%20to%20graph%20performance%20of%20the%20various%20hardware%20components%20of%20a%20network.%20%20With%20the%20use%20of%20the%20yum%20repository%20manager%2C%20it%20is%20very%20simple%20to%20install%20on%20Red%20Hat%20Enterprise%20Linux%205%20or%20CentOS%205.%0A%0AInstall%20steps%0A%0A%09First%20make%20" title="Digg"><img src="http://newpush.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fnewpush.com%2F2010%2F01%2Fcacti-install-on-rhel-5-or-centos-5%2F&amp;title=Cacti%20Install%20on%20RHEL%205%20or%20CentOS%205&amp;notes=Introduction%0ACacti%20is%20a%20great%20tool%20to%20graph%20performance%20of%20the%20various%20hardware%20components%20of%20a%20network.%20%20With%20the%20use%20of%20the%20yum%20repository%20manager%2C%20it%20is%20very%20simple%20to%20install%20on%20Red%20Hat%20Enterprise%20Linux%205%20or%20CentOS%205.%0A%0AInstall%20steps%0A%0A%09First%20make%20" title="del.icio.us"><img src="http://newpush.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fnewpush.com%2F2010%2F01%2Fcacti-install-on-rhel-5-or-centos-5%2F&amp;t=Cacti%20Install%20on%20RHEL%205%20or%20CentOS%205" title="Facebook"><img src="http://newpush.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fnewpush.com%2F2010%2F01%2Fcacti-install-on-rhel-5-or-centos-5%2F&amp;title=Cacti%20Install%20on%20RHEL%205%20or%20CentOS%205&amp;annotation=Introduction%0ACacti%20is%20a%20great%20tool%20to%20graph%20performance%20of%20the%20various%20hardware%20components%20of%20a%20network.%20%20With%20the%20use%20of%20the%20yum%20repository%20manager%2C%20it%20is%20very%20simple%20to%20install%20on%20Red%20Hat%20Enterprise%20Linux%205%20or%20CentOS%205.%0A%0AInstall%20steps%0A%0A%09First%20make%20" title="Google Bookmarks"><img src="http://newpush.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a  href="http://blogplay.com" title="Blogplay"><img src="http://newpush.com/wp-content/plugins/sociable/images/blogplay.png" title="Blogplay" alt="Blogplay" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=Cacti%20Install%20on%20RHEL%205%20or%20CentOS%205&amp;body=http%3A%2F%2Fnewpush.com%2F2010%2F01%2Fcacti-install-on-rhel-5-or-centos-5%2F" title="email"><img src="http://newpush.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fnewpush.com%2F2010%2F01%2Fcacti-install-on-rhel-5-or-centos-5%2F&amp;title=Cacti%20Install%20on%20RHEL%205%20or%20CentOS%205&amp;source=NewPush+Server+Hosting%2C+Data+Warehouse+Hosting%2C+Collaboration&amp;summary=Introduction%0ACacti%20is%20a%20great%20tool%20to%20graph%20performance%20of%20the%20various%20hardware%20components%20of%20a%20network.%20%20With%20the%20use%20of%20the%20yum%20repository%20manager%2C%20it%20is%20very%20simple%20to%20install%20on%20Red%20Hat%20Enterprise%20Linux%205%20or%20CentOS%205.%0A%0AInstall%20steps%0A%0A%09First%20make%20" title="LinkedIn"><img src="http://newpush.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fnewpush.com%2F2010%2F01%2Fcacti-install-on-rhel-5-or-centos-5%2F&amp;partner=sociable" title="PDF"><img src="http://newpush.com/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://ping.fm/ref/?link=http%3A%2F%2Fnewpush.com%2F2010%2F01%2Fcacti-install-on-rhel-5-or-centos-5%2F&amp;title=Cacti%20Install%20on%20RHEL%205%20or%20CentOS%205&amp;body=Introduction%0ACacti%20is%20a%20great%20tool%20to%20graph%20performance%20of%20the%20various%20hardware%20components%20of%20a%20network.%20%20With%20the%20use%20of%20the%20yum%20repository%20manager%2C%20it%20is%20very%20simple%20to%20install%20on%20Red%20Hat%20Enterprise%20Linux%205%20or%20CentOS%205.%0A%0AInstall%20steps%0A%0A%09First%20make%20" title="Ping.fm"><img src="http://newpush.com/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://newpush.com/feed/" title="RSS"><img src="http://newpush.com/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Cacti%20Install%20on%20RHEL%205%20or%20CentOS%205&amp;url=http%3A%2F%2Fnewpush.com%2F2010%2F01%2Fcacti-install-on-rhel-5-or-centos-5%2F" title="Slashdot"><img src="http://newpush.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://twitter.com/home?status=Cacti%20Install%20on%20RHEL%205%20or%20CentOS%205%20-%20http%3A%2F%2Fnewpush.com%2F2010%2F01%2Fcacti-install-on-rhel-5-or-centos-5%2F" title="Twitter"><img src="http://newpush.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://newpush.com/2010/01/cacti-install-on-rhel-5-or-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
