swapfile

  1. Andy

    Setting up a Linux swap

    How to add Swap File Follow these steps to add 1GB of swap to your server. If you want to add 2GB instead of 1 GB, replace 1G with 2G. Create a file that will be used for swap:root@cana:/# fallocate -l 1G /swapfileIf fallocate is not installed or if you get an error message saying fallocate...
Back
Top