Sunday, January 10, 2010

Change hostname on HP-UX

1. root@myhpux:/> hostname hpuxdev
2. root@myhpux:/> uname –S hpuxdev
3. root@myhpux:/> vi /etc/rc.config.d/netconf

before:
root@myhpux:/etc/rc.config.d> vi netconf

HOSTNAME="myhpux"

OPERATING_SYSTEM=HP-UX

LOOPBACK_ADDRESS=127.0.0.1


after:
HOSTNAME="hpuxdev"

OPERATING_SYSTEM=HP-UX

LOOPBACK_ADDRESS=127.0.0.1


4. root@hpuxdev:/> /sbin/init.d/net start
5. verifikasi hasil
root@myhpux:/> hostname

hpuxdev

root@myhpux:/> nodename

hpuxdev


Semoga bermanfaat..

1 komentar:

Anonymous said...

It´s very good!
This help me a lot of !!!
tks

Post a Comment

 
footer