{"id":264,"date":"2007-01-25T17:55:51","date_gmt":"2007-01-25T17:55:51","guid":{"rendered":"https:\/\/bodhost.com\/kb\/\/web-hosting\/index.php\/2007\/01\/25\/ubuntu-server-desktop-monitoring-with-cacti\/"},"modified":"2026-02-26T14:04:58","modified_gmt":"2026-02-26T14:04:58","slug":"ubuntu-server-desktop-monitoring-with-cacti","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/ubuntu-server-desktop-monitoring-with-cacti\/","title":{"rendered":"Ubuntu Server \/ Desktop Monitoring With Cacti"},"content":{"rendered":"\r\n<p>Ubuntu Servers<\/p>\r\n\r\n\r\n\r\n<p><strong>What is Cacti?<br \/><\/strong>It is a solution based on network graphs and was mainly aimed at developing the strength of RRD TOOL Data Storage and its function. It polls fast, and also has an advanced graph template, it can acquire multiple data at the same time and many other user management features. Its interface is very easy to use and helps in the LAN installations upgrade up to various Complex networks with different devices.<\/p>\r\n\r\n\r\n\r\n<p><strong>The following is the installation Cacti from the source code &#8211;<\/strong><\/p>\r\n\r\n\r\n\r\n<ol>\r\n<li>Preparation of Server &#8211;<br \/>\r\n<p>&gt; Apache Web Server Installation along with PHP support in Ubuntu Server.<br \/>&gt; sudo apt-get install apache2 apache2-common apache2-mpm-prefork apache2-utils<br \/>sudo apt-get install libapache2-mod-php4 php4-cli php4-common php4-cgi<\/p>\r\n\r\n\r\n\r\n<p>&gt; For PHP5 support installation. Use the following command<\/p>\r\n\r\n\r\n\r\n<p>sudo apt-get install libapache2-mod-php5 php5-cli php5-common php5-cgi<\/p>\r\n\r\n\r\n\r\n<p>This will install Apache2 webserver<\/p>\r\n<\/li>\r\n<li>MySQL Installation with PHP support &#8211;<br \/>sudo apt-get install mysql-server mysql-client libmysqlclient12-dev<br \/>sudo apt-get install php4-mysql<\/li>\r\n<li>In this case you could also install php5 support, by using the following &#8211;<br \/>sudo apt-get install php5-MySQL<\/li>\r\n<li>To check with other dependancies Installation, please make follow the commands mentioned below &#8211;<br \/>sudo apt-get install make gcc g++<br \/>sudo apt-get install cgilib freetype2 libttf-dev libttf2 libpngwriter0-dev libpng3-dev libfreetype6-dev libart-2.0-dev snmp<\/li>\r\n<li>Installation RRD Tool from Source &#8211;<br \/>\r\n<p>There is a requirement for the download of the latest RRD tool &#8211;<\/p>\r\n\r\n\r\n\r\n<p>sudo cd \/usr\/local\/src\/<br \/>sudo wget http:\/\/people.ee.ethz.ch\/~oetiker\/webtools\/rrdtool\/pub\/rrdtool-1.2.15.tar.gz<br \/>sudo tar xfvz rrdtool-1.2.15.tar.gz<br \/>sudo cd rrdtool-1.2.15<br \/>sudo .\/configure<br \/>sudo make<br \/>sudo make install<\/p>\r\n\r\n\r\n\r\n<p>RRD Tool installation Complete<\/p>\r\n<\/li>\r\n<li>Installation of Cacti from Source &#8211;<br \/>\r\n<p>Download the Latest Version from http:\/\/www.cacti.net\/download_cacti.php to the Apache Web Server document root.<\/p>\r\n\r\n\r\n\r\n<p>The default is \/var\/www\/; the download can be completed if the root path is changed.<\/p>\r\n\r\n\r\n\r\n<p>sudo cd \/var\/www\/<br \/>sudo wget http:\/\/www.cacti.net\/downloads\/cacti-0.8.6i.tar.gz<\/p>\r\n<\/li>\r\n<li>Extraction of Tarball distribution &#8211;<br \/>sudo tar xzvf cacti-0.8.6i.tar.gz<\/li>\r\n<li>Move to Cacti Directory &#8211;<br \/>sudo mv cacti-0.8.6i cacti<\/li>\r\n<li>To check for the correct permissions granted in Cacti files,<br \/>sudo chown -R www-data:www-data rra\/ log\/<\/li>\r\n<li>In order to import Cacti default database &#8211;<br \/>sudo mysql cacti &lt; cacti.sql<\/li>\r\n<li>Creation of MySQL Username and Password for Cacti<br \/>\r\n<p>sudo mysql &#8211;user=root mysql<\/p>\r\n\r\n\r\n\r\n<p>mysql&gt; GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY \u2019password entered here\u2019;<\/p>\r\n\r\n\r\n\r\n<p>mysql&gt; flush privileges;<\/p>\r\n\r\n\r\n\r\n<p>mysql&gt; exit<\/p>\r\n<\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu Servers What is Cacti?It is a solution based on network graphs and was mainly aimed at developing the strength of RRD TOOL Data Storage and its function. It polls&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/ubuntu-server-desktop-monitoring-with-cacti\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[666],"tags":[1098,1099],"class_list":["post-264","post","type-post","status-publish","format-standard","hentry","category-general","tag-desktop-monitoring-with-cacti","tag-ubuntu-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Ubuntu Server \/ Desktop Monitoring With Cacti<\/title>\n<meta name=\"description\" content=\"In this article you will learn the Ubuntu Server \/ Desktop Monitoring With Cacti. for more details visit bodhost.com\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bodhost.com\/kb\/ubuntu-server-desktop-monitoring-with-cacti\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ubuntu Server \/ Desktop Monitoring With Cacti\" \/>\n<meta property=\"og:description\" content=\"In this article you will learn the Ubuntu Server \/ Desktop Monitoring With Cacti. for more details visit bodhost.com\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/ubuntu-server-desktop-monitoring-with-cacti\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2007-01-25T17:55:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:04:58+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/ubuntu-server-desktop-monitoring-with-cacti\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/ubuntu-server-desktop-monitoring-with-cacti\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/c48414ad1536cea20e85282b0737a9f9\"},\"headline\":\"Ubuntu Server \\\/ Desktop Monitoring With Cacti\",\"datePublished\":\"2007-01-25T17:55:51+00:00\",\"dateModified\":\"2026-02-26T14:04:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/ubuntu-server-desktop-monitoring-with-cacti\\\/\"},\"wordCount\":419,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"keywords\":[\"Desktop Monitoring With Cacti\",\"Ubuntu Server\"],\"articleSection\":[\"General Discussion\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/ubuntu-server-desktop-monitoring-with-cacti\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/ubuntu-server-desktop-monitoring-with-cacti\\\/\",\"name\":\"Ubuntu Server \\\/ Desktop Monitoring With Cacti\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"datePublished\":\"2007-01-25T17:55:51+00:00\",\"dateModified\":\"2026-02-26T14:04:58+00:00\",\"description\":\"In this article you will learn the Ubuntu Server \\\/ Desktop Monitoring With Cacti. for more details visit bodhost.com\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/ubuntu-server-desktop-monitoring-with-cacti\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/ubuntu-server-desktop-monitoring-with-cacti\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/ubuntu-server-desktop-monitoring-with-cacti\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"General Discussion\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/general\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ubuntu Server \\\/ Desktop Monitoring With Cacti\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/c48414ad1536cea20e85282b0737a9f9\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ubuntu Server \/ Desktop Monitoring With Cacti","description":"In this article you will learn the Ubuntu Server \/ Desktop Monitoring With Cacti. for more details visit bodhost.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bodhost.com\/kb\/ubuntu-server-desktop-monitoring-with-cacti\/","og_locale":"en_US","og_type":"article","og_title":"Ubuntu Server \/ Desktop Monitoring With Cacti","og_description":"In this article you will learn the Ubuntu Server \/ Desktop Monitoring With Cacti. for more details visit bodhost.com","og_url":"https:\/\/www.bodhost.com\/kb\/ubuntu-server-desktop-monitoring-with-cacti\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2007-01-25T17:55:51+00:00","article_modified_time":"2026-02-26T14:04:58+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/ubuntu-server-desktop-monitoring-with-cacti\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/ubuntu-server-desktop-monitoring-with-cacti\/"},"author":{"name":"admin","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/c48414ad1536cea20e85282b0737a9f9"},"headline":"Ubuntu Server \/ Desktop Monitoring With Cacti","datePublished":"2007-01-25T17:55:51+00:00","dateModified":"2026-02-26T14:04:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/ubuntu-server-desktop-monitoring-with-cacti\/"},"wordCount":419,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"keywords":["Desktop Monitoring With Cacti","Ubuntu Server"],"articleSection":["General Discussion"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/ubuntu-server-desktop-monitoring-with-cacti\/","url":"https:\/\/www.bodhost.com\/kb\/ubuntu-server-desktop-monitoring-with-cacti\/","name":"Ubuntu Server \/ Desktop Monitoring With Cacti","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"datePublished":"2007-01-25T17:55:51+00:00","dateModified":"2026-02-26T14:04:58+00:00","description":"In this article you will learn the Ubuntu Server \/ Desktop Monitoring With Cacti. for more details visit bodhost.com","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/ubuntu-server-desktop-monitoring-with-cacti\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/ubuntu-server-desktop-monitoring-with-cacti\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/ubuntu-server-desktop-monitoring-with-cacti\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"General Discussion","item":"https:\/\/www.bodhost.com\/kb\/category\/general\/"},{"@type":"ListItem","position":2,"name":"Ubuntu Server \/ Desktop Monitoring With Cacti"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/c48414ad1536cea20e85282b0737a9f9","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.bodhost.com\/kb\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/264","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=264"}],"version-history":[{"count":4,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/264\/revisions"}],"predecessor-version":[{"id":12650,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/264\/revisions\/12650"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}