服务器部署Uptime-Kuma
没有服务器?赶紧来雨云领取低价服务器!!!
优惠码:MTMyMDcw
使用此优惠码注册再减15元!
0.环境要求
要求:
-
平台
主要的Linux发行版,如Debian,Ubuntu,CentOS,Fedora和ArchLinux等。
Windows 10 (x64)、Windows Server 2012 R2 (x64) 或更高版本
-
npm >= 7
1.直接部署(不用docker)
# Update your npm to the latest version
npm install npm -g
git clone https://github.com/louislam/uptime-kuma.git
cd uptime-kuma
npm run setup
# Option 1. Try it
node server/server.js
# (Recommended)
# Option 2. Run in background using PM2
# Install PM2 if you don't have: npm install pm2 -g
pm2 start server/server.js --name uptime-kuma
访问 http://localhost:3001 出现安装界面即可
2.安装
输入用户名密码
点击创建即可进入仪表盘
部署完成