Wednesday, December 29, 2010

How to Change a Hostname on Solaris


How to Change a Hostname on Solaris
Solaris makes it unreasonably difficult to change the hostname of an installed server.

To change the hostname on a Solaris system, you should edit all of these files:

/etc/hosts
/etc/nodename
/etc/hostname.*
/etc/net/ticlts/hosts
/etc/net/ticots/hosts
/etc/net/ticotsord/hosts
/etc/inet/ipnodes
You should then reboot the server to test your changes and ensure that they operate correctly.

No comments:

Post a Comment