# dd if=/dev/zero of=/swap_file bs=1M count=2048 # /sbin/mkswap /swap_file # /sbin/swapon /swap_file # vi /etc/fstab /swap_file swap swap defaults 0 0