{"id":2584,"date":"2016-08-24T16:22:20","date_gmt":"2016-08-24T20:22:20","guid":{"rendered":"https:\/\/www.globo.tech\/learning-center\/?p=2584"},"modified":"2017-11-24T17:38:47","modified_gmt":"2017-11-24T22:38:47","slug":"install-cacti-ubuntu-16","status":"publish","type":"post","link":"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-16\/","title":{"rendered":"How to Install Cacti on Ubuntu 16"},"content":{"rendered":"<h1>How to Install Cacti on Ubuntu 16<\/h1>\n<p>Cacti is a network monitoring tool that uses RRDTool on the backend to store network data in a circular buffer database that constantly rotates out the oldest data so that the database remains the same constant size. Cacti is notable for providing robust graphing tools so that you can visually see all statistics pertaining to your server.<\/p>\n<p>You also have the option of creating users that each have their own collections of data; thus, Cacti is perfect for shared hosting situations where users need access only to their own data.<\/p>\n<p>Cacti is free and open source, being licensed under the GNU General Public License.<\/p>\n<h2>Getting started<\/h2>\n<p>To complete this guide, you will need the following:<br \/>\n\u2022 1 Remote server (<a href=\"https:\/\/www.globo.tech\/cloud-server-pricing\" target=\"_blank\"><b>Cloud Server<\/b><\/a> or <a href=\"http:\/\/www.globo.tech\/dedicated-server-hosting\" target=\"_blank\"><b>Dedicated Server<\/b><\/a>) running Ubuntu 16.<br \/>\n\u2022 All commands should be run as the root user<\/p>\n<h2>Tutorial<\/h2>\n<p>Cacti only supports MySQL 5.6, whereas the current version in the Ubuntu default repository is MySQL 5.7. In order to install this older version of MYSQL, you will need to add this repository and grab it from there.<\/p>\n<p><code>nano \/etc\/apt\/sources.list<br \/>\ndeb http:\/\/archive.ubuntu.com\/ubuntu trusty universe<br \/>\napt-get update<\/code><\/p>\n<p>Now you can install the LAMP stack necessary to run Cacti using MySQL 5.6. You will need this in order to access the data that Cacti provides.<\/p>\n<p><code>apt-get install apache2 mysql-server-5.6 php libapache2-mod-php -y<\/code><\/p>\n<p>Start the web server and MySQL server. Set them to automatically start up on server boot.<\/p>\n<p><code>systemctl start apache2.service<br \/>\nsystemctl enable apache2.service<br \/>\nsystemctl start mysql.service<br \/>\nsystemctl enable mysql.service<\/code><\/p>\n<p>Now that the LAMP stack is settled, you can install the rrdtool and snmp packages. rrdtool stands for Round-Robin Database tool. This is the backend that stores data about your system on a rotating basis. snmp is the Simple Network Management Protocol, used to relay information about your system to suitable applications for network monitoring purposes.<\/p>\n<p><code>apt-get install snmp snmpd rrdtool -y<\/code><\/p>\n<p>Just as with the two servers above, start and then enable the snmpd service to start automatically on boot.<\/p>\n<p><code>systemctl start snmpd.service<br \/>\nsystemctl enable snmpd.service<\/code><\/p>\n<p>Once that&#8217;s done, you can proceed with the installation of Cacti itself.<\/p>\n<p><code>apt-get install cacti cacti-spine -y<\/code><\/p>\n<p>You will be prompted for some information during the installation &#8212; what kind of web server you&#8217;re using, and what you&#8217;d like the username and password for the Cacti database to be.<br \/>\nIn this case, you will choose apache2 as the web server. Pick whichever username and password you&#8217;d like for the Cacti database, but be sure to save it somewhere safe for later reference.<\/p>\n<p>Once the installation process is complete, you will have to restart all services to reflect the changes made.<\/p>\n<p><code>systemctl restart apache2.service<br \/>\nsystemctl restart mysql.service<br \/>\nsystemctl restart snmpd.service<\/code><\/p>\n<p>All that remains is to complete the installation online by going to this URL:<br \/>\nhttp:\/\/your_ip\/cacti<br \/>\nLogin : admin<br \/>\nPassword : admin<\/p>\n<h2>Conclusion<\/h2>\n<p>With Cacti installation complete, you have access to a robust data analysis and management solution that you can use for a variety of applications. Experiment to see how Cacti can aid your monitoring workflow. If you found this article helpful, feel free to share it with your friends and let us know in the comments below!<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>How to Install Cacti on Ubuntu 16 Cacti is a network monitoring tool that uses RRDTool on the backend to store network data in a circular buffer database that constantly rotates out the oldest data so that the database remains the same constant size. Cacti is notable for providing robust graphing tools so that you<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[],"class_list":["post-2584","post","type-post","status-publish","format-standard","hentry","category-database"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install Cacti on Ubuntu 16 - Globo.Tech<\/title>\n<meta name=\"description\" content=\"This tutorial will show you how to install Cacti on your Ubuntu 16 server, giving you a solid monitoring solution based on a reliable server platform.\" \/>\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.globo.tech\/learning-center\/install-cacti-ubuntu-16\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Cacti on Ubuntu 16 - Globo.Tech\" \/>\n<meta property=\"og:description\" content=\"This tutorial will show you how to install Cacti on your Ubuntu 16 server, giving you a solid monitoring solution based on a reliable server platform.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-16\/\" \/>\n<meta property=\"og:site_name\" content=\"Globo.Tech\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-24T20:22:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-11-24T22:38:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"963\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"GloboTech Communications\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"GloboTech Communications\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-16\/\",\"url\":\"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-16\/\",\"name\":\"How to Install Cacti on Ubuntu 16 - Globo.Tech\",\"isPartOf\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#website\"},\"datePublished\":\"2016-08-24T20:22:20+00:00\",\"dateModified\":\"2017-11-24T22:38:47+00:00\",\"author\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87\"},\"description\":\"This tutorial will show you how to install Cacti on your Ubuntu 16 server, giving you a solid monitoring solution based on a reliable server platform.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-16\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-16\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-16\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.globo.tech\/learning-center\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Cacti on Ubuntu 16\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#website\",\"url\":\"https:\/\/www.globo.tech\/learning-center\/\",\"name\":\"Globo.Tech\",\"description\":\"Welcome to the Official Globo.Tech Learning Center\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87\",\"name\":\"GloboTech Communications\",\"sameAs\":[\"http:\/\/www.gtcomm.net\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Cacti on Ubuntu 16 - Globo.Tech","description":"This tutorial will show you how to install Cacti on your Ubuntu 16 server, giving you a solid monitoring solution based on a reliable server platform.","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.globo.tech\/learning-center\/install-cacti-ubuntu-16\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Cacti on Ubuntu 16 - Globo.Tech","og_description":"This tutorial will show you how to install Cacti on your Ubuntu 16 server, giving you a solid monitoring solution based on a reliable server platform.","og_url":"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-16\/","og_site_name":"Globo.Tech","article_published_time":"2016-08-24T20:22:20+00:00","article_modified_time":"2017-11-24T22:38:47+00:00","og_image":[{"width":1920,"height":963,"url":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png","type":"image\/png"}],"author":"GloboTech Communications","twitter_misc":{"Written by":"GloboTech Communications","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-16\/","url":"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-16\/","name":"How to Install Cacti on Ubuntu 16 - Globo.Tech","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/#website"},"datePublished":"2016-08-24T20:22:20+00:00","dateModified":"2017-11-24T22:38:47+00:00","author":{"@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"description":"This tutorial will show you how to install Cacti on your Ubuntu 16 server, giving you a solid monitoring solution based on a reliable server platform.","breadcrumb":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-16\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-16\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.globo.tech\/learning-center\/install-cacti-ubuntu-16\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.globo.tech\/learning-center\/"},{"@type":"ListItem","position":2,"name":"How to Install Cacti on Ubuntu 16"}]},{"@type":"WebSite","@id":"https:\/\/www.globo.tech\/learning-center\/#website","url":"https:\/\/www.globo.tech\/learning-center\/","name":"Globo.Tech","description":"Welcome to the Official Globo.Tech Learning Center","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87","name":"GloboTech Communications","sameAs":["http:\/\/www.gtcomm.net"]}]}},"_links":{"self":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2584","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/comments?post=2584"}],"version-history":[{"count":4,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2584\/revisions"}],"predecessor-version":[{"id":3885,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2584\/revisions\/3885"}],"wp:attachment":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media?parent=2584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/categories?post=2584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/tags?post=2584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}