AVAX Node Installer Tutorial
created by cedrik31tlse#8672 (Discord) / cedrik31tlse (Telegram)
Tutorial to create a node on Avalanche network (AVAX) to use with Coyote Chainsniper Linux Edition.
Link to official server of Coyote bots : https://discord.gg/fP3Z4tY92j
This tutorial helps to create a node on Avalanche network from a fresh install of Ubuntu 20.04.
- HETZNER put disk in RAID 0
- Run your server in Linux Rescue mode
- Go in your server panel on hetzner website
- Go in Rescue tab. Activate it and save the new password
- Go in Reset tab and do a Automatic reset
- Run in SSH with the new root password
Type :
installimage
Then change SWRAIDLEVEL to 0
Then press F2 to save
Then press F10 2 times to exit.
At the end of the reformat, enter "reboot".
The server will reboot and you can start at step 1.
- Update all packages
apt update && apt upgrade -y
- Create avax user
useradd -m avax
cd /home/avax
- Download executable Avalanche
wget https://github.com/ava-labs/avalanchego/releases/download/v1.7.5/avalanchego-linux-amd64-v1.7.5.tar.gz
tar -xvf avalanchego-linux-amd64-v1.7.5.tar.gz
- Edit starting script
nano start.sh
- Paste thie content
./avalanchego-v1.7.5/avalanchego
- Make file executable
chmod +x start.sh
- Make service
nano /lib/systemd/system/avax.service
- Paste the content
[Unit]
Description=AVAX Full Node
[Service]
User=avax
Type=simple
WorkingDirectory=/home/avax
ExecStart=/bin/bash /home/avax/start.sh
Restart=on-failure
RestartSec=5
[Install]
WantedBy=default.target
- Chown files to avax user
chown -R avax.avax /home/avax/*
- Start Node
systemctl enable avax
systemctl start avax
- Check logs
journalctl -u avax -f
- Use the node with Coyote Chainsniper
In config.json :
HTTP node : http://127.0.0.1:9650/ext/bc/C/rpc