0692.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Installing HostMon - Simple Host Monitor and Application Dashboard - on Linux</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Install HostMon On Linux,Run HostMon On Linux,Application Dashboard,HostMon,Linux System Monitoring,Heimdall Alternative,DashMachine Alternative,Homer Alternative,Service Monitoring,Browser Based,System Administration,Debian,Javascript,Express,Host Dashboard,Host Monitor,Install Guide,Linux,NodeJS,Home Lab,Ping,Web Based Tools,WOL,Wake-On-LAN,Web Based,Web Server,Apache Guacamole,Home Lab Ideas,Self-Hosted,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Installing HostMon - Simple Host Monitor and Application Dashboard - on Linux">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="05/12/2022 02:21:46 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Installing HostMon - Simple Host Monitor and Application Dashboard - on Linux</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is HostMon?</h2>
  26. <blockquote>
  27. <p><em>HostMon is a simple web-based host monitor and application dashboard. It can be used to monitor the real-time status of hosts and services running in your homelab environment. In addition to monitoring, HostMon has built-in Wake-On-LAN (WOL) capability, SSH client, real-time ping output and the ability to link to your existing Apache Guacamole installation to remotely control hosts from the within browser.<br />
  28. <br />
  29. The HostMon application is written in javascript and uses a SQLite database backend. -<a href="https://github.com/i12bretro/HostMon" target="_blank">https://github.com/i12bretro/HostMon</a></em></p>
  30. </blockquote>
  31. <ol>
  32. <li>Log into the Linux device</li>
  33. <li>Run the following commands in a terminal window
  34. <div class="codeBlock"># update software repositories<br />
  35. sudo apt update<br />
  36. # install available software updates<br />
  37. sudo apt upgrade -y<br />
  38. # install prerequisites<br />
  39. sudo apt install git curl -y<br />
  40. # add nodejs software repository<br />
  41. curl -sL https://deb.nodesource.com/setup_16.x | sudo bash -<br />
  42. # install nodejs<br />
  43. sudo apt install nodejs -y<br />
  44. # clone the hostmon git repository<br />
  45. git clone https://github.com/i12bretro/hostmon.git ./hostmon<br />
  46. # change directory to the source code<br />
  47. cd hostmon<br />
  48. # clean npm cache<br />
  49. npm cache clean --force<br />
  50. # install npm dependencies<br />
  51. npm install<br />
  52. # fix npm vulnerabilities<br />
  53. npm audit fix<br />
  54. # run hostmon<br />
  55. node ./server.js</div>
  56. </li>
  57. <li>Open a web browser and navigate to http://DNSorIP:3000</li>
  58. <li>Welcome to HostMon</li>
  59. </ol>
  60. </div>
  61. </div>
  62. </body>
  63. </html>