Solved: How to add swap space in Redhat or Ubuntu Linux

In this post  we will see how we can add a file as swap space in Linux. Same steps are to be followed for Redhat and Ubuntu Linux.

Type the following command to create 100MB swap file (1024 * 100MB = 102400 block size):

Udemy
dd if=/dev/zero of=/swap1 bs=1024 count=102400

Secure swap file

VMWare AU/Asia Pacific

Continue reading “Solved: How to add swap space in Redhat or Ubuntu Linux”