123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Installing HostMon - Simple Host Monitor and Application Dashboard - on Linux</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <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">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Installing HostMon - Simple Host Monitor and Application Dashboard - on Linux">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="revised" content="05/12/2022 02:21:46 PM" />
- <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
- <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
- <script type="text/javascript" src="includes/js/steps.js"></script>
- <link href="css/steps.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="gridContainer">
- <div class="topMargin"></div>
- <div id="listName" class="topMargin">
- <h1>Installing HostMon - Simple Host Monitor and Application Dashboard - on Linux</h1>
- </div>
- <div></div>
- <div id="content">
- <h2>What is HostMon?</h2>
- <blockquote>
- <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 />
- <br />
- 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>
- </blockquote>
- <ol>
- <li>Log into the Linux device</li>
- <li>Run the following commands in a terminal window
- <div class="codeBlock"># update software repositories<br />
- sudo apt update<br />
- # install available software updates<br />
- sudo apt upgrade -y<br />
- # install prerequisites<br />
- sudo apt install git curl -y<br />
- # add nodejs software repository<br />
- curl -sL https://deb.nodesource.com/setup_16.x | sudo bash -<br />
- # install nodejs<br />
- sudo apt install nodejs -y<br />
- # clone the hostmon git repository<br />
- git clone https://github.com/i12bretro/hostmon.git ./hostmon<br />
- # change directory to the source code<br />
- cd hostmon<br />
- # clean npm cache<br />
- npm cache clean --force<br />
- # install npm dependencies<br />
- npm install<br />
- # fix npm vulnerabilities<br />
- npm audit fix<br />
- # run hostmon<br />
- node ./server.js</div>
- </li>
- <li>Open a web browser and navigate to http://DNSorIP:3000</li>
- <li>Welcome to HostMon</li>
- </ol>
- </div>
- </div>
- </body>
- </html>
-
|