11.23/ etc/hosts etc/ hosts文件是系统本地的主机名解析数据库 内容实例: Do not remove the following line, or various programs that require network functionality will fail 127.0.0.1 localhost. localdomain localhost 192.168.1.2 linux-server 111.2.3 /etc/hosts ◼ /etc/hosts文件是系统本地的主机名解析数据库 ◼ 内容实例: # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 192.168.1.2 linux-server1