Created
July 11, 2019 18:04
-
-
Save amontalban/06fc1f679de5fe5f831dcf243ef63fae to your computer and use it in GitHub Desktop.
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
su -m | |
pkg update -f | |
pkg upgrade -y | |
pkg install -y sudo bash git go-1.12.6,1 python3-3_3 python27-2.7.16_1 python2 py27-invoke-1.2.0_1 py36-invoke-1.2.0_1 py27-pip py36-pip py27-yaml py36-yaml cmake tmux htop | |
tmux | |
bash | |
mkdir ~/.gopkg | |
export GOPATH=/root/.gopkg | |
export PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin:/usr/local/go/bin:/root/.gopkg/bin" | |
go get github.com/golang/dep | |
go get github.com/golang/dep/cmd/dep | |
cd $GOPATH/src/github.com/golang/dep | |
go install ./... | |
ln -s /root/.gopkg/bin/dep /usr/local/bin/ | |
git clone https://github.com/amontalban/datadog-agent.git -b freebsd_support $GOPATH/src/github.com/DataDog/datadog-agent | |
cd $GOPATH/src/github.com/DataDog/datadog-agent | |
invoke deps | |
invoke rtloader.build && invoke rtloader.install | |
invoke agent.build --build-exclude=python | |
invoke trace-agent.build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment