Baremetal
Authors: [Vince | Nodeify]
System Requirements
4 + core CPU
Ubuntu 22.04
16GB+ for Nitro and 32GB+ for Classic
>= 8 TiB NVMe SSD
Offchain Labs ⛓️
Official Docs https://docs.arbitrum.io/node-running/how-tos/running-an-archive-node
Pre-requisites
Update, upgrade, and clean the system, and then install essential development tools (build-essential), firewall management (ufw), and the Git version control system.
You must have a running Ethereum Mainnet RPC
Set explicit default UFW rules
Allow SSH
Allow remote RPC connections with Nitro Node
Not advised to allow all or unknown IP address to RPC port
Enable Firewall
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.20.6 on the system.
Please add the Go executable path to your system's PATH
environment variable, and then test to ensure that Go is working correctly.
Install nvm
Install npm and yarn
Build Nitro with Docker
Clone the Erigon repository from GitHub, including its submodules, changes the current directory to the Erigon directory, checks out the latest release tag, and then compile the project using the "make" build system.
Copy Nitro binary from docker to /root/nitro/build/bin
/root/nitro/build/bin
Download Nitro Snapshot
Create service to run Nitro Node
Change flag to your Ethereum RPC --l1.url=1.2.3.4:8545
Run Nitro
Reload the systemd manager configuration, start the Nitro service, and enable it to start automatically on system boot, ensuring that the Nitro Service is active and will be automatically started upon system startup.
Monitor Logs
Use journalctl to display real-time log messages and continuously follow the log output of the Nitro service, allowing you to monitor its activity and troubleshoot any issues as they occur.
Last updated