Note: Before we going ahead you have to follow 1-9 steps using below link.
Step 10. Use below commands to create swap on our system.
Step 11. Now we have to on that swap on our system by below command.
Step 12. To make it enable on system boot, simply edit /etc/fstab file and add following entry at end of file.
Step 13. Run below command to mount your volume permanently
Step 14. To check your mounted volume run below command
Note: Your swap partition is successfully configured.