Ubuntu 计算机上未启用扩展安全维护

Lin*_*eak 17 ubuntu software-updates

通过 SSH 连接到我的 Ubuntu MATE 22.04 机器后,我收到以下信息:

未启用应用程序的扩展安全维护。

Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-60-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

Expanded Security Maintenance for Applications is not enabled.

...

7 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm
Run Code Online (Sandbox Code Playgroud)

那是什么?如果我想要的话,我该如何启用它?

Lin*_*eak 17

对于最多 5 个运行 Ubuntu 的设备,此功能可免费用于个人目的。


我确实访问了https://ubuntu.com/esm并且由于我已经有 Canonical Ubuntu 帐户,所以我登录了https://ubuntu.com/pro/dashboard

现在它生成了一个令牌:

机器类型:物理
机:5 台
活动机器:0
令牌:<30 个字符的字符串>


要实际使用它,您的 Ubuntu 机器必须ubuntu-advantage-tools安装:

apt install ubuntu-advantage-tools
Run Code Online (Sandbox Code Playgroud)

将 TOKEN 复制到剪贴板,然后运行:

sudo pro attach <TOKEN above>
Run Code Online (Sandbox Code Playgroud)

这应该会自动将您的机器连接到您的 Canonical (Pro) Ubuntu 帐户:

apt install ubuntu-advantage-tools
Run Code Online (Sandbox Code Playgroud)

现在它还应该为启用的东西发出绿色的光,为禁用的东西发出红色的光。

在此输入图像描述

大约 10 分钟后我重新启动...然后我跑去apt upgrade查看新的更新。