Adding swap on VPS

Hi,

Can I add swap to my VPS?
It didnt come with swap partition, So I am wondering if I can create it from this manual:
https://www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04
or should I create it via Webmin?
or it doesnt matter?

Howdy,

If you’re using Ubuntu with Digital Ocean as a provider, the documentation you linked to would work perfectly, that’s how I’d go about adding swap space.

-Eric