How to reinstall macOS – fast and from scratch

A guide on how to reinstall macOS from scratch (with wiping disks), pointing out the important settings and some considerations. Additionally required power settings for running as a server 24×7 and how to install AnyDesk as a service for unattended access, which is already available on the logon screen