Created
August 27, 2018 13:32
-
-
Save viebig/a8105b4e4353f6e3dc85529d2ad53a56 to your computer and use it in GitHub Desktop.
Amazon AWS AMI Create Swap Space
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 /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024 && \ | |
sudo /sbin/mkswap /var/swap.1 && \ | |
sudo chmod 600 /var/swap.1 && \ | |
sudo /sbin/swapon /var/swap.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment