Skip to content

Connection check to VPN or network #

Description #

Increase swap space by creating a swap file1

Instructions #

1
2
3
4
5
6
sudo fallocate -l 8G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo cp /etc/fstab /etc/fstab.bak
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab

Last update: January 27, 2021