Skip to content

Instantly share code, notes, and snippets.

@genediazjr
Last active November 11, 2015 06:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save genediazjr/4bf8a9ce14bfbfc35399 to your computer and use it in GitHub Desktop.
Save genediazjr/4bf8a9ce14bfbfc35399 to your computer and use it in GitHub Desktop.
Increase Memory on Debian
dd if=/dev/zero of=/swapfile1 bs=1024 count=524288
mkswap /swapfile1
chown root:root /swapfile1
chmod 0600 /swapfile1
swapon /swapfile1
nano /etc/fstab
-----------------------------------------------------------------------------
/swapfile1 swap swap defaults 0 0
-----------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment