Headless

There are numerous guides around to configure Dropbox on a headless Debian or Ubuntu server but it seems everytime I go to do one, I can’t find
the nice guide I usually use or a website is down when I look for alternatives.
So here is my quick guide for myself and anyone else that might stumble upon this page :)