可以正常使用Google,但无法打开Github。 查阅了一些资料,发现需要在hosts文件中添加映射。 在hosts文件中加入两行 140.82.113.4 github.com 140.82.113.4 www.github.com 其中的ip地址是在 https://github.com.ip ...
分类:
其他好文 时间:
2020-02-02 21:50:51
阅读次数:
74
解决办法: 使用 ssh-keygen -R hostname 命令ssh-keygen -R xxx.xxx.xxx.xxx (服务器ip地址)目的是清除你当前机器里关于你的远程服务器的缓存和公钥信息,注意是大写的字母“R”。比如 ~/.ssh/known_hosts文件中有一条 172.28.3 ...
分类:
其他好文 时间:
2020-02-01 21:16:48
阅读次数:
89
`sudo nano /etc/hosts` or断网重启 ...
分类:
其他好文 时间:
2020-02-01 19:06:19
阅读次数:
78
电脑打不开gitHub的解决方法 方法:修改本地的hosts文件 因为Github是国外网站,所以经常会遇到打不开的问题,并且有时能打开但是网速好慢 解决这个问题的方法是 : C:\Windows\System32\Drivers\etc 下找到hosts文件,记事本格式打开 添加如下内容: 即可 ...
分类:
其他好文 时间:
2020-02-01 16:26:43
阅读次数:
172
一、用ssh 带密钥文件登录时候,发生以下报错 [root@99cloud1 ~]# ssh -i hz-keypair-demo.pem centos@172.16.17.104The authenticity of host '172.16.17.104 (172.16.17.104)' can ...
分类:
其他好文 时间:
2020-01-30 21:13:26
阅读次数:
140
https://www.cnblogs.com/ivictor/p/5311607.html 该阻止会一直生效,直到采取以下操作: 1. mysql> flush hosts; 2. # mysqladmin flush-hosts 3. truncate table performance_sch ...
分类:
数据库 时间:
2020-01-30 20:55:08
阅读次数:
95
运行 gedit /etc/hosts 添加: 192.30.253.112 github.com 151.101.44.249 github.global.ssl.fastly.net 然后输入: sudo /etc/init.d/networking restart 即可 ...
分类:
其他好文 时间:
2020-01-28 19:19:20
阅读次数:
48
1、准备工作 1.1 给虚拟机取个 hostname。 而且配置 hosts。如果要和win做联合开发的话,和win的hosts文件,做一样的域名映射。 # 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdo ...
分类:
系统相关 时间:
2020-01-27 22:00:19
阅读次数:
106
centos 网卡重启/防火墙/selinux/hosts-dns
分类:
系统相关 时间:
2020-01-27 00:05:20
阅读次数:
76
无废话版: 1.复制下面内容,添加到hosts文件里(C:\Windows\System32\drivers\etc)不能修改的话,则把文件复制出去改完再直接粘贴过来 2.执行:ipconfig /flushdns(刷线dns解析) 192.30.253.113 github.com 185.199 ...
分类:
其他好文 时间:
2020-01-25 18:18:05
阅读次数:
70