Last active
January 13, 2020 09:13
-
-
Save mfcodeworks/6335a415ba1a2f96303614debd8d3853 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
sudo mkdir -p /var/swaps/ | |
sudo dd if=/dev/zero of=/var/swaps/swap.1 bs=1M count=4096 | |
sudo mkswap /var/swaps/swap.1 | |
sudo chmod 600 /var/swaps/swap.1 | |
echo "/var/swaps/swap.1 swap swap defaults 0 0" | sudo tee -a /etc/fstab | |
sudo swapon -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment