Last active
May 15, 2017 16:10
-
-
Save superbarne/77bd850d5c270bf7cad4 to your computer and use it in GitHub Desktop.
swap
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
#curl https://gist.githubusercontent.com/einfacheruser/77bd850d5c270bf7cad4/raw/ff398380c2c8a1dad17ce00a307223fb57fcba24/gistfile1.txt | sh | |
sudo fallocate -l 4G /swapfile | |
sudo chmod 600 /swapfile | |
sudo mkswap /swapfile | |
sudo swapon /swapfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment