Add Permanent Hostname in CentOS

1. edit file /etc/sysconfig/network
2. channge line HOSTNAME=localhost.localdomain to whatever you want.
3. Reboot system.
4. Thank me.

Leave a Comment

Your email address will not be published.