Last active
July 12, 2019 13:13
-
-
Save yuriploc/3891c1f8829515a65401a5ec754737e9 to your computer and use it in GitHub Desktop.
add 2GB of swap memory
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
dd if=/dev/zero of=/var/swap bs=1k count=2048k | |
mkswap /var/swap | |
swapon /var/swap | |
echo '/var/swap swap swap default 0 0' >> /etc/fstab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment