{"id":11526,"date":"2019-03-14T10:58:29","date_gmt":"2019-03-14T10:58:29","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=11526"},"modified":"2019-03-14T10:58:29","modified_gmt":"2019-03-14T10:58:29","slug":"linux-dash-monitors-linux-server-performance-remotely-using-web-browser","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/14\/linux-dash-monitors-linux-server-performance-remotely-using-web-browser\/","title":{"rendered":"linux-dash: Monitors \u201cLinux Server Performance\u201d Remotely Using Web Browser"},"content":{"rendered":"<p>If you are looking for a low resource, speedy server statistics monitoring script, look no further than\u00a0<strong>linux-dash<\/strong>. Linux Dash\u2019s claim to popular is its slick and responsive web dashboard that works better on large and small screens.<\/p>\n<div id=\"attachment_6630\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/linux-dash-general1.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-6630\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/linux-dash-general1-618x450.jpeg\" sizes=\"auto, (max-width: 618px) 100vw, 618px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/linux-dash-general1-618x450.jpeg 618w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/linux-dash-general1.jpeg 1006w\" alt=\"Install linux-dash in Linux\" width=\"618\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">linux-dash: Server Monitoring Tool<\/p>\n<\/div>\n<p><strong>linux dash<\/strong>\u00a0is a memory efficient, low resource, easy to install, server statistics monitoring script written in\u00a0<strong>PHP<\/strong>. The web statistics page allows you to drag and drop the various widgets and rearrange the display as you desire. The script displays live statistics of your server, including RAM, CPU, Disk Space, Network Information, Installed Software\u2019s, Running Processes and much more.<\/p>\n<p>Linux Dash\u2019s interface provides information in a organized fashion, which makes us easy to switch between specific sections using buttons in the main toolbar. Linux Dash is not an advanced monitoring tool like\u00a0<a href=\"https:\/\/www.tecmint.com\/linux-performance-monitoring-with-collectl-tool\/\" target=\"_blank\" rel=\"noopener\">Collectl<\/a>or\u00a0<a href=\"https:\/\/www.tecmint.com\/glances-an-advanced-real-time-system-monitoring-tool-for-linux\/\" target=\"_blank\" rel=\"noopener\">Glances<\/a>, but still it\u2019s a good monitoring application for users who are looking for lightweight and easy to deploy.<\/p>\n<h5>linux-dash Demo<\/h5>\n<p>Please have a quick look at the demo page set up by the developer of linux-dash.<\/p>\n<ol>\n<li>Watch Demo at:\u00a0<a href=\"http:\/\/afaq.dreamhosters.com\/linux-dash\/\" target=\"_blank\" rel=\"nofollow noopener\">linux-dash: Server Monitoring<\/a><\/li>\n<\/ol>\n<h4>Linux Dash Features<\/h4>\n<ol>\n<li>A responsive web based interface for monitoring server resources.<\/li>\n<li>A real-time monitoring of CPU, RAM, Disk Usage, Load, Uptime, Users and many more system statistics.<\/li>\n<li>Easy install for servers with Apache\/Nginx + PHP.<\/li>\n<li>Click and drag to re-organize widgets.<\/li>\n<li>Support for wide range of Linux server flavours.<\/li>\n<\/ol>\n<h4>Pre-requisites for Installation<\/h4>\n<ol>\n<li>A Linux server with Apache\/Nginx installed.<\/li>\n<li>A PHP and php-json extension installed.<\/li>\n<li>A unzip utility installed on server.<\/li>\n<li>Optionally, you need htpasswd installed, to password protect the statistics page on your server.<\/li>\n<\/ol>\n<p>After all, you do not want to be displaying your statistics to the whole world, as it is a security risk.<\/p>\n<p><strong>Note<\/strong>: htpasswd is just one of the ways to protect your server. There are others such as denying access to certain IPs for instance. Use whichever way you are comfortable.<\/p>\n<p>However, in this article, I\u2019ve used\u00a0<strong>Apache<\/strong>\u00a0web server to show you how to setup\u00a0<strong>linux-dash<\/strong>\u00a0on Linux servers. I\u2019ve also tested this nifty tool on other browsers such as\u00a0<strong>Firefox<\/strong>,\u00a0<strong>Midori<\/strong>\u00a0and\u00a0<strong>Chrome<\/strong>\u00a0and it works fine.<\/p>\n<h3>Installing \u201clinux-dash\u201d in RedHat and Debian Based Systems<\/h3>\n<p>As I said above, that\u00a0<strong>linux-dash<\/strong>\u00a0is created in\u00a0<strong>PHP<\/strong>\u00a0for Linux with Apache. So, you must have these two packages installed on the server along with php-json module. Let\u2019s install them using package manager tool called yum or apt-get according to your server distribution.<\/p>\n<h4>Step 1: Install Apache, PHP and PHP Modules<\/h4>\n<p>Install on\u00a0<strong>Red Hat<\/strong>\u00a0based systems using\u00a0<strong>yum<\/strong>\u00a0command.<\/p>\n<pre># yum install httpd httpd-tools\r\n# yum install php php-xml php-common php-json\r\n# service httpd start<\/pre>\n<p>Install on\u00a0<strong>Debian<\/strong>\u00a0based systems using\u00a0<strong>apt-get<\/strong>\u00a0command.<\/p>\n<pre># apt-get install apache2 apache2-utils\r\n# apt-get install php5 curl php5-curl php5-json\r\n# service apache2 start<\/pre>\n<h4>Step 2: Download and Install linux-Dash<\/h4>\n<p>Proceed to \u2018<strong>GitHub<\/strong>\u2018 repository, download\u00a0<strong>linux-dash<\/strong>\u00a0and extract contents into a sub-directory called \u2018<strong>linux-dash<\/strong>\u2018 in your Apache public folder (i.e.<strong>\u00a0\/var\/www<\/strong>\u00a0or<strong>\u00a0\/var\/www\/html<\/strong>).<\/p>\n<pre># git clone https:\/\/github.com\/afaqurk\/linux-dash.git<\/pre>\n<h4>Step 3: Monitor Server using linux-dash<\/h4>\n<p>Open your browser and navigate to the folder where you have \u2018<strong>linux-dash<\/strong>\u2018 installed. On mine it is<strong>http:\/\/localhost\/linux-dash<\/strong>.<\/p>\n<p>The following are some screenshots of linux-dash dashboard taken from my<strong>\u00a0CentOS 6.5<\/strong>\u00a0server.<\/p>\n<h5>General Info<\/h5>\n<div id=\"attachment_6622\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/linux-dash-general.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-6622\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/linux-dash-general-618x450.jpeg\" sizes=\"auto, (max-width: 618px) 100vw, 618px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/linux-dash-general-618x450.jpeg 618w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/linux-dash-general.jpeg 1006w\" alt=\"General Information\" width=\"618\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">General Information<\/p>\n<\/div>\n<h5>Disk Usage<\/h5>\n<div id=\"attachment_6623\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/Disk-Monitoring.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-6623\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/Disk-Monitoring-620x450.jpeg\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/Disk-Monitoring-620x450.jpeg 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/Disk-Monitoring.jpeg 1004w\" alt=\"Disk Monitoring\" width=\"620\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Disk Monitoring<\/p>\n<\/div>\n<h5>CPU Usage<\/h5>\n<div id=\"attachment_6624\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/Process-Monitoring.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-6624\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/Process-Monitoring-617x450.jpeg\" sizes=\"auto, (max-width: 617px) 100vw, 617px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/Process-Monitoring-617x450.jpeg 617w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/Process-Monitoring.jpeg 1005w\" alt=\"CPU and Process Monitoring\" width=\"617\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">CPU and Process Monitoring<\/p>\n<\/div>\n<h5>RAM Usage<\/h5>\n<div id=\"attachment_6625\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/RAM-Usage.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-6625\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/RAM-Usage-614x450.jpeg\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/RAM-Usage-614x450.jpeg 614w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/RAM-Usage.jpeg 1003w\" alt=\"RAM Utilization\" width=\"614\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">RAM Utilization<\/p>\n<\/div>\n<h5>Users<\/h5>\n<div id=\"attachment_6626\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/Users.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-6626\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/Users-615x450.jpeg\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/Users-615x450.jpeg 615w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/Users.jpeg 1009w\" alt=\"Users Information\" width=\"615\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Users Information<\/p>\n<\/div>\n<h5>Network Statistics<\/h5>\n<div id=\"attachment_6627\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/Network.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-6627\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/Network-616x450.jpeg\" sizes=\"auto, (max-width: 616px) 100vw, 616px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/Network-616x450.jpeg 616w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/Network.jpeg 1006w\" alt=\"Network Statistics\" width=\"616\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Network Statistics<\/p>\n<\/div>\n<h5>Full linux-dash Preview<\/h5>\n<div id=\"attachment_6628\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/linux-dash-Server-Monitoring-Web-Dashboard.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-6628\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/linux-dash-Server-Monitoring-Web-Dashboard-352x450.png\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/linux-dash-Server-Monitoring-Web-Dashboard-352x450.png 352w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/linux-dash-Server-Monitoring-Web-Dashboard-802x1024.png 802w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/linux-dash-Server-Monitoring-Web-Dashboard.png 1425w\" alt=\"Server Monitoring Web Dashboard\" width=\"352\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Server Monitoring Web Dashboard<\/p>\n<\/div>\n<h4>Step 4: Password Protect linux-dash<\/h4>\n<p>To password protect your statistics page, you need to generate an \u2018<strong>.htaccess\u2019<\/strong>\u00a0and \u2018<strong>.htpasswd<\/strong>\u2018 file. The following command will create a user \u2018<strong>admin<\/strong>\u2018, sets password \u2018<strong>admin123<\/strong>\u2018 and creates new \u2018<strong>htpasswd<\/strong>\u2018 file under \u2018<strong>\/var<\/strong>\u2018 folder.<\/p>\n<pre># htpasswd -c \/var\/.htpasswd admin admin123<\/pre>\n<p><strong>Note<\/strong>: The \u2018<strong>htpasswd<\/strong>\u2018 file stores the user \u2018<strong>admin<\/strong>\u2018 password in encrypted format and this file should be placed in a non public folder to protect from viewing in the browser.<\/p>\n<p>Now create a \u2018<strong>.htaccess<\/strong>\u2018 file under \u2018<strong>linux-dash<\/strong>\u2018 directory and add the following content to it. Save and close the file.<\/p>\n<pre>AuthName \"Restricted Area\" \r\nAuthType Basic \r\nAuthUserFile \/var\/.htpasswd \r\nAuthGroupFile \/dev\/null \r\nrequire valid-user<\/pre>\n<p>Clear your browser\u2019s cache. The next time you navigate to the statistics page, you will be greeted with a login prompt. Login with the username and password you used in the<strong>\u00a0htpasswd<\/strong>\u00a0command.<\/p>\n<div id=\"attachment_6629\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/linux-dash-password-protect.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-6629\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/linux-dash-password-protect-617x450.jpeg\" sizes=\"auto, (max-width: 617px) 100vw, 617px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/linux-dash-password-protect-617x450.jpeg 617w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/04\/linux-dash-password-protect.jpeg 1007w\" alt=\"Password Protect linux-dash\" width=\"617\" height=\"450\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Password Protect linux-dash<\/p>\n<\/div>\n<h3>Reference Links<\/h3>\n<p><a href=\"https:\/\/github.com\/afaqurk\/linux-dash\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/github.com\/afaqurk\/linux-dash<\/a><\/p>\n<p>Enjoy your low resource, server statistics monitoring application.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/monitors-linux-server-performance-remotely-using-web-browser\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are looking for a low resource, speedy server statistics monitoring script, look no further than\u00a0linux-dash. Linux Dash\u2019s claim to popular is its slick and responsive web dashboard that works better on large and small screens. linux-dash: Server Monitoring Tool linux dash\u00a0is a memory efficient, low resource, easy to install, server statistics monitoring script &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/14\/linux-dash-monitors-linux-server-performance-remotely-using-web-browser\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;linux-dash: Monitors \u201cLinux Server Performance\u201d Remotely Using Web Browser&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11526","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=11526"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11526\/revisions"}],"predecessor-version":[{"id":11527,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11526\/revisions\/11527"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=11526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=11526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=11526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}