1- vi /etc/sysconfig/network
2- edit the valus of HOSTNAME in that file to the value you want.
3- Replace the old value with the new value in /etc/hosts
4- Reboot the server
2- edit the valus of HOSTNAME in that file to the value you want.
3- Replace the old value with the new value in /etc/hosts
4- Reboot the server
Regards,
Mohamed
No comments:
Post a Comment