How To Set Up Swap Files On Linux

By | December 24, 2021

In general, swap is created automatically when installing Linux for the first time. You can freely set how much capacity is needed in the swap file. However, if the running OS does not have a swap partition like a VPS (Virtual Private Server), then you need to create it manually. Setting the Swap File For the example below I will set up a swap file