Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install magneticod go-rewrite on a brand new scaleway ubuntu 16.04 instance
####
# Install magneticod go-rewrite on a brand new scaleway ubuntu 16.04 instance
####
apt-get update && apt-get -y upgrade
apt-get install -y software-properties-common python-software-properties git trickle
add-apt-repository ppa:gophers/archive
apt update
apt-get -y install golang-1.9-go
mkdir -p $HOME/go/src
cd $HOME/go/src
git clone -b go-rewrite https://github.com/boramalper/magnetico
cd magnetico
export GOPATH=$HOME/go
ln -s /usr/lib/go-1.9/bin/go /usr/bin/go
cd $HOME/go/src/magnetico
go get ./...
cd magneticod
go build
trickle -u 1024 -d 1024 ./magneticod -v --trawler-ml-addr 0.0.0.0:8420
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment