Enable SWAP on Debian based Linux machines
The are the command to enable SWAP when SWAP has been disabled or not setup at all. # Allocate 1GBsudo fallocate -l 1G /swapfile # Securesudo chmod 600 /swapfile #…
The are the command to enable SWAP when SWAP has been disabled or not setup at all. # Allocate 1GBsudo fallocate -l 1G /swapfile # Securesudo chmod 600 /swapfile #…
When your swapfile is to tiny, you can easily exend the size of it. Here is the procedure for RedHat and CentOS. free -m dd if=/dev/zero of=/swapfile bs=1M count=8192 mkswap…