今天突然发现github网站打不开了,报网络异常 解决办法:修改本地hosts文件 路径 windows下路径为:C:\Windows\System32\drivers\etc\hosts Linux下路径:/etc/hosts 修改hosts文件 备注 如果遇到权限不够需要管理员权限才能修改,可以 ...
分类:
Web程序 时间:
2020-02-07 18:38:07
阅读次数:
217
以 nacos StatefulSet 的部署为例 pod 的名字分别是 nacos-0,nacos-1,nacos-2 进入容器查看 /etc/hosts 文件 kubectl exec -it nacos-0 --container k8snacos -- /bin/bash cat /etc/ ...
分类:
其他好文 时间:
2020-02-06 14:31:16
阅读次数:
169
访问GitHub时会出现如下《无法访问此网站》 解决方法: 访问IP查询网址: http://www.github.com.ipaddress.com/ 修改HOSTS文件,位置:C:Windows/system32/drivers/etc, Mac:位置 /etc/hosts 140.82.113 ...
分类:
其他好文 时间:
2020-02-05 17:55:06
阅读次数:
91
1、hosts文件位置 无论是Linux还是windows都有hosts文件,我们只有配置了host文件才能通过主机名称去访问该机器。hosts文件配置至关重要,无论是开发还是测试运维都需要配置,会伴随整个大数据生命周期。 Linux的hosts文件位置 :/etc/hosts Windows的ho ...
分类:
系统相关 时间:
2020-02-04 13:54:22
阅读次数:
82
`sudo nano /etc/hosts` or断网重启 ...
分类:
其他好文 时间:
2020-02-01 19:06:19
阅读次数:
78
运行 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.启动目录:在此文件夹下的程序会开机自启;(Startup); 2.windows--System32(系统配置目录不要乱改)--config--SAM 此文件保存系统账号密码 3.windows--System--drivers--etc--hosts 此文件用来解析域名 ...
分类:
其他好文 时间:
2020-01-22 20:17:36
阅读次数:
96
1.获取秘钥 2.如何使用 (1)打开主机文件 (2)编辑主机文件 (3)添加秘钥 共享许可证密钥可激活Jetbrains生态系统中产品的版权。您可以激活以下产品: 获取密钥 For v2019.3 1.在C:\Windows\System32\drivers\etc\hosts添加下边代码 1 0 ...
分类:
其他好文 时间:
2020-01-22 10:44:13
阅读次数:
727
客户反馈,11.2.0.4,Linux7 GI集群软件,Oracle软件均已正常安装完毕。 DBCA建库,出现 VIP do not all share the same subnetwork,or the vip subnetwok does not match that of any publi ...
分类:
其他好文 时间:
2020-01-16 01:03:11
阅读次数:
112
1、centos6的网卡重启方法:service network restart centos7的网卡重启方法:systemctl restart network 2、DNS配置文件:cat /etc/resolv.conf设置主机和IP绑定信息:cat /etc/hosts设置主机名:cat /e ...
分类:
其他好文 时间:
2020-01-14 09:41:03
阅读次数:
79