/swapfile file 524284 0 -1
Now the swap file is there and turned on.
Now the problem is, when you VM will reboot, the swap will be gone. So, to make the swap permanent, we need to do something more.
This will open a text editor which should look like this:
Welcome to the world of Text based computing! This is usually a shocker for Windows users. There’s no Notepad guys.
Now, go to the end of the file and add this line:
/swapfile none swap sw 0 0
It will then look like this:
Now here’s the awesome thing. How do you save and exit?
Press Ctrl X, then Y, then ENTER. Yes, it is not Windows. It takes a while to get used to it.
After exiting, run this command:
chown root:root /swapfile
endpoint security dlp endpoint security business