1. /etc/hostname
hostname
2. /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.0.100 hostname.domainname hostname
3. /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 163.18.1.7
dns-search nkfust.edu.tw
沒有留言:
張貼留言