Created
March 13, 2016 01:55
-
-
Save nloadholtes/1eccc24cf237e49b90cc to your computer and use it in GitHub Desktop.
Lets make some swap space!
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
sudo dd if=/dev/zero of=/swapfile1 bs=1024 count=524288 | |
sudo chown root:root /swapfile1 | |
sudo chmod 0600 /swapfile1 | |
sudo mkswap /swapfile1 | |
sudo swapon /swapfile1 | |
free -m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment