How To Install Latest Ethereum Node on Ubuntu 16.04 — Crypto News 24/7

Install Packages

 

sudo apt-get -y update && sudo apt-get -y upgrade

sudo apt-get -y install git curl npm nodejs

Install Geth

sudo apt-get -y install software-properties-common

sudo add-apt-repository -y ppa:ethereum/ethereum

sudo add-apt-repository -y ppa:ethereum/ethereum-dev

sudo apt-get -y update # sudo apt-get -y install ethereum

Run Geth to syncronize the blockchain

Install screen packages

sudo apt-get update && sudo apt-get install screen -y

Make a bash

nano ~/geth.sh

And add the following

#!/usr/bin/env bash
echo “Starting geth”
screen -dmS geth /usr/bin/geth –fast –verbosity 3 –rpc –rpcaddr=localhost –rpcport=8545 –rpcapi eth,personal,net,web3

Make it executable using chmod +x ~/geth.sh then run the script:

~/geth.sh

Check the node info by following command:

screen -x geth

Source