Step 4: Installing execution client
Pick an execution client
Your choice of either Geth, Besu, Nethermind, or Erigon.
Reminder: Ensure you are logged in and execute all steps in this guide as non-root user, ethereum ,created during Step 2: Configuring Node.
Review the latest release notes at https://github.com/ethereum/go-ethereum/releases
π§¬Install from the repository
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update -y
sudo apt-get install ethereum -yβοΈ Setup and configure systemd
Run the following to create a unit file to define your eth1.service configuration.
Simply copy/paste the following.
cat > $HOME/eth1.service << EOF
[Unit]
Description=Geth Execution Layer Client service
Wants=network-online.target
After=network-online.target
Documentation=https://www.coincashew.com
[Service]
Type=simple
User=ethereum
Restart=on-failure
RestartSec=3
TimeoutSec=690
ExecStart=/usr/bin/geth \
--mainnet \
--metrics \
--pprof \
--authrpc.jwtsecret=/secrets/jwtsecret
[Install]
WantedBy=multi-user.target
EOFMove the unit file to /etc/systemd/system and give it permissions.
Run the following to enable auto-start at boot time.
βοΈStart geth
π§¬Install java dependency
πDownload and unzip Besu
Review the latest release at https://github.com/hyperledger/besu/releases
Run the following to automatically download the latest linux release, un-tar and cleanup.
βοΈ Setup and configure systemd
Run the following to create a unit file to define your eth1.service configuration.
Simply copy/paste the following.
Move the unit file to /etc/systemd/system and give it permissions.
Run the following to enable auto-start at boot time.
βοΈ Start besu
βοΈ Install dependencies
πDownload and unzip Nethermind
Review the latest release at https://github.com/NethermindEth/nethermind/releases
Run the following to automatically download the latest linux release, un-zip and cleanup.
βοΈ Setup and configure systemd
Run the following to create a unit file to define your eth1.service configuration.
Simply copy/paste the following.
Move the unit file to /etc/systemd/system and give it permissions.
Run the following to enable auto-start at boot time.
βοΈ Start Nethermind
Erigon requires at least 16GB RAM. 32GB is highly recommended.
βοΈ Install Go dependencies
Find the latest release of Go from here and update the download URL for the tar.gz file below.
Verify Go is properly installed and cleanup files.
π€ Build and install Erigon
Install build dependencies.
Review the latest release at https://github.com/ledgerwatch/erigon/releases
βVerify the build completed successfully by displaying Erigon's version.
β Example of version:
Make data directory and update directory ownership.
βοΈ Setup and configure systemd
Run the following to create a unit file to define your eth1.service configuration.
Simply copy/paste the following.
Move the unit files to /etc/systemd/system and give it permissions.
Run the following to enable auto-start at boot time.
βοΈStart Erigon
π οΈ Helpful execution client commands
πͺ Next Steps
Now that your execution client is configured and started, proceed to the next section to setup your consensus client.
If you're checking the logs and see any warnings or errors, please be patient as these will normally resolve once both your execution and consensus clients are fully synched to the Ethereum network.
Last updated