Skip to content

Instantly share code, notes, and snippets.

@barthy1
Created February 28, 2017 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barthy1/c4f144c65fb417cfea86f4c952e0a97e to your computer and use it in GitHub Desktop.
Save barthy1/c4f144c65fb417cfea86f4c952e0a97e to your computer and use it in GitHub Desktop.
set -e -x
# etcd
apt-get update
apt-get install -y wget tar git
# download and install go-1.7-ppc64le.tar.gz from unicamp.br
wget ftp://ftp.unicamp.br/pub/ppc64el/ubuntu/14_04/cloud-foundry/go-1.7-ppc64le.tar.gz
rm -rf /usr/local/go /usr/local/bin/go
tar xvfz go-1.7-ppc64le.tar.gz -C /usr/local
ln -s /usr/local/go/bin/go /usr/local/bin
#build etcd
git clone https://github.com/coreos/etcd
cd etcd
./build
cd bin
mkdir etcd-v2.1.1-linux-amd64
mv etcd etcdctl etcd-v2.1.1-linux-amd64
tar zcvf ../../etcd-v3.1.2-linux-ppc64le.tar.gz etcd-v2.1.1-linux-amd64
#get etcd-v3.1.2-linux-ppc64le.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment