Last active
November 21, 2015 13:59
-
-
Save bragboy/b0ce775483227d4e1218 to your computer and use it in GitHub Desktop.
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 su - root | |
| cd /var | |
| touch swap.img | |
| chmod 600 swap.img | |
| dd if=/dev/zero of=/var/swap.img bs=1024k count=8000 | |
| mkswap /var/swap.img | |
| swapon /var/swap.img |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment