Skip to content

Instantly share code, notes, and snippets.



Created Jan 7, 2016
What would you like to do?
enable swap on ubuntu 14.04
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment