vim /etc/dphys-swapfile
Input the following for 512MB swap in the file and save:
CONF_SWAPSIZE=512
Now run the following command to finish the procecedure.
dphys-swapfile setup
dphys-swapfile swapon
vim /etc/dphys-swapfile
Input the following for 512MB swap in the file and save:
CONF_SWAPSIZE=512
Now run the following command to finish the procecedure.
dphys-swapfile setup
dphys-swapfile swapon