LFS

通过构建LFS,学习交叉编译相关概念,理解Linux系统内部的组成、依赖和运行。

Read more

Caddy2 with Cloudflare CDN (end-to-end encryption)

Cloudflare settings

dashboard->profile->API Tokens->Create API Token->Create Custom Token

  1. name the token
  2. Permissions->zone->zone read/dns edit/analytic read
  3. Zone Resources->specific zone->your site domain

do NOT use global API key

Read more

迁移到Hexo

自建博客最早用的就是Hexo,托管放在Github Pages
转Typecho后,用过servercheap,AlibabaCloud,AWS
折腾几年,最后还是决定把博客从Typecho迁回Hexo
回到原点,把之前写的内容筛选一下,搬运部分过来

gpg常用命令


0x01


创建密钥对,期间会被要求输入密码用于保护密钥

1
2
gpg --full-gen-key
gpg --full-gen-key --expert
Read more

Ubuntu x86-64和aarch64升级OpenSSL

确认openssl版本受影响
安装编译所需工具
源码安装惯例,生产环境建议make test
备份旧openssl并为新安装的openssl做链接
装载配置,确认新版本号

Read more

Github Academic Reverification | Github教育验证

Timeline

March 24

  • email from github: Academic Reverification Required

April 20

  • identification uploaded

April 27

  • got rejected: The item you uploaded is undated. Supplementary proof of your current student status.
Read more

Note-taking-for-Newifi2-D1-MTD

Hardware:Newifi2 D1
Bootloader:Breed written by hackpascal

Definition of MTD(Memory Technology Device)

A type of device file in Linux for interacting with flash memory. The MTD subsystem was created to provide an abstraction layer between the hardware-specific device drivers and higher-level applications.

Differences

Linux traditionally only knew block devices and character devices. Character devices were things like keyboards or mice, that you could read current data from, but couldn’t be seek-ed and didn’t have a size. Block devices had a fixed size and could be seek-ed. They also happened to be organized in blocks of multiple bytes, usually 512.

USB sticks, MMCs, SDs, CompactFlashes and other popular removable devices should not be confused with MTDs. Although they contain flash memory, this is hidden behind a block device interface using a FTL(Flash Translation Layer).

Read more

online独服安装Aria2+AriaNG+Caddy+FileBrowser

Online特价,3eur/mo,做下载机不错。急用,简单安装了Aria2+AriaNG+Caddy+FileBrowser,小绿锁没来得及上,history导出的,有点乱,可能会有错或遗漏…另外,现在FileBrowser不在以插件形式存在,反代一下即可…

Read more