▶️Installation
Step 1: Update and install packages for compiling
sudo apt update && sudo apt upgrade -y
sudo apt install curl git wget htop tmux build-essential jq make lz4 gcc unzip -yStep 2: Install Rust
curl https://sh.rustup.rs -sSf | shSelect 1 and enter
Step 3: Go to home
source $HOME/.cargo/envStep 4: Update rust
rustup update nightlyStep 5: Add tools
rustup target add wasm32-unknown-unknown --toolchain nightlyStep 6: Access Avail folder
mkdir avail
cd availStep 7: Download Binary
wget https://github.com/availproject/avail/releases/download/v2.2.5.1/x86_64-ubuntu-2204-avail-node.tar.gzStep 8: Extract
tar -xf x86_64-ubuntu-2204-avail-node.tar.gzStep 9: run node
./avail-node --chain mainnet --name "Validator Moniker" --validator -d ./node-dataCTRL + C to escape (You need to run validator to your system to make system running 24/7)
Step 10: Edit service file
sudo nano /etc/systemd/system/availd.serviceChange your Validator Moniker
[Unit]
Description=Avail Validator
After=network.target
StartLimitIntervalSec=0
[Service]
User=root
ExecStart= /root/avail/avail-node -d /root/avail/node-data --chain mainnet --validator --name "Validator Moniker"
Restart=always
RestartSec=120
[Install]
WantedBy=multi-user.targetStep 11: Enable the service file
sudo systemctl daemon-reload
sudo systemctl enable availd.serviceStep 12: Start service file
sudo systemctl start availd.serviceStep 13: Check status of service
sudo systemctl status availd.serviceStep 14: Check logs
journalctl -f -u availdThank's to ADAM_VNBnode for the guide it's very clear and we reshare for our community Source : https://github.com/vnbnode/VNBnode-Guides/blob/main/Mainnet/Avail/avail_mainnet.md
Last updated
Was this helpful?