Full Node Guide

Persyaratan Sistem

Komponen
Minimum
Recommended

RAM

4 GB

8 GB

CPU (amd64/x86 architecture)

2 Core

4 Core

Storage (SSD)

20-40 GB

200-300 GB

Install Dependency

Install Rust

sudo apt-get update
sudo apt install build-essential
sudo apt install --assume-yes git clang curl libssl-dev protobuf-compiler
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source ~/.cargo/env
rustup default stable
rustup update
rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly

lakukan command diatas satu per satu

Buka port

sudo apt-get install ufw
sudo ufw allow ssh
sudo ufw allow 30333/tcp
sudo ufw allow 9933/tcp
sudo ufw enable

Install screen

sudo apt install screen

Download data

screen -S avail
git clone https://github.com/availproject/avail.git
cd avail
mkdir -p data
git checkout v1.8.0.0
cargo build --release -p data-avail
sudo cp $HOME/avail/target/release/data-avail /usr/local/bin

Menjalankan node

Buat systemd

nano /etc/systemd/system/availd.service

ganti --name "NAMANODEMU" sesuai nama keinginan mu

[Unit]
Description=Avail Validator
After=network-online.target

[Service]
User=$USER
ExecStart=$(which data-avail) -d `pwd`/data --chain goldberg --validator --name $NAMANODEMU
Restart=on-failure
RestartSec=3
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target

ctrl+x lalu y enter

Jalankan Service Avail

Run otomatis saat booting

sudo systemctl daemon-reload
sudo systemctl enable availd.service

Menjalankan service secara manual

sudo systemctl start availd.service

Cek log

2023-10-11 16:11:31 Avail Node

2023-10-11 16:11:31 ✌️ version 1.8.0-9c5f37b9230

2023-10-11 16:11:31 ❤️ by Anonymous, 2017-2023

2023-10-11 16:11:31 📋 Chain specification: Avail Goldberg

2023-10-11 16:11:31 🏷 Node name: meowment

2023-10-11 16:11:31 👤 Role: FULL

…..

sudo journalctl -u availd -f -o cat

cek status service

sudo systemctl status availd.service

Cek Node

buka https://telemetry.avail.tools/ dan cek nama node mu

MENGHAPUS NODE ( BILA DIPERLUKAN! )

sudo systemctl daemon-reload
sudo systemctl stop availd.service
sudo systemctl disable availd.service
sudo rm /etc/systemd/system/availd.service
rm -rf $HOME/avail

Last updated