How to change the Hostname on AlmaLinux 8, CentOS 8 and Rocky Linux 8
The easiest way to change the hostname on AlmaLinux 8, CentOS 8, and Rocky Linux 8 is to use the hostnamectl command. First I will check the current hostname by running "hostnamectl status" on the shell of my server: hostnamectl status The output on my system is: [root@server1 ~]# hostnamectl status Static hostname: server1.example.com Icon ... Read more