Created
December 5, 2024 12:37
-
-
Save Nenzyz/cda4c40d7d36bde912e5476cc8911118 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
| fallocate -l 8G /swapfile | |
| chmod 600 /swapfile | |
| mkswap /swapfile | |
| swapon /swapfile | |
| echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab | |
| mount -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment