记一次 leanote 蚂蚁笔记的博客更换主题 Chirpy

前言 前两天在 v2ex 看到 此帖。一直以来我用的都是官方的主题,然后我也心动了。于是乎我也换上了这个主题,慢慢踩坑直到现在让自己满意…… 正片 我修改的博客地址: https://blog.hellodk.com/blog/dk11。该博客运行在我家里的 Phicomm N1 这台 armbian 设备上,是 docker 安装的leanote。使用的镜像是: https://hub.docker.com/r/lstcml/n1_leanote。 n1 驾驭这些应用是小菜一碟,丝毫没有性... 阅读全文

记一次解决 clash all DNS requests failed, context deadline exceeded 问题

在我切换了 clash 透明代理和普通代理之后遇到了如题所述的问题。 下面是详细日志 [TCP] dial ? 规则之外 (match Match/) to dns.alidns.com:443 error: advanced-cm-3.nodesub.com:3600 connect error: all DNS requests failed, first error: Post "https://dns.alidns.com/dns-query": context deadline exc... 阅读全文

N1 docker ubuntu 容器解决 Some index files failed to download. They have been ignored, or old ones used instead 问题

n1 的 docker,一个 ubuntu 容器在 root 用户下执行 apt-get update 总是遇到 Some index files failed to download. They have been ignored, or old ones used instead 问题,换了好几个国内源都没有解决。 比如下面这篇提到的多个源 https://www.cnblogs.com/gentlemanwuyu/p/11621636.html 但这是为 x86 架构的机器准备的源地址... 阅读全文

leanote 数据库(MongoDB)备份以及恢复教程

查看 leanote 数据库配置 查看 leanote 安装配置文件 (一般是 /data/leanote/conf/app.conf),找到数据库的用户名和密码(以及端口、数据库名字等信息) # mongdb db.host=127.0.0.1 db.port=27017 db.dbname=leanote # required db.username= # if not exists, please leave it blank db.password= # if not exists, p... 阅读全文

使用 besttrace 查看 VPS 去程和回程的路由线路

windows 下 traceroute 工具一般用下面这两个 winmtr 官网: http://winmtr.net/download-winmtr/ 优点: 图形界面,速度快 缺点: 没有地图显示,不够直观 备注: 比 Windows dos 自带的 tracert 工具更加好用 besttrace 官网(下载地址): https://www.ipip.net/product/client.html 优点: 可以识别每一跳 ip 的地理位置,自带地图,显示非常直观。可以选择 goo... 阅读全文