如何修改本地hosts文件? 1.window7修改本地hosts文件 # window7系统hosts文件位置 C:WindowsSystem32driversetc 2.linux # linux系统hosts文件位置 [root@localhost etc]# cat /etc/hosts