phon3 / avax-node-tutorial-by-coyote-bots

Tutorial to create a node on Avalanche network (AVAX) to use with Coyote Chainsniper Linux Edition.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coyote bot logo

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.

  1. 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.
  1. Update all packages
apt update && apt upgrade -y
  1. Create avax user
useradd -m avax
cd /home/avax
  1. 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
  1. Edit starting script
nano start.sh
  1. Paste thie content
./avalanchego-v1.7.5/avalanchego
  1. Make file executable
chmod +x start.sh
  1. Make service
nano /lib/systemd/system/avax.service
  1. 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
  1. Chown files to avax user
chown -R avax.avax /home/avax/*
  1. Start Node
systemctl enable avax
systemctl start avax
  1. Check logs
journalctl -u avax -f
  1. Use the node with Coyote Chainsniper
In config.json : 
HTTP node : http://127.0.0.1:9650/ext/bc/C/rpc

About

Tutorial to create a node on Avalanche network (AVAX) to use with Coyote Chainsniper Linux Edition.