OpenStreetMap, aka OSM, is a user contributed world map that is freely editable. You can think of it as an open-source and self-hosted alternative to Google Maps. This tutorial will show you how to build your own OpenStreetMap tile server on Ubuntu 18.04 so you don’t have to use a proprietary map service.
Prerequisites/Hardware Requirements
The required RAM and disk space depends on which country’s map you are going to use. For example,
- The UK map requires at least 4G RAM and 60GB disk space.
- The whole planet map requires at least 24G RAM and 1TB disk space.
Read full tutorial here: https://www.linuxbabe.com/ubuntu/openstreetmap-tile-server-ubuntu-18-04-osm