-
-
Save scriptzteam/3a04d7087f8257abfca5684b8819623e to your computer and use it in GitHub Desktop.
Install magneticod go-rewrite on a brand new scaleway ubuntu 16.04 instance
This file contains hidden or 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
#### | |
# 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