Setting up swap

# set up 512MB swap file
dd if=/dev/zero of=/swapfile bs=1024k count=512
mkswap /swapfile
swapon /swapfile

# enable it at boot time, edit /etc/fstab to include:
/swapfile  swap  swap  defaults  0  0

Posted

in

by

Tags:

Comments

Leave a Reply

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