Akkuman 的博客

欢迎来到 Akkuman 的博客

  • 记录一些有关技术、生活的随想或随笔

Ubuntu 26.04 上 Ansible become 失败:sudo-rs 兼容问题及解决方案

背景 目标机器是 ubuntu 26.04,ansible 脚本使用了 become 来提权操作 但是总是报错 Timeout (12s) waiting for privilege escalation prompt 原因 ubuntu 新版换用了 sudo-rs 导致旧版 ansible 不兼容 可参见 Ubuntu 26.04 默认 sudo-rs 的 sudoers 配置变更 ...

九月 3, 2026 · 1 分钟

bitwarden ssh agent 使用

背景 最近 apifox 的安全事件,让我想用密码管理器管理 ssh 密钥了。 以前也考虑过一次,但由于 bitwarden 不支持,就作罢了。 现在发现 bitwarden 在 2025 年已经支持了 ssh 密钥。 使用 导入密钥 具体可参见 Bitwarden SSH Agent | Bitwarden ...

三月 27, 2026 · 5 分钟

headless-wps arm64 后续

有用过 [akkuman/headless-wps: run wps](https://linux.wps.cn/) in headless docker 的人可能知道这个一直没有 arm64 版本,此处记录下探索历程(相关内容均来自 是否有可能提供arm版本的镜像 · Issue #7 · akkuman/headless-wps) TLDR 4k 页大小内核的 arm64 linux,应该可以正常使用 64k 页大小内核的 arm64 linux,和 libcef(浏览器) 相关的功能存在严重的功能缺失 ...

三月 19, 2026 · 4 分钟

为什么我的 powershell 启动这么慢

背景 我的 windows terminal 每次启动 powershell 都很慢,并且会打印这样一行 1 Loading personal and system profiles took 1704ms. 排查 首先我们不加载任何内容,在 cmd 中执行 pwsh -NoProfile,powershell 立即启动,并且没有打印上面的日志 ...

三月 3, 2026 · 1 分钟

Clean up old versions of VSCode

introduce As is well known, this is a long-standing bug: VS Code always leaves behind old versions of extensions when upgrading extensions. 众所周知,这是一个长期存在的 bug:VS Code 在升级扩展程序时总是会留下旧版本的扩展程序。 Previously, this space usage was not a problem, but with the emergence of AI programming extensions, after long-term operation, the size of the related extensions may reach the GB level, quickly filling up the disk. ...

二月 28, 2026 · 1 分钟