• 配置hosts快速访问GitHub


    1.Hosts文件地址

    C:WindowsSystem32driversetchosts
    

    2.IP地址查询

    网站1网站2查询以下链接的IP地址

    github.com
    gist.github.com
    assets-cdn.github.com
    raw.githubusercontent.com
    gist.githubusercontent.com
    cloud.githubusercontent.com
    camo.githubusercontent.com
    avatars0.githubusercontent.com
    avatars1.githubusercontent.com
    avatars2.githubusercontent.com
    avatars3.githubusercontent.com
    avatars4.githubusercontent.com
    avatars5.githubusercontent.com
    avatars6.githubusercontent.com
    avatars7.githubusercontent.com
    avatars8.githubusercontent.com
    

    3.将查询到的信息加入到hosts文件中,需要管理员权限,例如:

    # GitHub Start
    140.82.112.3 github.com
    140.82.114.4 gist.github.com
    185.199.108.153 assets-cdn.github.com
    199.232.68.133 raw.githubusercontent.com
    199.232.68.133 gist.githubusercontent.com
    199.232.68.133 cloud.githubusercontent.com
    199.232.68.133 camo.githubusercontent.com
    199.232.68.133 avatars0.githubusercontent.com
    199.232.68.133 avatars1.githubusercontent.com
    199.232.68.133 avatars2.githubusercontent.com
    199.232.68.133 avatars3.githubusercontent.com
    199.232.68.133 avatars4.githubusercontent.com
    199.232.68.133 avatars5.githubusercontent.com
    199.232.68.133 avatars6.githubusercontent.com
    199.232.68.133 avatars7.githubusercontent.com
    199.232.68.133 avatars8.githubusercontent.com
    # Github End
    

    4.cmd刷新DNS缓存

    ipconfig /flushdns
    
  • 相关阅读:
    轮播图2
    点击按钮切换轮播图
    轮播图
    2016.5.5_十进制转二进制【ABAP】
    2016.4.26_longtext长文本【ABAP】
    2016.4.26_动态内表【ABAP】
    2016.4.26_下载abap代码【ABAP】
    2016.4.15_debug小技巧【ABAP】
    2016.4.1_js向controller传数据【笔记】
    2016.3.21_TABLE CONTROL【ABAP】
  • 原文地址:https://www.cnblogs.com/qujingtongxiao/p/13041623.html
Copyright © 2020-2023  润新知