Jumat, 03 Juli 2009

setting host name di linux

fendy@lion:~$ nano /etc/hosts
fendy@lion:~$


GNU nano 2.0.2 File: /etc/hosts

127.0.0.1 localhost
127.0.1.1 lion
192.168.1.253 shark
192.168.1.253 hq.bits-soft.com
192.168.1.253 ebiz.bits-soft.com
192.168.1.254 gtw
192.168.1.251 snake
125.164.215.77 active
125.164.66.75 smart

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


[ line 1/18 (5%), col 1/26 (3%), char 0/413 (0%) ]
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell


Tidak ada komentar:

Posting Komentar