💻Baremetal

Authors: [man4ela | catapulta.eth]

System Requirements

CPU
OS
RAM
DISK

4 vCPU

Debian 12/Ubuntu 22.04

8GB min

16GB Recommended

2.5TB+ (SSD)

The Fuse archival node has a size of 2.5TB on Septmber 3rd, 2024

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 unzip

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

Allow remote RPC connections with Fuse node

sudo ufw allow from ${REMOTE.HOST.IP} to any port 8545 8546

Allow P2P Connections

Enable Firewall

To check the status of UFW and see the current rules

Building a Node on Fuse with Nethermind client

Install .NET SDK

Download the Latest Nethermind Release Binary

Use unzip to extract downloaded archive

Configuing Nethermind client

Increase the maximum number of open files

Create chainspec file for Fuse

Copy/Paste the following contents into the file:

Ctrl + X and Y to exit and confirm saving changes to a file

Create an empty config file for Fuse

Copy/Paste the following contents into the file:

Create Data Directory to store chain data for Fuse blockchain

Configure systemd Service

Ensure that you grant execute permission to the binary file:

Create a systemd service file:

Add the following content:

Ctrl + X and Y to exit and confirm saving changes to a file

Reload systemd and Enable the Service

To check or modify nethermind.service parameters simply run

sudo nano /etc/systemd/system/nethermind.service

Ctrl+X and Y to save changes

View Logs for Debugging

The logs should look like below and indicate that your node syncs and is expected to reach a chainhead in ~2-3 days

References

Last updated

Was this helpful?