0692.html 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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,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. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  12. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  13. <script type="text/javascript" src="includes/js/steps.js"></script>
  14. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  15. </head>
  16. <body>
  17. <div id="gridContainer">
  18. <div class="topMargin"></div>
  19. <div id="listName" class="topMargin">
  20. <h1>Installing HostMon - Simple Host Monitor and Application Dashboard - on Linux</h1>
  21. </div>
  22. <div></div>
  23. <div id="content">
  24. <h2>What is HostMon?</h2>
  25. <blockquote>
  26. <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 />
  27. <br />
  28. 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>
  29. </blockquote>
  30. <ol>
  31. <li>Log into the Linux device</li>
  32. <li>Run the following commands in a terminal window
  33. <div class="codeBlock"># update software repositories<br />
  34. sudo apt update<br />
  35. # install available software updates<br />
  36. sudo apt upgrade -y<br />
  37. # install prerequisites<br />
  38. sudo apt install git curl -y<br />
  39. # add nodejs software repository<br />
  40. curl -sL https://deb.nodesource.com/setup_16.x | sudo bash -<br />
  41. # install nodejs<br />
  42. sudo apt install nodejs -y<br />
  43. # clone the hostmon git repository<br />
  44. git clone https://github.com/i12bretro/hostmon.git ./hostmon<br />
  45. # change directory to the source code<br />
  46. cd hostmon<br />
  47. # clean npm cache<br />
  48. npm cache clean --force<br />
  49. # install npm dependencies<br />
  50. npm install<br />
  51. # fix npm vulnerabilities<br />
  52. npm audit fix<br />
  53. # run hostmon<br />
  54. node ./server.js</div>
  55. </li>
  56. <li>Open a web browser and navigate to http://DNSorIP:3000</li>
  57. <li>Welcome to HostMon</li>
  58. </ol>
  59. </div>
  60. </div>
  61. </body>
  62. </html>