How to change hostname on Debian 10 Linux – nixCraft

This step-by-step guide explains how to change the hostname on your Debian Linux 10 Buster system using the hostnamectl and /etc/hosts file.
— Read on www.cyberciti.biz/faq/how-to-change-hostname-on-debian-10-linux/