-
-
Save datfaf/1199098 to your computer and use it in GitHub Desktop.
Add swap Ubuntu
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=/swapfile bs=1M count=2048 | |
sudo mkswap /swapfile | |
gksu gedit /etc/fstab | |
add to the end: | |
/swapfile none swap sw 0 0 | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment