我正在运行 arch linux 的无头服务器安装。内核升级的高速率让我在维护方面有些头疼,因此我希望切换到lts 内核。
我已经安装了linux-lts
和linux-lts-headers
包。现在,我安装了两个内核,但我有点不知道如何从这里继续。该文档解释:
[...] 您需要更新引导加载程序的配置文件以使用 LTS 内核和 ram 磁盘:
vmlinuz-linux-lts
和initramfs-linux-lts.img
.
我已经在引导部分找到了它们:
0 ? root@host ~ $ ll /boot/
total 85M
4,0K drwxr-xr-x 4 root root 4,0K 21. Mai 13:46 ./
4,0K drwxr-xr-x 17 root root 4,0K 4. Apr 15:08 ../
4,0K drwxr-xr-x 6 root root 4,0K 4. Apr 14:50 grub/
27M -rw-r--r-- 1 root root 27M 20. Mai 17:01 initramfs-linux-fallback.img
12M -rw-r--r-- 1 root root 12M …
Run Code Online (Sandbox Code Playgroud) 我正在运行 arch linux 服务器,最近lts
从存储库切换到内核。
由于我不经常重新启动服务器,因此我想要一个支持很长时间的稳定内核。但是,我注意到这个特定的arch linux lts 内核不断更新。几周前我安装了内核 4.4.11,现在已经有 4.4.12 更新了。
对 lts 内核轨道上的“高”更新率感到惊讶,我查看了kernel.org,它指出最新的长期内核已经是 4.4.13,所以我想我必须很快在我的服务器上再次更新。
该linux.com博客状态,即4.4内核将维持至少2年。但是由于在过去 5 个月内已经有 13 个更新(如 4.4.13),我并没有真正看到长期支持内核的好处。
有了如此高的更新频率,我也可以在最新的稳定内核上运行我的服务器,而且我不会比在 lts 轨道上更忙于更新。
那么,请解释一下,LTS 内核究竟是为什么设计的?
为什么在 Debian 中,您必须手动编辑/etc/apt/source.list
才能接收 LTS 更新,如官方 Debian LTS Wiki中所述?
为什么它不像 Ubuntu 那样无需手动更改即可获得 LTS 更新/etc/apt/source.list
?
/etc/apt/source.list
这是安装后的原图
deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main
deb http://deb.debian.org/debian-security buster/updates main
deb-src http://deb.debian.org/debian-security buster/updates main
# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main
Run Code Online (Sandbox Code Playgroud)
deb http://deb.debian.org/debian/ buster main contrib non-free
deb-src http://deb.debian.org/debian/ buster main contrib non-free
deb http://security.debian.org/ buster/updates main contrib non-free
deb-src http://security.debian.org/ buster/updates main contrib …
Run Code Online (Sandbox Code Playgroud)