Created
April 20, 2016 16:25
-
-
Save multivac61/b2636797fa7edc09f48fd07c2d93b862 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
# swampme.sh | |
# Create a 16GB swap space in current file system | |
dd if=/dev/zero of=/var/myswap bs=1M count=16384 | |
mkswap /var/myswap | |
swapon /var/myswap | |
echo "/var/myswap swap swap defaults 0 0" >> /etc/fstab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment