« Archives in September, 2006

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