How to Change Hostname on Debian 9

This tutorial will guide you through the steps required to change the hostname on your Debian 9 system.

Source: LXer