How to Change Hostname on Linux

This article show to change hostname in linux CentOS 7 and Ubuntu 18 : Change hostname on linux Centos 7.7 : # hostnamectl set-hostname centos77.linodelinux.com # hostnamectl hostnamectl Static hostname: centos77.linodelinux.com Icon name: computer-vm Chassis: vm Machine ID: 341e401e827641bda8eac222c3988c65 Boot ID: 0d2752d42a6a4325aa07f8d92162b852 Virtualization: vmware Operating System: CentOS Linux 7 (Core) CPE OS Name: cpe:/o:centos:centos:7 Kernel: …

Read more