swap

First create a 2 GB file

For 8 GB, use count=8192

Make it swap

Add it to /etc/fstab