Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
# Creates a SWAP File for the QuickStart
# you can edit the NUMBLOCKS*BLOCKSIZE to match the desired RAM.
# Reference =
dd if=/dev/zero of=/swapfile bs=${BLOCKSIZE} count=${NUMBLOCKS}
mkswap /swapfile
swapon /swapfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment