Setting up Uptime-Kuma 2.0 on Ubuntu Server 24.04

Purpose:

The purpose of this guide is to help you download and install Uptime-Kuma 2.0 beta. Uptime-Kuma is used to do monitoring via Pings, Https, TCP ports, and more! I personally use Uptime-Kuma to monitor my website, ping my Proxmox cluster, and monitor DNS providers.

Uptime-Kuma also includes a handy status page.

Project can be found here:

https://github.com/louislam/uptime-kuma/wiki/đź”§-How-to-Install

Assumptions:

  • Configured Hypervisor
  • Ubuntu 24.04 downloaded and installed

Guide:

1. Download Uptime-Kuma

git clone https://github.com/louislam/uptime-kuma.git

Make sure to change your directory to Uptime-Kuma

cd uptime-kuma

2. Install Npm and Verify Installation

# Install Npm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
\. "$HOME/.nvm/nvm.sh"
nvm install 22

# Gets current version and verifies installation
node -v
nvm current
npm -v

3. Install pm2

npm install pm2 -g && pm2 install pm2-logrotate

4. Start Server

pm2 start server/server.js --name uptime-kuma

5. Add to Startup

pm2 save && pm2 startup

6. Visit your Uptime-Kuma site!

Navigate to your server at http://serverIP:3001 and create your admin login.

Conclusion:

Your Uptime-Kuma site should be up and running. You can use the “Add Monitor” function to start adding a playing around with monitors.

Alex Wilfong
Alex Wilfong
Articles: 3