Skip to content

Instantly share code, notes, and snippets.

@benjaminion
Created October 6, 2017 08:08
Show Gist options
  • Save benjaminion/235c8b31c32482c92d0172ab27dbab9a to your computer and use it in GitHub Desktop.
Save benjaminion/235c8b31c32482c92d0172ab27dbab9a to your computer and use it in GitHub Desktop.
Set up Quorum 7nodes example without using Vagrant
git clone https://github.com/jpmorganchase/quorum-examples
cd quorum-examples/vagrant/
sudo add-apt-repository ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install -y build-essential unzip libdb-dev libsodium-dev zlib1g-dev libtinfo-dev solc sysvbanner wrk
wget -q https://github.com/jpmorganchase/constellation/releases/download/v0.0.1-alpha/ubuntu1604.zip
unzip ubuntu1604.zip
sudo cp ubuntu1604/constellation-node /usr/local/bin
sudo chmod 0755 /usr/local/bin/constellation-node
sudo cp ubuntu1604/constellation-enclave-keygen /usr/local/bin/
sudo chmod 0755 /usr/local/bin/constellation-enclave-keygen
rm -rf ubuntu1604.zip ubuntu1604
GOREL=go1.7.3.linux-amd64.tar.gz
wget -q https://storage.googleapis.com/golang/$GOREL
tar xfz $GOREL
sudo mv go /usr/local/go
rm -f $GOREL
echo 'PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
git clone https://github.com/jpmorganchase/quorum.git
cd quorum
git checkout tags/v1.2.0
make all
sudo cp build/bin/geth /usr/local/bin
sudo cp build/bin/bootnode /usr/local/bin
cd ..
sudo mv porosity /usr/local/bin
sudo chmod 0755 /usr/local/bin/porosity
# Setup is done
cd ../examples/7nodes/
./init.sh
./start.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment