Swap space is hard disk space that extends system RAM
Create a swap file (or partition)
dd if=/dev/zero of=/var/local/swapfile bs=1k count=1M
Write special signature
mkswap /var/local/swapfile
Add entry to /etc/fstab
/var/local/swapfile swap swap defaults 0 0
Activate swap space
swapon -a
Leave a Reply
You must be logged in to post a comment.