Skip to main content

Installing PatchMon Server on Ubuntu 24

Native Install (advanced/non-docker)

Run on a clean Ubuntu/Debian server with internet access:

Ubuntu:

apt-get update -y
apt-get upgrade -y
apt install curl jq bc -y

Script

curl -fsSL -o patchmon_server_setup.sh https://raw.githubusercontent.com/9technologygroup/patchmon.net/refs/heads/main/setup.sh && chmod +x patchmon_server_setup.sh && bash patchmon_server_setup.sh

Minimum specs for building :

CPU : 2 vCPU RAM : 2GB Disk : 15GB

During setup you’ll be asked:

  • Domain/IP: public DNS or local IP (default: patchmon.internal)
  • SSL/HTTPS: y for public deployments with a public IP, n for internal networks.
  • Email: only if SSL is enabled (for Let’s Encrypt)
  • Git Branch: default is main (press Enter)

The script will:

  • Install prerequisites (Node.js, PostgreSQL, nginx)
  • Clone the repo, install dependencies, build the frontend, run migrations
  • Create a systemd service and nginx site vhost config
  • Start the service and write a consolidated info file at:
    • /opt/<your-domain>/deployment-info.txt
    • Full installer log to /opt/<your-domain>/patchmon-install.log

After installation:

  • Visit http(s)://<your-domain> and complete first-time admin setup
  • See all useful info in deployment-info.txt