Skip to content

Instantly share code, notes, and snippets.

@candoom
Created November 21, 2021 18:32
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save candoom/c540300bcde25c3e0d796b085f0417f4 to your computer and use it in GitHub Desktop.
Save candoom/c540300bcde25c3e0d796b085f0417f4 to your computer and use it in GitHub Desktop.
Howto install Promtail on Proxmox
$ wget https://github.com/grafana/loki/releases/download/v2.4.1/promtail-linux-amd64.zip
$ unzip promtail-linux-amd64.zip
$ mv promtail-linux-amd64 /usr/local/bin/
$ ln -s /usr/local/bin/promtail-linux-amd64 /usr/local/bin/promtail
$ useradd --system promtail
$ gpasswd -a promtail adm
$ nano /etc/systemd/system/promtail.service
$ systemctl daemon-reload
$ systemctl start promtail.service
$ systemctl status promtail.service
$ systemctl enable promtail.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment