💻Baremetal

Authors: Godwin

System Requirements

CPU
OS
RAM
DISK

4-8 Cores

Debian 12/Ubuntu 22.04

16 GB

4TB+ (SSD)

The celo l2 node has a size of 2.1TB on June 24, 2025

Pre-Requisites

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

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

Setting up Firewall

Set explicit default UFW rules

sudo ufw default deny incoming
sudo ufw default allow outgoing

Allow SSH

sudo ufw allow 22/tcp
sudo ufw allow 8546
sudo ufw allow 8547

Enable Firewall

Download pre-migrated L1 data and run the migration script

The script below uses screen to create a session called archive, and download the Celo L1 data.

Once the data has been download, you need to extract the data into a directory of your chosen.

Clone the celo l2 docker setup and perform the migration

This will perform a migration of the L1 data to the Celo L2.

Set up Celo L2 Archive Node

Install go

Download the Go programming language distribution archive, extracts it to the "/usr/local" directory, and then removes the downloaded archive, effectively installing Go version 1.23.5 on the system.

Build Celo L2 OP-GETH

Build Celo L2 OP-NODE

Install just

Create JWT Secret

Create OP-GETH Service

Create OP-NODE Service

Enable and Start the Services

Check Service Status

Result

Check the current block number

Result

References

Last updated

Was this helpful?