Mini Guides

Swapfile Setup

https://linuxize.com/post/create-a-linux-swap-file/

# Can change below to different GB amount
sudo fallocate -l 8G /swapfile

sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo "/swapfile swap swap defaults 0 0" | sudo tee -a /etc/fstab

# verify
sudo swapon --show