Created
November 21, 2021 18:32
-
-
Save candoom/c540300bcde25c3e0d796b085f0417f4 to your computer and use it in GitHub Desktop.
Howto install Promtail on Proxmox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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