💻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)
Setup Production Erigon
This guide covers the installation ofErigon, an implementation of Ethereum (execution layer), on the efficiency frontier, Archive Node by default, and Lighthouse, as a Consensus Layer.
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-essentialSetting up Firewall
Set explicit default UFW rules
sudo ufw default deny incoming
sudo ufw default allow outgoingAllow SSH and peers
Allow remote RPC connections with the Node
Not advised to allow all or unknown IP address to RPC port
Enable Firewall
To check the status of UFW and see the current rules
Install GO
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
curl command in the terminal to check the status of your nodeExpected output during synchronization:
When it returns false then your node is fully synchronized with the network
References
Last updated
Was this helpful?