Created
February 16, 2019 05:40
-
-
Save irishquinn/377aa892e73d418c2605e5c56c5cef4e to your computer and use it in GitHub Desktop.
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
sudo fallocate -l 2G /swapfile | |
sudo chmod 600 /swapfile | |
sudo mkswap /swapfile | |
sudo swapon /swapfile | |
swapon -s | |
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab | |
free -m | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment