Created
September 30, 2019 11:19
#linux setup cache in ubuntu
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 swapoff /swapfile | |
sudo rm /swapfile | |
sudo dd if=/dev/zero of=/swapfile bs=1M count=4096 #create 4 GB swap | |
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