How To Run Ethereum Node
Running Ethereum node on ubuntu server is quite easier.
This post provides step by step instructions on how to install a quick Ethereum network on Ubuntu 16.04 LTS.
Our main Ethereum CLI client. It is the entry point into the Ethereum network (main-, test- or private net), capable of running as a full node (default), archive node (retaining all historical state) or a light node (retrieving data live). It can be used by other processes as a gateway into the Ethereum network via JSON RPC endpoints exposed on top of HTTP, WebSocket and/or IPC transports. geth --helpand the CLI Wiki page for command line options.
Ethereum is a decentralized platform that runs smart contracts, applications that run exactly as programmed without possibility of downtime, censorship, fraud or third party interference.
According to my experience:
- Minimum hardware requirements (for initial sync): 4 CPU, 8 GB RAM, 100 GB disk
- Minimum hardware requirements (for normal operations): 2 CPU, 4 GB RAM, 300 GB disk
Hosting a website and creating ethereum node on the same server is NOT a good idea.
Install the latest Ethereum software.
Installing from PPA
install software-properties-common(add-apt-repository command is under the package software-properties-common and you need to install this package in order to install add-apt-repository).
add the ppa:ethereum/ethereum repository using the add-apt-repository command.
Now you want to check your /sources.list.d/. For example if you are adding Launchpad to your wheezy /sources.list.d/
updated versions of packages are available is obtained by running sudo apt-get update (or sudo aptitude update ), it is advisable to run this before installing any package
Installing Go Ethereum. Install from a package manager. Install on macOS via Homebrew. Install on Ubuntu via PPAs. Install on Windows via Chocolatey. Download standalone bundle. Run inside docker container. Build it from source code
If you want to stay on the bleeding edge, install the ethereum-unstable package instead.
After installing, run geth account new to create an account on your node.
You should now be able to run geth and connect to the network.
Make sure to check the different options and commands with geth - help
Start up Geth
Start up a light geth node in one tmux pane.
geth - light