Created
June 6, 2021 03:36
-
-
Save ultrasilicon/a805c59061ac89e8ff6c88a473121aa6 to your computer and use it in GitHub Desktop.
This file contains 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=/swapfile bs=256M count=32 | |
chmod 600 /swapfile | |
mkswap /swapfile | |
swapon /swapfile | |
echo "/swapfile swap swap defaults 0 0" >> /etc/fstab | |
sudo swapon --show |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment