Description:I followed below steps to change the hostname for Solaris 10 (x86).
Step 1: Logged as “root”
Step 2: Added /etc/hosts file with new Solaris Hostname
eg: 192.168.246.128 Soltest
Step 3: Execute the below command to write nodename with new Solaris Hostname
#echo “Soltest” > /etc/nodename
Step 4: Execute the below command to write hostname.e1000g0 or /etc/hostname.pcn0 or file with new Solaris Hostname
#echo “Soltest” /etc/hostname.e1000g0
or
#echo “Soltest” /etc/hostname.pcn0
Step 5: #uname –S Soltest
No comments:
Post a Comment