Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
//if something breaks, go to this file: https://github.com/jpmorganchase/quorum-examples/blob/master/vagrant/bootstrap.sh
# install build deps
sudo add-apt-repository ppa:ethereum/ethereum
sudo apt-get update
sudo apt install make
sudo apt install g++ -y
sudo apt-get install -y build-essential unzip libdb-dev libleveldb-dev libsodium-dev zlib1g-dev libtinfo-dev solc sysvbanner wrk software-properties-common default-jdk maven
//installing go
cd $HOME/ && wget https://dl.google.com/go/go1.10.linux-amd64.tar.gz
tar -xvf go1.10.linux-amd64.tar.gz
mkdir $HOME/gopath
echo "export GOPATH=\$HOME/gopath" >> .bashrc
echo "export GOROOT=\$HOME/go" >> .bashrc
echo "export PATH=\$PATH:\$GOROOT/bin" >> .bashrc
source ~/.bashrc
# install constellation
CVER="0.3.2"
CREL="constellation-$CVER-ubuntu1604"
wget -q https://github.com/jpmorganchase/constellation/releases/download/v$CVER/$CREL.tar.xz
tar xfJ $CREL.tar.xz
sudo cp $CREL/constellation-node /usr/local/bin && sudo chmod 0755 /usr/local/bin/constellation-node
rm -rf $CREL
# make/install quorum
git clone https://github.com/jpmorganchase/quorum.git
pushd quorum >/dev/null
git checkout tags/v2.2.0
make all
sudo cp build/bin/geth /usr/local/bin
sudo cp build/bin/bootnode /usr/local/bin
popd >/dev/null
//installing python3.6
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6 -y
sudo apt install python3-pip -y
//installing web3
pip3 install web3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment