dd if=/dev/zero of=/home/swap-tmp bs=2048 count=2048K

mkswap /home/swap-tmp

swapon /home/swap-tmp