background picture of the home page

灌木的小破站

使用zoho免费建立个人域名邮箱,并部署到halo邮件通知器

halo默认是不能发送邮件的,所以验证邮箱,邮件通知等默认是不能用的,如需使用,则要启用邮件通知器,并配置发件地址和smtp服务器,才能正常发送邮件。 本文将配合站点自身域名(其他域名也行),使用zoho的smtp服务器搭建一个个人域名邮箱,并配置halo的邮件通知器 免费的smtp服务商:Zoho

thumbnail of the cover of the post

站点更新了404页面~

在横屏下使用css实现了动态的404动画,https://12520.net/404 感谢xjzsq大佬手搓的css代码:https://github.com/xjzsq/404-page 在竖屏下则使用了git动图

thumbnail of the cover of the post

linux + Clash(mihomo) 实现简单的网关

折腾了一堆nftables和iptables方法吧网络流量送到clash透明代理端口,偶然发现Clash.mate的tun模式实现了所有 笔者这里以树莓派5,Raspberry Pi OS 系统 (debian系) 进行部署 要实现完整的路由器功能,只需要配置一下 mihomo 的 tun 模式和自

thumbnail of the cover of the post

docker 构建轻量 python 镜像

某天,要跑一个python脚本,要求用docker。决定实践用alpine作为基础镜像构建一个轻量的python镜像 创建项目文件夹 mkdir alpine-py cd alpine-py 创建Dockerfile nano Dockerfile # 使用 Alpine 作为基础镜像 FROM a

thumbnail of the cover of the post

debian12配置dhcp服务器

这里使用debian12+isc-dhcp-server软件包做配置~ 1.安装isc-dhcp-server 自觉apt update() apt install isc-dhcp-server 安装后会自动启动,可能会遇到关于 /etc/dhcp/dhcpd.conf 和 /etc/dhcp/d

thumbnail of the cover of the post

记:泛域名解析影响到TXT记录解析

某天在ACME申请证书的时候,发现ACME域名验证的TXT记录居然返回了我的域名邮箱的spf记录!然后试着解析了一下其他不存在的TXT记录,发现匹配泛域名的TXT解析全部都能解析出”泛域名cname指向“的TXT记录。 DNS记录列表 其中满足*.12520.net的TXT记录全部都解析出了1252

thumbnail of the cover of the post

ssh使用密钥登录 密钥登录篇(debian)

在客户端使用私钥连接到服务器 windows客户端: 1.使用ssh时指定私钥路径 语法:ssh -i [私钥路径] [用户名]@[ip地址] ssh -i D:\桌面\id_rsa root@192.168.20.128 可能会出现以下现象 PS C:\Users\13754> ssh -i D:

thumbnail of the cover of the post