Friday, December 5, 2008

create swap on file

su
dd if=/dev/zero of=/swapfile bs=1024 count=2000000
mkswap -c /swapfile
---edit /etc/fstab
---add
/swapfile swap swap defaults 0 0

No comments: