Skip to content

Instantly share code, notes, and snippets.

@sanfx
sanfx / gist:d47a7d70f882174416e057d6646af79a
Last active May 19, 2024 17:49
Installing prometheus
Enter the following to create Prometheus user accounts to be used as a service user accounts for security and
administration purposes. These accounts will not be used for logging into the system.
Use the following commands in Terminal to create the service user accounts.
$ sudo useradd --no-create-home --shell /bin/false prome
$ sudo useradd --no-create-home --shell /bin/false node_exporter
Create Prometheus Directories
$ sudo mkdir /etc/prometheus