π»Baremetal
Authors: Godwin
System Requirements
CPU
OS
RAM
DISK
2 -4 Cores (Fastest per core speed)
Debian 12/Ubuntu 22.04
8 - 16 GB
286GB (SSD)
Offchain Labs βοΈ
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
Install Docker
Add Docker Official GPG Key
Add the repository to ppt source
Install Docker
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.
Add /usr/local/go/bin to the PATH environment variable.
You can do this by adding the following line to your $HOME/.profile or /etc/profile (for a system-wide installation):
Build Nitro with Docker
Copy Nitro binary from docker to /root/nitro/build/bin
/root/nitro/build/binCreate service to run Nitro Node
Create a local directory and replace <some_local_dir> with your path
Create service
Ctrl+X and Y to save changes
References
Last updated