swap

First create a 2 GB file

For 8 GB, use count=8192. You can also use fallocate command instead of dd.

Make it swap

Add it to /etc/fstab

Add a Comment

Your email address will not be published. Required fields are marked *