How to change hostname in CentOS
The computer hostname identification of a computer. if you changed the computer hostname and that computer in a network in that case you can easily identify that computer in that specific network. you can set to any name of your computer hostname. if you want to change the hostname of your computer use the following steps.
Change the hostname in CentOS
1. open the terminal and type following command to know name of your computer.
# hostname
# hostnamectl set-hostname your-new-hostname (itsuupport)
# hostname
# vi /etc/hostname
# systemctl reboot
0 Comments