dd if=/dev/zero of=/.swapfile bs=1M count=2048
chmod 0600 /.swapfile
mkswap /.swapfile
swapon /.swapfile
Last active
August 30, 2017 06:51
-
-
Save gbraad/7df1ac9c89d5be7086af67fa981f8e50 to your computer and use it in GitHub Desktop.
Add swap to virtual machine
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment