0615.html 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install Uptime Kuma on Windows</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Install Uptime Kuma On Windows,Uptime Kuma,Uptime Monitor,Alternative To Uptime Robot,Monitor Website Uptime,Uptime,Monitor,Self-Hosted,Install Guide,Home Lab,Web Based,Browser Based,Homelab,Microsoft,Windows,Microsoft Windows,Windows 10,Windows 11,Windows Server,Web Based Tools,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install Uptime Kuma on Windows">
  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>Install Uptime Kuma on Windows</h1>
  21. </div>
  22. <div></div>
  23. <div id="content">
  24. <h2>What is Uptime Kuma?</h2>
  25. <p><em>Uptime Kuma is a fancy self-hosted monitoring tool. -<a href="https://github.com/louislam/uptime-kuma" target="_blank">https://github.com/louislam/uptime-kuma</a></em></p>
  26. <h2>Install Uptime Kuma</h2>
  27. <ol>
  28. <li>Log into the Windows device</li>
  29. <li>Download Git <a href="https://git-scm.com/download/win" target="_blank">Download</a></li>
  30. <li>Download NodeJS <a href="https://nodejs.org/en/download/current/" target="_blank">Download</a></li>
  31. <li>Install Git, accepting all defaults</li>
  32. <li>Install NodeJS, accepting all defaults</li>
  33. <li>Click the Start button &gt; Search powershell</li>
  34. <li>Right click on Windows PowerShell &gt; Run as administrator</li>
  35. <li>Run the following commands in the PowerShell window
  36. <div class="codeBlock PS"># change directory to the root of c:\<br />
  37. cd \<br />
  38. # clone from git<br />
  39. git clone https://github.com/louislam/uptime-kuma.git .\uptime-kuma<br />
  40. # change directory to uptime-kuma<br />
  41. cd .\uptime-kuma\<br />
  42. # install dependencies<br />
  43. npm install<br />
  44. # run setup<br />
  45. npm run setup<br />
  46. # run uptime kuma<br />
  47. node server\server.js</div>
  48. </li>
  49. <li>Open a web browser and navigate to http://DNSorIP:3001</li>
  50. <li>Select a language and create an administrator username and password &gt; Click Create</li>
  51. <li>Welcome to Uptime Kuma</li>
  52. </ol>
  53. <h2>Run Uptime Kuma as a Service (Optional, but recommended)</h2>
  54. <ol>
  55. <li>Press CTRL + C to kill the running Uptime Kuma process</li>
  56. <li>Click on the Start Button &gt; Type task &gt; Launch Task Scheduler</li>
  57. <li>Right click the Task Scheduler Library folder in the left pane &gt; Create Basic Task...</li>
  58. <li>Set the name to Uptime Kuma and optionally set a Description &gt; Click Next</li>
  59. <li>For the Trigger, select When the computer starts &gt; Click Next</li>
  60. <li>For the Action, select Start a program &gt; Click Next</li>
  61. <li>Complete the form fields as follows:
  62. <p>Program/script: &quot;%ProgramFiles%\nodejs\node.exe&quot;<br />
  63. Add arguments: C:\uptime-kuma\server\server.js<br />
  64. Start in: C:\uptime-kuma</p>
  65. </li>
  66. <li>Click Next</li>
  67. <li>Check the Open the Properties dialog checkbox &gt; Click Finish</li>
  68. <li>In the Properties dialog, click the Change User or Group... button</li>
  69. <li>Type System in the Object name field &gt; Click OK</li>
  70. <li>Check the Run with highest privileges box</li>
  71. <li>Click OK to create the scheduled task</li>
  72. <li>Right click the Uptime Kuma task &gt; Run</li>
  73. <li>Refresh the open web browser to verify Uptime Kuma is now running from the scheduled task</li>
  74. </ol>
  75. </div>
  76. </div>
  77. </body>
  78. </html>