<aside> 🖥️ System Requirements CPU: 4 cores Memory: 16GB Storage: 500GB / 1TB NVMe SSD Bandwidth: 500 Mbps for Download/Upload

</aside>


Update VPS & Install Required Packages

sudo apt update && sudo apt upgrade -y
sudo apt install curl git jq build-essential gcc unzip wget lz4 -y

Install Go

cd $HOME && \\\\
ver="1.22.4" && \\\\
wget "<https://golang.org/dl/go$ver.linux-amd64.tar.gz>" && \\\\
sudo rm -rf /usr/local/go && \\\\
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz" && \\\\
rm "go$ver.linux-amd64.tar.gz" && \\\\
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile && \\\\
source ~/.bash_profile && \\\\
go version

Install Rustup

To install Rustup, when prompted with options 1, 2, or 3, simply press Enter to select the default option and wait for the installation to complete.

curl --proto '=https' --tlsv1.2 -sSf <https://sh.rustup.rs> | sh

Clone the Repository

git clone -b v0.3.1 <https://github.com/0glabs/0g-storage-node.git>

Build Storage Node

In this step, you need to wait for the installation to complete.\

cd $HOME/0g-storage-node
git submodule update --init
sudo apt install cargo
cargo build --release

Create and Use Your Own RPC

Open your app.toml file:

nano $HOME/.0gchain/config/app.toml

Update JSON-RPC settings: