Skip to content

Instantly share code, notes, and snippets.

@andresgutgon
Last active October 9, 2019 12:59
Show Gist options
  • Save andresgutgon/54b2e6ad0d20b79ccc5c8394f6c6726b to your computer and use it in GitHub Desktop.
Save andresgutgon/54b2e6ad0d20b79ccc5c8394f6c6726b to your computer and use it in GitHub Desktop.
# SWAP The fcsonline way
# First make yourself sudo like this
sudo su
# The copy these lines in the console
fallocate -l 2G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
@andresgutgon
Copy link
Author

The run free command to check swap was added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment