鼓起勇气远程把服务器从 Ubuntu 22.04 升到 24.04,有惊无险但踩了两个坑:修复依赖时报 Temporary failure in name resolution(systemd-resolved 没装);升级后 WordPress 直接 502(php-fpm 版本变了,nginx 配置路径失效)。远程升级总是心惊胆战,记录备用。
分类: 笔记 Page 3 of 4
How do you adapt scientific algorithms to parallel, multi-core HPC systems? The first step is building an empirical performance model. This post summarizes the required hardware background—from instruction cycles and cache locality to data-level and instruction-level parallelism—based on Anthony Joseph’s 2009 thesis.
Molden 是开源的电子结构前后处理软件,但在 Ubuntu 24.04 上编译并不顺利:新版 gfortran 把 argument mismatch 从警告升级成了错误。本文记录完整流程:装依赖、给三个 makefile 加 -fallow-argument-mismatch、修 install 脚本,最后 make install。
Ubuntu 装完 fcitx5-pinyin,终端能打中文,Edge 和 Chrome 里却死活切不出输入法。解法是在 ~/.config/environment.d/profile.conf 里补三个环境变量:GTK_IM_MODULE、QT_IM_MODULE 和 XMODIFIERS。
Secure Boot 开启时 VirtualBox 装完报错 Kernel driver not installed (rc=-1908)——内核模块没签名。本文完整走一遍 MOK 流程:生成密钥、sign-file 签名 vboxdrv、mokutil 导入、重启注册。文末附赠提示:虚拟机务必放 SSD。
不想把代码放 GitHub?把一台远程主机变成私有 Git 服务器其实很简单:建专用用户、配 SSH 公钥、git init –bare 建裸仓库、本地添加 remote 推送。本文按步骤完整记录,参考 Pro Git 官方文档。