Light node
Server specifications
Specification
Requirement
CPU
2+ VCPU
RAM
4+ GB
Storage
40+ GB SSD
UBUNTU
20
Installing essentials components
Before diving into the installation of your node, it's essential to update your VPS. To do this, simply run the following command in your VPS terminal :
sudo apt-get update && sudo apt-get upgrade -yInstall the necessary libraries
sudo apt install make clang pkg-config curl protobuf-compiler libssl-dev build-essential -yInstall essential components for the light node
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 nightlyClone the Avail Github
git clone https://github.com/availproject/avail-light.git
cd avail-lightLaunch the installation of the Avail Light Node folder
cargo build --releaseCreate a service
nano /etc/systemd/system/availd.service[Unit]
Description=Avail Light Client
After=network.target
StartLimitIntervalSec=0
[Service]
User=root
ExecStart= /root/avail-light/target/release/avail-light --network goldberg
Restart=always
RestartSec=120
[Install]
WantedBy=multi-user.targetLaunching the light node
systemctl enable availd.service
systemctl start availd.serviceCheck the status of your light node
systemctl status availd.serviceCheck the light node logs
journalctl -f -u availdLast updated