Skip to content

Instantly share code, notes, and snippets.

@r4um
Last active October 18, 2016 14:34
Show Gist options
  • Save r4um/79097c47917cabd1b4ccaa7827b5d9a9 to your computer and use it in GitHub Desktop.
Save r4um/79097c47917cabd1b4ccaa7827b5d9a9 to your computer and use it in GitHub Desktop.
packetbeat pfring amd64 on ubuntu trusty 14.04

Install pfring and pfring-dkms packages.

Install docker

Install go 1.7.1

https://launchpad.net/~jonathonf/+archive/ubuntu/golang

# add-apt-repository ppa:jonathonf/golang
# apt-get update
# apt-get install golang
# go version
go version go1.7.1 linux/amd64

As root

# cd /usr/src
# mkdir -p go/src
# GOPATH=/usr/src/go go get github.com/elastic/beats
# cd go/src/github.com/elastic/beats/packetbeat/
# GOPATH=/usr/src/go make package
# Packages will appear in build/upload
# 
# Rebuild and replace packetbeat binary for amd64
# 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment