Solaris 10 – Hostname

To Change the hostname temporary, type the command hostname:
# hostname NewHostname

To change the hostname permanently:
1. Edit /etc/nodename
Enter the new hostname in nodename.
2. Edit /etc/hostname.PrimaryNIC
Edit the primary network device.
# vi /etc/hostname.nxge0
3. Edit /etc/hosts
Enter the IP address of the primary NIC and hostname.
4. Reboot


Published by

Ferdy Mañago

/* Great Software Ideas */