/etc/hosts
hosts文件其中 127.0.0.1 是本地环路地址, localhost.localdomain 是主机名(hostname),如果要修改主机名称也就是你待修改的。localhost 是主机名的别名(alias),它会出现在Console的提示符下。将第二项修改为你的主机名,第三项可选。
hosts文件其中 127.0.0.1 是本地环路地址, localhost.localdomain 是主机名(hostname),如果要修改主机名称也就是你待修改的。localhost 是主机名的别名(alias),它会出现在Console的提示符下。将第二项修改为你的主机名,第三项可选。