Giter Site home page Giter Site logo

hosts_mac-win's Introduction

hosts

[hosts来源于laod.cn | 更新于:2017-02-09]

如何下载

git clone https://github.com/wwwxmu/hosts_linux.git

hosts所在文件夹:

Windows 系统hosts位于 C:\Windows\System32\drivers\etc\hosts

Android(安卓)系统hosts位于 /system/etc/hosts

Mac(苹果电脑)系统hosts跟Linux一样位于 /etc/hosts

iPhone(iOS)系统hosts跟Linux Mac一样位于 /etc/hosts

修改hosts后生效的方法:

1 Windows 开始 -> 运行 -> 输入cmd -> 在CMD窗口输入 ipconfig /flushdns

2 Mac OS X终端输入 sudo killall -HUP mDNSResponder

3 通用方法 拔网线(断网) -> 插网线(重新连接网络) (有时候不需要这么做也可以的,反正老D很少刷新DNS,刷新可以更快的解析)

注意

Google、Gmail、维基百科、Twitter、Facebook等必须请用https加密方式打开。 一般这些网站都是SSL加密链接,如:

谷歌学术:https://scholar.google.com/

谷歌:https://www.google.com/ncr

谷歌香港:https://www.google.com.hk/ncr

Twitter:https://twitter.com/?lang=zh-cn

另外可能有的地区&网络(铁通、联通)hosts无法正常使用,这个不是你我能左右的! 建议不要使用国产浏览器,国产软件也是,特别是360,因为国产浏览器即使你使用https 它也会强制你使用默认http,还有就是会上传用户数据,尽可能使用Chrome 下载&修改hosts安全软件可能会“报毒”(误报)你可以暂时退出或者添加信任即可!

本hosts仅限于学习使用!

hosts_mac-win's People

Contributors

wwwxmu avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.