Skip to content
Snippets Groups Projects
Unverified Commit 2d444860 authored by Robert Fratto's avatar Robert Fratto Committed by GitHub
Browse files

Merge pull request #793 from daixiang0/centos-support

Document centos dep
parents cb7c8f62 01a07629
No related branches found
No related tags found
No related merge requests found
......@@ -71,11 +71,19 @@ $ go build ./cmd/promtail
```
On Linux, promtail requires the systemd headers to be installed for
Journal support. Promtail can be built with Journal support on Ubuntu
with the following commands:
Journal support.
With Journal support on Ubuntu, run with the following commands:
```bash
$ sudo apt install -y libsystemd-dev
$ go build ./cmd/promtail
```
With Journal support on CentOS, run with the following commands:
```bash
$ sudo apt install libsystemd-dev
$ sudo yum install -y systemd-devel
$ go build ./cmd/promtail
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment