Add extra notes to Building section (#694)

* Add link to Golang
* Add note about RHEL/CentOS build dep.
This commit is contained in:
Ben Kochie 2017-10-11 11:46:13 +02:00 committed by GitHub
parent 1e4af21256
commit 8f9edf87b5
1 changed files with 7 additions and 0 deletions

View File

@ -109,6 +109,13 @@ mv /path/to/directory/role.prom.$$ /path/to/directory/role.prom
## Building and running
Prerequisites:
* [Go compiler](https://golang.org/dl/)
* RHEL/CentOS: `glibc-static` package.
Building:
go get github.com/prometheus/node_exporter
cd ${GOPATH-$HOME/go}/src/github.com/prometheus/node_exporter
make