This is just a place to save these commands so I don't have to hunt them up YET AGAIN.
Changing an Ubuntu 18.04 LTS server's name
This is pretty easy.$ sudo hostnamectl set-hostname linuxconfig
This note is not (currently) for me: Check for the existence of /etc/cloud/cloud.cfg and change preserve_hostname: false to preserve_hostname: true
Changing the static IP of an Ubuntu 18.04 LTS server
This is no longer in the /etc/network/interfaces. Instead look in /etc/netplan (sudo -s first or it will not auto-complete leading me to believe it didn't exist). The file is 50-cloud-init.yaml.That is all I have to say since this note is mainly for me. Hopefully I'll know what else to do when I need this information again.
---
*RHELish (pronounced "relish") is the term I coined for Red Hat -like based systems such as (of course) Red Hat Enterprise Linux, CentOS, Scientific Linux and Oracle Linux.