Bare Metal

Author: [ jLeopoldA ]

System Requirements

CPU
OS
RAM
DISK

4+ Cores

Ubuntu 22.04.4 LTS

16GB

5TB

The Optimism Sepolia Archive Node has a size of 2.3TB as of 3/10/2025.

Pre-Requisites

Update System

sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y
sudo apt install -y git gcc make --fix-missing

Install GO

# Remove previous installation of GO
rm -rf /usr/local/go # For GO installations locacated within /usr/local/go
rm -rf /usr/local/bin/go # For GO installations located within /usr/local/bin/go

# Download GO
wget https://go.dev/dl/go1.22.0.linux-amd64.tar.gz

# Extract and place within /usr/local
tar -xzf go1.22.0.linux-amd64.tar.gz -C /usr/local && rm go1.22.0.linux-amd64.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
source ~/.bashrc

Firewall Configuration

Set Explicit Firewall Configuration

Allow SSH

Allow Connections for OP-NODE & OP-GETH

Enable Firewall Rules

Check Status of Firewall Rules (UFW)

Download and Set up OP-Node & OP-Geth

Create Directories

Create JWT Secret

Set up OP-Node

Download & Build OP-Node

Set up OP-Geth

Create System Services

Create Service for OP-Node

Create Service for OP-Geth

Run System Services

Reload System Services

Run OP-Node Service

Run OP-Geth Service

Query Node

Check Logs

Check Sync Status

Check Block Number

References

Last updated