1. View the existing host name
hostname
2. Modify hostname
vi /etc/sysconfig/network
3. Modify the hosts file
vi /etc/hosts
4. Restart the machine
reboot
1. View the existing host name
hostname
2. Modify hostname
vi /etc/sysconfig/network
3. Modify the hosts file
vi /etc/hosts
4. Restart the machine
reboot