DEV Community

Cover image for The SysAdmin Way to Install Prometheus & Node Exporter on CentOS 9 (Without Messy RPMs)
Ethan Vance
Ethan Vance

Posted on • Originally published at migservers.com

The SysAdmin Way to Install Prometheus & Node Exporter on CentOS 9 (Without Messy RPMs)

If you manage enterprise hardware or dedicated servers, you already know that real-time visibility into your infrastructure is non-negotiable.

Prometheus paired with Node Exporter is the industry standard for this. But here is the problem I keep seeing: too many people rely on outdated, third-party RPMs to install them.

When you use unofficial repositories, you run into version mismatches, missing features, and potential security risks.

While building out the infrastructure at MIG servers, I realized we needed a cleaner, SysAdmin-approved approach. The best way? Using the official upstream binaries. It’s easier to audit, highly secure, and simple to keep updated.

I just published a complete, step-by-step guide on exactly how to set this up on CentOS Stream 9.

What the full guide covers:

✅ Creating dedicated service users for security (never run as root!)
✅ Verifying SHA256 checksums of the official binaries
✅ Writing custom systemd unit files for automated background processing
✅ Configuring scrape_configs to monitor local and remote targets
✅ Essential Firewall and security warnings (Don't expose port 9090!)

If you want to set up your monitoring stack the right way, I’ve documented every single command and configuration file you need.

📖 Read my full step-by-step tutorial here:
👉 How to Install Prometheus and Node Exporter on CentOS Stream 9


Let me know in the comments: What does your current monitoring stack look like? Are you team Prometheus or do you prefer something else?

Top comments (0)