Very quickly adding swap to Ubuntu 14.04
Following is the quickest way to add swap space to Ubuntu 14.04 installation. I am writing the post because I keep having to look this up and given the convenience and price of DigitalOcean’s base plan it is necessary for anything a bit heavier.
In fact, it is necessary for anything that would use nginx because the compilation normally fails when the machine does not have more then 1GB of memory. given that nginx normally chokes while compiling if the machine does not have more then 1GB.
Get in touch
Or send me feedback. It will take less than 20 seconds.