Created
September 1, 2017 08:14
-
-
Save emilk/4de7ee5b21d994258446ca4970d99c3c to your computer and use it in GitHub Desktop.
This file contains 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=/root/myswapfile bs=1M count=65536 | |
sudo chmod 600 /root/myswapfile | |
sudo mkswap /root/myswapfile | |
sudo swapon /root/myswapfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment