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


Need help with Linux Server or WordPress? We can help!

Leave a Reply

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