Debian
How to configure static IP on Debian server
Edit config: Usual default config: Change to: 1.1.1.1 & 8.8.8.8 are Cloudflare and Google’s free public DNS servers, you can add your own dns server beside these. Restart network service for changes to take effect:
OS Update
These are tested on Ubuntu 20.04 but probably work on other Debian distributions Full update (no questions, yes to all) Removes packages that are no longer needed: