..::capture of life::..

...my thoughts, learnings & captured images...

Changing HOST name in Solaris

To change the hostname on a Solaris system:

1. Change the hostname in /etc/nodename.Replace the information in this file; commenting out the previous value will cause problems during a reboot.

2. Change the hostname in /etc/hostname.network_interface (e.g., /etc/hostname.hme0). Replace the information in this file; commenting out the previous value will cause problems during a reboot.

3. Change the hostname in /etc/hosts

4. Change the hostname in /etc/inet/ipnodes (Solaris 10 or later)

After that reboot the BOX then new host name will take effect.

0 comments:

add2any