{"id":184,"date":"2011-12-21T12:28:38","date_gmt":"2011-12-21T18:28:38","guid":{"rendered":"http:\/\/csmartonline.com\/blog\/?p=184"},"modified":"2011-12-27T21:24:27","modified_gmt":"2011-12-28T03:24:27","slug":"installing-ntop-for-clearos","status":"publish","type":"post","link":"http:\/\/csmartonline.com\/blog\/2011\/12\/21\/installing-ntop-for-clearos\/","title":{"rendered":"Installing ntop for ClearOS"},"content":{"rendered":"<p>Installing ntop for ClearOS is trivial. Here&#8217;s what you need to do:<\/p>\n<pre class=\"snippet-code\">\r\n#yum --enablerepo=base-extras install ntop\r\n<\/pre>\n<p>Then set a password:<\/p>\n<pre class=\"snippet-code\">\r\n#ntop -A\r\n<\/pre>\n<p>Lastly, start the service:<\/p>\n<pre class=\"snippet-code\">\r\n#service ntop start\r\n<\/pre>\n<p>If you want to be able to control ntop from the webconfig interface you need to add a line to the &#8216;<strong>Daemon.inc.php<\/strong>&#8216; file:<\/p>\n<pre class=\"snippet-code\">\r\n#vi \/var\/webconfig\/api\/Daemon.inc.php\r\n<\/pre>\n<p>Then paste the following into the array:<\/p>\n<pre class=\"snippet-code\">\r\n\"ntop\"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 =&gt; array(\"ntop\",\u00a0\u00a0\u00a0 \"ntop\",\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"yes\",\u00a0 \"Ntop\",\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"no\",\u00a0 null),\r\n<\/pre>\n<p>After this, you can control it from the webconfig interface or set it to automatically start during start up. If you don&#8217;t want to add it to the webconfig interface but, still want it to automatically start during start up run:<\/p>\n<pre class=\"snippet-code\">\r\n#chkconfig ntop on\r\n<\/pre>\n<p>That&#8217;s it! Congratulations! You have successfully installed ntop for ClearOS!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installing ntop for ClearOS is trivial. Here&#8217;s what you need to do: Then set a password: Lastly, start the service: If you want to be able to control ntop from the webconfig interface you need to add a line to &hellip;<\/p>\n<p class=\"read-more\"><a href=\"http:\/\/csmartonline.com\/blog\/2011\/12\/21\/installing-ntop-for-clearos\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[45,60,67],"class_list":["post-184","post","type-post","status-publish","format-standard","hentry","category-tiptrick","tag-clearos","tag-daemon","tag-ntop"],"_links":{"self":[{"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/posts\/184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/comments?post=184"}],"version-history":[{"count":5,"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/posts\/184\/revisions"}],"predecessor-version":[{"id":226,"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/posts\/184\/revisions\/226"}],"wp:attachment":[{"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/media?parent=184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/categories?post=184"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/tags?post=184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}