Use the dd command to make a swap file. Set the count to the number of megabytes you'd like the swap file to be. Then run the mkswap command to make it usable as swap.