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

From OnnoWiki
Jump to navigation Jump to search
Line 11: Line 11:
  
 
  127.0.0.1      localhost
 
  127.0.0.1      localhost
  192.168.0.254  sekolah.sch.id sekolah
+
  192.168.0.254  sekolah.sch.id sekolah mahara.sekolah.sch.id www.sekolah.sch.id
  
 
  # The following lines are desirable for IPv6 capable hosts
 
  # The following lines are desirable for IPv6 capable hosts
Line 20: Line 20:
 
  ff02::2 ip6-allrouters
 
  ff02::2 ip6-allrouters
 
  ff02::3 ip6-allhosts
 
  ff02::3 ip6-allhosts
 
  
 
==Pranala Menarik==
 
==Pranala Menarik==

Revision as of 11:02, 18 November 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 mahara.sekolah.sch.id www.sekolah.sch.id
# 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