Back to course

Installing Prometheus (The Hard Way)

Modern DevSecOps (The Hard Way)

Binary Installation

We will not use Docker. We will download the binary, create a system user, and configure a systemd service.

Steps:

  1. Download Prometheus tarball.
  2. Create /etc/prometheus and /var/lib/prometheus.
  3. Setup a unit file in /etc/systemd/system/prometheus.service.
  4. Start and enable the service.