Skip to content

Instantly share code, notes, and snippets.

@keefertaylor
Last active June 1, 2020 13:55
Show Gist options
  • Save keefertaylor/bb5b3e1dabd4e95057b19c1064c889c0 to your computer and use it in GitHub Desktop.
Save keefertaylor/bb5b3e1dabd4e95057b19c1064c889c0 to your computer and use it in GitHub Desktop.
## Swap Space
sudo dd if=/dev/zero of=/swapspace bs=1M count=4000
sudo mkswap /swapspace
sudo chmod 600 /swapspace
sudo swapon /swapspace
sudo bash -c "echo \"/swapspace none swap defaults 0 0\" >> /etc/fstab"
# See free mem space
free -m
# Update tooling
sudo apt-get update
sudo apt-get -y upgrade
# Install Go
sudo snap install --classic go
# Install other tools
sudo apt install -y git gcc make
# See instructions here
https://medium.com/avalabs/how-to-join-avas-denali-test-network-9bbfb353207b
Username: Tessellated-Geometry
Password Hint: robinson
X-Address: X-6QgZz6kQ8rGLpDAfricEhKfNQnpYMStLd
P-Address: HsJxxbqeBcgf9VVLFSUSyfBQCXk8aSXXz
Node ID: B8XLg1Wz3nmhtEHZHNC8TomKsV4Uo3yUc
# The ava service
# file: /etc/systemd/system/ava.service
[Unit]
Description = Ava Service
[Service]
User = ubuntu
Group = ubuntu
WorkingDirectory= /home/ubuntu/
ExecStart = /home/ubuntu/go/src/github.com/ava-labs/gecko/build/ava
Restart = always
[Install]
WantedBy = multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment