Skip to content

weakiwi/hosts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 

Repository files navigation

undefine

Windows

  • 用记事本打开C:\Windows\System32\drivers\etc中的hosts文件,把hosts中的代码复制到hosts文件中覆盖里面的内容,保存即可。
    注意:如果遇到无法保存,请右键hosts->属性->安全,然后选择你登陆的用户名,最后点击编辑,勾选"写入"即可。

  • 如果觉得上述方法过于繁琐,可以使用hosts_tool文件夹里的script_tool_for_windows.bat批处理一键编辑hosts文件,或者使用Hosts自动配置工具一键完成
    下载地址:http://pan.baidu.com/s/1bnrPn1l

GNU/Linux

  • 以Ubuntu为例,终端输入gksudo gedit /etc/hosts,然后把hosts 中的代码复制到hosts文件中覆盖里面的内容,保存即可。

Hosts Tool

  • /hosts_tool_source hosts自动配置工具,使用C++构建,GUI基于Qt,源码(hosts_tool/hosts_tool_source)遵守GPL协议发布
  • script_tool_for_windows.bat windows环境的hosts自动配置脚本,由@SMoUNiVeS贡献
  • script_tool_for_linux.bash linux环境的hosts自动配置脚本,由@lstoars贡献

Others

  • 如果项目中某些分类IP失效但未更新,请及时通过Issue反馈或者Pull Request你的有效IP List到本项目
  • 谷歌IP不一定有用,如果上述hosts还是无法登陆谷歌请使用GoGo Tester寻找IP作为最后解决方案

Copyright © 2015 racallinux.cn, All Rights Reserved.

About

🗽最新可用的google hosts文件

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 83.0%
  • Batchfile 8.6%
  • QMake 4.9%
  • Shell 3.5%