What is Uptime Kuma? How to install Uptime Kuma on windows|
Вставка
- Опубліковано 6 вер 2024
- What is Uptime Kuma?
---------------------------------------------------------------------------------------------------
Uptime Kuma is an easy-to-use self-hosted monitoring tool.
----------------------------------------------------------------------------------------------------
--------------------------------------------------------------------
Install Uptime Kuma
--------------------------------------------------------------------
01. Log into the Windows device
02. Download Git git-scm.com/do...
03. Download NodeJS nodejs.org/en/...
04. Install Git, accepting all defaults
05. Install NodeJS, accepting all defaults
06. Click the Start button ≫ Search powershell
07. Right click on Windows PowerShell ≫ Run as administrator
08. Run the following commands in the PowerShell window
change directory to the root of c:\
cd \
#clone form git: git clone github.com/lou...
change directory to uptime-kuma
cd .\uptime-kuma\
install dependencies
npm install
run setup
npm run setup
run uptime kuma
node server\server.js
09. Open a web browser and navigate to DNSorIP:3001
10. Select a language and create an administrator username and password ≫ Click Create
11. Welcome to Uptime Kuma
--------------------------------------------------------------------
Run Uptime Kuma as a Service (Optional, but recommended)
--------------------------------------------------------------------
01. Press CTRL + C to kill the running Uptime Kuma process
02. Click on the Start Button ≫ Type task ≫ Launch Task Scheduler
03. Right click the Task Scheduler Library folder in the left pane ≫ Create Basic Task...
04. Set the name to Uptime Kuma and optionally set a Description ≫ Click Next
05. For the Trigger, select When the computer starts ≫ Click Next
06. For the Action, select Start a program ≫ Click Next
07. Complete the form fields as follows:
Program/script: "%ProgramFiles%
odejs
ode.exe"
Add arguments: C:\uptime-kuma\server\server.js
Start in: C:\uptime-kuma
08. Click Next
09. Check the Open the Properties dialog checkbox ≫ Click Finish
10. In the Properties dialog, click the Change User or Group... button
11. Type System in the Object name field ≫ Click OK
12. Check the Run with highest privileges box
13. Click OK to create the scheduled task
14. Right click the Uptime Kuma task ≫ Run
15. Refresh the open web browser to verify Uptime Kuma is now running from the scheduled task
Very nice presentation, thank you. Will be trying this 👍🏻
My pleasure 😊
@@kusaerahmed Thank you for your reply. I have one request: if you have time, please make a video for it. Actually, I have searched a lot on UA-cam for how to deploy Uptime Kuma in VPS, install an SSL certificate, and use my website's subdomain, but I still haven't found a good video that explains it properly. I don't know how many users are still searching for this topic on UA-cam.
Can you help me? This error appears when I run the "npm run setup" command:
> uptime-kuma@2.0.0-dev setup
> git checkout 1.23.13 && npm ci --production && npm run download-dist
error: Your local changes to the following files would be overwritten by checkout:
package-lock.json
Please commit your changes or stash them before you switch branches.
Abortion
I solved it with this command: git checkout -f
Thanks!
You're welcome