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.