SchoolOnffLine: Setup Hostname sekolah.sch.id: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
Onnowpurbo (talk | contribs)
No edit summary
Line 1: Line 1:
==Edit /etc/hostname==
==Set /etc/hostname==


  # vi /etc/hostname
  # echo sekolah.sch.id > /etc/hostname


isi dengan nama sekolah anda, dalam contoh ini


sekolah
==Set /etc/hosts==
 
ternyata hostname sebaiknya satu kata, tanpa "." seperti
 
sekolah.sch.id
 
 
==Edit /etc/hosts==


  # vi /etc/hosts
  # vi /etc/hosts

Revision as of 05:30, 7 September 2009

Set /etc/hostname

# echo sekolah.sch.id > /etc/hostname


Set /etc/hosts

# vi /etc/hosts

isi dengan

127.0.0.1      localhost
192.168.0.254  sekolah.sch.id sekolah
# 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


Pranala Menarik