Skip to content

Instantly share code, notes, and snippets.

@ragonzal
Created April 14, 2020 15:04
Show Gist options
  • Save ragonzal/1e136c9904732247c84e5b9cf9d403c5 to your computer and use it in GitHub Desktop.
Save ragonzal/1e136c9904732247c84e5b9cf9d403c5 to your computer and use it in GitHub Desktop.
Installing Geth
# Update linux and remove old dependencies
sudo apt-get update
sudo apt-get autoremove
# Install GETH
# https://github.com/ethereum/go-ethereum/wiki/Installation-Instructions-for-Ubuntu
sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum
# Create Node folder and set config file
mkdir node
cd node/
geth dumpconfig > config.toml
# Start GETH
geth --config config.toml -rpc --rpcaddr "0.0.0.0" --rpcport 8545 --cache=2048 2> geth.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment