Home > Unix > Changing HOST name in Solaris

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.

Categories: Unix Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s