githubEdit

💻Baremetal

Author: [ jLeopoldA ]

System Requirements

CPU
OS
RAM
DISK

Debian 12/Ubuntu 22.04

8+ Cores

32GB+

10TB+ (SSD or NVMe)

circle-info

The Iotex Archive Node has a size of 5.5TB as of 3/5/2025

circle-exclamation

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

curl -LO https://go.dev/dl/go1.21.8.linux-amd64.tar.gz
sudo tar xzf go1.21.8.linux-amd64.tar.gz -C /usr/local && rm go1.21.8.linux-amd64.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
source ~/.bashrc

# Check Installation
go version

Firewall Configuration

Set Explicit Firewall Rules

Allow SSH

Allow Connections for Iotex

Enable Firewall Rules

Check Status of Firewall Rules (UFW)

Set up Iotex Configuration and Data

Create Directories

Download trie.db.patch & poll.db

Create Configuration

Download genesis.yaml

Create general_config.yaml

This portion requires an L1_RPC within the configuration. Specifically, the object route of chain > committee > gravityChainAPIs

Download Necessary Data Files

Download iotex-data

Download State Database

circle-exclamation

Set up Iotex Chain

Clone Repository and Build Binary

Set up Iotex as a System Service

Create System Service File

Start System Service

Query Node

Check Logs of Node

Check Sync Status

Check Block Number

References

Last updated

Was this helpful?