天天看点

[Tools] 一键让你的所有设备访问Google、youtube、facebook、twitter、battle.net 什么是host? 效果图 如何做?

版权声明:请尊重个人劳动成果,转载注明出处,谢谢!

[Tools] 一键让你的所有设备访问Google、youtube、facebook、twitter、battle.net 什么是host? 效果图 如何做?

①先找到你对应系统的host文件

hosts所在文件夹: windows 系统hosts位于 c:\windows\system32\drivers\etc\hosts mac(苹果电脑)系统hosts跟linux一样位于 /etc/hosts linux系统hosts位于 /etc/hosts

② 做备份(万一那啥了是吧)

  windows host 备份:

③ 百度(google hosts 最新)下载,因为有些ip会失效(我还没有失效过)。

④直接替换系统的host文件(修改时应当注意权限问题,建议关闭360等安全软件)

windows :

[Tools] 一键让你的所有设备访问Google、youtube、facebook、twitter、battle.net 什么是host? 效果图 如何做?

⑤刷新 dns 缓存(其实我没刷新也可以用)

windows 

开始 -> 运行 -> 输入cmd -> 在cmd窗口输入

linux   

终端输入

linux(systemd发行版)

mac os x 

android 和 ios 

重启

  其实很多网站都可以访问,你可以试试,比如:

接下来就享受谷歌吧!

继续阅读