Skip to content

Instantly share code, notes, and snippets.

@MEGApixel23
Last active June 16, 2016 07:41
Show Gist options
  • Save MEGApixel23/f9e9c4ee11c3982ff44bc81b512de839 to your computer and use it in GitHub Desktop.
Save MEGApixel23/f9e9c4ee11c3982ff44bc81b512de839 to your computer and use it in GitHub Desktop.
dd if=/dev/zero of=/swapfile bs=1024 count=1024288
chown root:root /swapfile
mkswap /swapfile
swapon /swapfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment