💻Baremetal

Authors: [man4ela | catapulta.eth]

System Requirements

CPU
OS
RAM
DISK

16+ cores CPU

Debian 12/Ubuntu 22.04

=> 16 GB RAM

=3.5TB

(SSD or NVMe)

The Ethereum Mainnet archive node has a size of 3.1TB on September 11th, 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

sudo ufw allow 22/tcp
sudo ufw allow 30303

Allow remote RPC connections with Blast 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?