Part 2:

Install system dependencies:

sudo apt-get install software-properties-common python-software-properties build-essential curl git maven sudo add-apt-repository ppa:git-core/ppa sudo add-apt-repository -y ppa:ethereum/ethereum sudo add-apt-repository ppa:webupd8team/java -y sudo apt-get update



sudo apt-get install ethereum solc

Install Java JVM:

echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections sudo apt-get install oracle-java8-installer

Install nodejs:

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get install nodejs

Install nginx:

sudo apt-get install nginx

When inputting, go line by line, starting with ‘sudo’ and you should go through something like this, remember to type ‘y’ to proceed forward.

Install Ethereum Service:

Copy the following into ‘/etc/systemd/system/geth-network.service’ There are 3 different ways to run geth to target different ethereum networks: dev, testnet, and mainnet.

vim /etc/systemd/system/geth-network.service

When in vim, press ‘a’ to enter insert mode. Then press ctrl+shift+V to paste the desired network chunk below. If you make a mistake, press ESC and type :1,$d to clear the page. Save the changes with ESC and type : x

You can choose any of the 3 networks, for my case I chose Mainnet

Local Devnet: