add this line into /etc/hosts
127.0.0.1 localhost loghost
save and exit.
Thursday, May 13, 2010
Wednesday, May 12, 2010
Solaris 10 : Changing hostname
1. /etc/hosts
2. /etc/nodename
3. /etc/hostname.
--------------------------------------------------
root@-i # more /etc/hosts
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
203.223.137.104 oratest oratest.com.my loghost
--------------------------------------------------
root@-i # more /etc/nodename
oratest
--------------------------------------------------
root@-i # more /etc/hostname.e1000g0
oratest
--------------------------------------------------
2. /etc/nodename
3. /etc/hostname.
--------------------------------------------------
root@-i # more /etc/hosts
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
203.223.137.104 oratest oratest.com.my loghost
root@-i # more /etc/nodename
oratest
--------------------------------------------------
root@-i # more /etc/hostname.e1000g0
oratest
--------------------------------------------------
Subscribe to:
Posts (Atom)