Created
September 17, 2018 15:37
-
-
Save crzapata/892ad20c0b895275216be5a84ea427d2 to your computer and use it in GitHub Desktop.
Swapfile for Vagrant Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant ssh | |
sudo su | |
rm /swapfile | |
fallocate -l 4G /swapfile | |
chmod 600 /swapfile | |
mkswap /swapfile | |
swapon -s | |
Source: https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment