💻Baremetal
Authors: Godwin
System Requirements
4-8 Cores
Debian 12/Ubuntu 22.04
16 GB
4TB+ (SSD)
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-configSetting up Firewall
Set explicit default UFW rules
sudo ufw default deny incoming
sudo ufw default allow outgoingAllow SSH
sudo ufw allow 22/tcp
sudo ufw allow 8546
sudo ufw allow 8547Not advised to allow all or unknown IP address to RPC port
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?