Server Setup


Basic setup

After spinning up a VPS (all documentation assumes Ubuntu 18.04 server as Dokku doesn't have a version for 20.04 as of Aug 2020) you will need to get the inital configuration done. This includes:

  • Changing the root password and creating a new sudo user
  • Setting up SSH
  • Seting up key based authentication
  • Changing SSH port from default
  • Set up UFW firewall
  • Add swapfile.
Instructions for how to do this are in: faX base server configuration

A note on GDAL

GDAL is a major pain in the ass, but needed for Crags.pk and can not really be installed fully with pip. So this needs to be done separately, either on the host machine directly using apt or if using Dokku, the geo buildfile.