Geth - Execution Engine
Update the system:
Update distro (Ubuntu) and autoremove:
Install Geth
1) Check latest version of Geth:
Find the most current update here.
This code in this guide is updated for v1.10.26 and current as of Jan 5, 2023.
Install Curl
2) Change to Home directory:
3) Use curl to download latest version:
4) Extract, Copy, and Clean up:
Create service file to run Geth
Create geth
user:
geth
user:Create /geth
directory:
/geth
directory:Assign goeth
permission to modify /geth
:
goeth
permission to modify /geth
:Create geth.service
:
geth.service
:Paste the following into the file:
Use Ctrl + X
to exit, Y
to save, then Enter
to confirm.
Reload the daemon:
Start geth.service
:
geth.service
:Check geth.service
output:
geth.service
output:This shows running journal entries created by geth.service
. You can use Ctrl + C
to close the window, but the program will continue running in the background.
Use sudo systemctl stop geth
if you need to stop geth.service
The node will begin searching for peers, and eventually start downloading/verifying blocks.
Geth Sync
Geth data is currently ~875gb and may take ~24 hours to fully sync.
You can check your progress by comparing your block number in Geth to the current block at https://etherscan.io/
As you wait for the Eth1 node to sync, you can open a new terminal and install Lighthouse - Beacon Node.
Last updated