关键是以下四个文件:
1. /etc/host 127.0.0.1 localhost
192.168.1.132 hostname loghost (可通过sys-uncofig命令重新设置)
2. /etc/resolv.conf (自建的,DNS设置) nameserver 192.168.1.1
3. /etc/defaultroute(自建的,网关设置) 192.168.1.1
4. /etc/nsswitch.conf hosts一行添加 files dns 即为: hosts: files dns