Mention yum/apt repo in README

Also add `make windows-build` to Makefile

closes #618
This commit is contained in:
Cameron Sparr 2016-01-30 11:30:01 -07:00 committed by Ryan Merrick
parent 434a14978f
commit dc6efce3c2
2 changed files with 15 additions and 4 deletions

View File

@ -10,7 +10,7 @@ endif
default: prepare build default: prepare build
# Windows build # Windows build
windows: prepare-windows build windows: prepare-windows build-windows
# Only run the build (no dependency grabbing) # Only run the build (no dependency grabbing)
build: build:
@ -18,6 +18,11 @@ build:
"-X main.Version=$(VERSION)" \ "-X main.Version=$(VERSION)" \
./cmd/telegraf/telegraf.go ./cmd/telegraf/telegraf.go
build-windows:
go build -o telegraf.exe -ldflags \
"-X main.Version=$(VERSION)" \
./cmd/telegraf/telegraf.go
# Build with race detector # Build with race detector
dev: prepare dev: prepare
go build -race -o telegraf -ldflags \ go build -race -o telegraf -ldflags \

View File

@ -24,7 +24,7 @@ will continue to be supported, see below for download links.
For more details on the differences between Telegraf 0.2.x and 0.10.x, see For more details on the differences between Telegraf 0.2.x and 0.10.x, see
the [release blog post](https://influxdata.com/blog/announcing-telegraf-0-10-0/). the [release blog post](https://influxdata.com/blog/announcing-telegraf-0-10-0/).
### Linux deb and rpm packages: ### Linux deb and rpm Packages:
Latest: Latest:
* http://get.influxdb.org/telegraf/telegraf_0.10.1-1_amd64.deb * http://get.influxdb.org/telegraf/telegraf_0.10.1-1_amd64.deb
@ -34,7 +34,7 @@ Latest:
* http://get.influxdb.org/telegraf/telegraf_0.2.4_amd64.deb * http://get.influxdb.org/telegraf/telegraf_0.2.4_amd64.deb
* http://get.influxdb.org/telegraf/telegraf-0.2.4-1.x86_64.rpm * http://get.influxdb.org/telegraf/telegraf-0.2.4-1.x86_64.rpm
##### Package instructions: ##### Package Instructions:
* Telegraf binary is installed in `/usr/bin/telegraf` * Telegraf binary is installed in `/usr/bin/telegraf`
* Telegraf daemon configuration file is in `/etc/telegraf/telegraf.conf` * Telegraf daemon configuration file is in `/etc/telegraf/telegraf.conf`
@ -43,6 +43,12 @@ Latest:
* On systemd systems (such as Ubuntu 15+), the telegraf daemon can be * On systemd systems (such as Ubuntu 15+), the telegraf daemon can be
controlled via `systemctl [action] telegraf` controlled via `systemctl [action] telegraf`
### yum/apt Repositories:
There is a yum/apt repo available for the whole InfluxData stack, see
[here](https://docs.influxdata.com/influxdb/v0.9/introduction/installation/#installation)
for instructions, replacing the `influxdb` package name with `telegraf`.
### Linux tarballs: ### Linux tarballs:
Latest: Latest:
@ -55,7 +61,7 @@ Latest:
* http://get.influxdb.org/telegraf/telegraf_linux_386_0.2.4.tar.gz * http://get.influxdb.org/telegraf/telegraf_linux_386_0.2.4.tar.gz
* http://get.influxdb.org/telegraf/telegraf_linux_arm_0.2.4.tar.gz * http://get.influxdb.org/telegraf/telegraf_linux_arm_0.2.4.tar.gz
##### tarball instructions: ##### tarball Instructions:
To install the full directory structure with config file, run: To install the full directory structure with config file, run: