Last active
November 5, 2017 22:01
-
-
Save drewr/2784efa58e2afcbd2532fde046505622 to your computer and use it in GitHub Desktop.
Heartbeat on RaspberryPi
This file contains 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
export ELASTIC_GO_LIB=$HOME/go/src/github.com/elastic | |
export GOPATH=$HOME/go | |
sudo apt-get update --fix-missing | |
sudo apt-get install -y git build-essential lsb-release | |
wget --no-clobber https://redirector.gvt1.com/edgedl/go/go1.9.2.linux-armv6l.tar.gz | |
tar zxpf go1.9.2.linux-armv6l.tar.gz | |
mkdir -p $ELASTIC_GO_LIB | |
test -d $ELASTIC_GO_LIB/beats || git clone --depth 1 https://github.com/elastic/beats $ELASTIC_GO_LIB/beats | |
( cd $ELASTIC_GO_LIB/beats/heartbeat && PATH=$HOME/go/bin:$PATH make ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment