解决两例VPS无法连接GitHub问题
1.主要原因DNS解析不正常,或者 IP为广播至全球,又或者IP被GitHub封了的。
可以尝试临时改DNS服务器解决。
给个列表
https://public-dns.info/nameserver/sg.html
简单测试阿里云轻量
用了一个月稳定性不错,性价比高

电信光猫拨号IPv6配置
如此设置电脑和手机均可获取IPv6地址
Android去除WiFi下感叹号
adb shell "settings put global captive_portal_http_url http://www.google.cn/generate_204"
adb shell "settings put global captive_portal_https_url https://www.google.cn/generate_204"
另外还有几个地址:
https://dl.google.com/generate_204
https://www.gstatic.com/generate_204
https://ssl.gstatic.com/generate_204
https://fonts.gstatic.com/generate_204
https://ajax.googleapis.com/generate_204
https://fonts.googleapis.com/generate_204
https://www.google-analytics.com/generate_204
https://www.googleadservices.com/generate_204
https://static.googleadsserving.cn/generate_204
https://connectivitycheck.gstatic.com/generate_204
https://googleads.g.doubleclick.net/generate_204
https://stats.g.doubleclick.net/generate_204
https://www.qualcomm.cn/generate_204
L.I.F.E
Sometimes life hits you in the head with a brick. Don't lose faith. I'm convinced that the only thing that kept me going was that I loved what I did. You've got to find what you love.And that is as true for your work as it is for your lovers. Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do. If you haven't found it yet, keep looking,and don't settle. As with all matters of the heart, you'll know when you find it. And, like any great relationship, it just gets better and better as the years roll on. So keep looking, don't settle. 继续阅读
硬盘修复记录
3T硬盘,HD Tune、CDI的C5/C6已经黄,DiskGenius扫描结果如下。
继续阅读
LNMP使用Let's Encrypt问题一例
域名DNS记录有IPv4和IPv6的,服务器同时也是双栈网络接入,使用Let's Encrypt自动签发脚本就可能出现无法验证,404的问题。
这是因为自动验证时走的是IPv6,默认的*.conf文件中IPv6的监听端口是被注释掉了。 继续阅读