create, select new droplet(be sure to add your ssh key), select ubuntu obviously, give it a namessh root@ip.address)
source that filewhateveraliassudo apt-get updatesudo apt-get install build-essential libssl-devcurl -sL https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh -o install_nvm.sh (swap v0.33.11 with the most recent version)bash install_nvm.sh
node and npm as well as nvmnodejs namespace which makes swapping between OSX and Ubuntu less annoyingsource ~/.profile (because some stuff got added there)nvm ls-remote to see which versions of node you can download if you don't already know which one you wantnvm install {VERSION} to install, use, and set it as defaultnpm install -g pm2 because you're gonna install pm2 eventually anywaywhich node, and use that filepath to run sudo ln -s {WHICH NODE FILEPATH} /usr/local/bin/nodewhich npm, and use that filepath to run sudo ln -s {WHICH NPM FILEPATH} /usr/local/bin/npmwhich pm2, and use that filepath to run sudo ln -s {WHICH PM2 FILEPATH} /usr/local/bin/pm2sudo apt-get update (again)sudo apt-get install nginxvim /etc/nginx/sites-available/defaultserver_name line and replace the underscore with your domain namesudo nginx -t (test that nginx is configured correctly and you didn't fuck anything up attempting to change one dang line)sudo systemctl reload nginxsudo add-apt-repository ppa:certbot/certbotsudo apt-get update (cannot get enough of this shit)sudo apt-get install python-certbot-nginxsudo certbot --nginx -d {YOUR DOMAIN} (add additional -d tags for each sub/domain name the cert should be valid for)Blankslate.io is a free, browser-based note-taking application. Open the page and start typing — no setup required.
With Blank Slate you can:
Blank Slate only requests access to your Google account when you choose “Save as Google Doc.” We use Google Drive access solely to create or update a Google Doc from your note content. We do not read, store, or use your Google data for any other purpose.