💻Baremetal

Authors: [man4ela | catapulta.eth]

System Requirements

CPU

OS

RAM

DISK

16+ cores CPU

Debian 12/Ubuntu 22.04

=> 16 GB RAM

=1TB+(SSD or NVMe)

The Ethereum Sepolia archive node has a size of 1TB on November 15th, 2024

Setup Production Erigon

Pre-Requisites

sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y

sudo apt install -y libgtest-dev libomp-dev libgmp-dev git make wget aria2 gcc pkg-config libusb-1.0-0-dev libudev-dev jq g++ curl libssl-dev screen apache2-utils build-essential

Setting up Firewall

Set explicit default UFW rules

sudo ufw default deny incoming
sudo ufw default allow outgoing

Allow SSH and peers

Allow remote RPC connections with the Node

Enable Firewall

To check the status of UFW and see the current rules

Install GO

Go version 1.21+ is required

Build Erigon RPC Node

Create Data directory and jwt secret file

Create Systemd service for Erigon

Paste the configs and save by entering ctrl+X and Y+ENTER:

Launch Erigon

Build Lighthouse

Go to the Releases page and select the latest release:

Create systemd file for Lighthouse

Paste the configs and save by entering ctrl+X and Y+ENTER:

Launch Lighthouse

Monitor the logs for errors

During the synchonization, you are expected to get following log messages fromerigon:

And Lighthouse:

Run curl command in the terminal to check the status of your node

Expected output during synchronization:

When it returns false then your node is fully synchronized with the network

References

Last updated

Was this helpful?