Last active
December 9, 2015 23:19
-
-
Save tachesimazzoca/4343390 to your computer and use it in GitHub Desktop.
Adding swap space #linux
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
% su - | |
% dd if=/dev/zero of=/swap bs=1M count=2048 | |
% mkswap /swap | |
% swapon /swap | |
% vi /etc/fstab | |
.... | |
/swap swap swap defaults 0 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment