1.window7修改本地hosts文件
# window7系统hosts文件位置 C:\Windows\System32\drivers\etc
2.linux
# linux系统hosts文件位置 [root@localhost etc]# cat /etc/hosts
Rivend 2019-12-19 04:41 原文
# window7系统hosts文件位置 C:\Windows\System32\drivers\etc
# linux系统hosts文件位置 [root@localhost etc]# cat /etc/hosts