Last active
November 11, 2015 06:10
-
-
Save genediazjr/4bf8a9ce14bfbfc35399 to your computer and use it in GitHub Desktop.
Increase Memory on Debian
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
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