Linux/Ubuntu 的日常升级和安全更新,如何操作?

这篇具有很好参考价值的文章主要介绍了Linux/Ubuntu 的日常升级和安全更新,如何操作?。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

Linux/Ubuntu 的日常升级和安全更新,如何操作?,Linux,ubuntu,linux,运维

我安装的是Ubuntu 20.04.6 LTS的Windows上Linux子系统版本,启动完成后显示:

Linux/Ubuntu 的日常升级和安全更新,如何操作?,Linux,ubuntu,linux,运维 Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.15.90.4-microsoft-standard-WSL2 x86_64)

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

  System information as of Sun Aug 20 09:42:18 CST 2023

  System load:  0.64                Processes:             132
  Usage of /:   1.0% of 1006.85GB   Users logged in:       0
  Memory usage: 9%                  IPv4 address for eth0: 172.*.*.151
  Swap usage:   0%

 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
   just raised the bar for easy, resilient and secure K8s cluster deployment.

   https://ubuntu.com/engage/secure-kubernetes-at-the-edge

Expanded Security Maintenance for Applications is not enabled.

1 update can be applied immediately.
To see these additional updates run: apt list --upgradable

8 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm

This message is shown once a day. To disable it please create the
/home/hann/.hushlogin file.
Linux/Ubuntu 的日常升级和安全更新,如何操作?,Linux,ubuntu,linux,运维

启动信息告知:有1个升级可以立即更新,另外ESM应用程序有8个额外的安全更新。

更新内容列表:

hann@HannYang:~$  apt list --upgradable
Listing... Done
cloud-init/focal-updates 23.2.2-0ubuntu0~20.04.1 all [upgradable from: 23.2.1-0ubuntu0~20.04.2]
N: There are 3 additional versions. Please use the '-a' switch to see them.
hann@HannYang:~$  apt list --upgradable -a
Listing... Done
cloud-init/focal-updates 23.2.2-0ubuntu0~20.04.1 all [upgradable from: 23.2.1-0ubuntu0~20.04.2]
cloud-init/now 23.2.1-0ubuntu0~20.04.2 all [installed,upgradable to: 23.2.2-0ubuntu0~20.04.1]
cloud-init/focal-security 23.1.2-0ubuntu0~20.04.2 all
cloud-init/focal 20.1-10-g71af48df-0ubuntu5 all

更新升级操作:

hann@HannYang:~$ sudo apt upgrade
[sudo] password for hann: ******
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  exo-utils python2.7-minimal python2.7 libexo-2-0 libexo-common
  libpython2.7-minimal libpython2.7-stdlib libexo-helpers
Learn more about Ubuntu Pro at https://ubuntu.com/pro
#
# You can verify the status of security fixes using the `pro fix` command.
# E.g., a recent Ruby vulnerability can be checked with: `pro fix USN-6219-1`
# For more detail see: https://ubuntu.com/security/notices/USN-6219-1
#
The following packages will be upgraded:
  cloud-init
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 532 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cloud-init all 23.2.2-0ubuntu0~20.04.1 [532 kB]
Fetched 532 kB in 2s (226 kB/s)
Preconfiguring packages ...
(Reading database ... 156073 files and directories currently installed.)
Preparing to unpack .../cloud-init_23.2.2-0ubuntu0~20.04.1_all.deb ...
Unpacking cloud-init (23.2.2-0ubuntu0~20.04.1) over (23.2.1-0ubuntu0~20.04.2) ...
Setting up cloud-init (23.2.2-0ubuntu0~20.04.1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for rsyslog (8.2001.0-1ubuntu1.3) ...
hann@HannYang:~$ sudo apt upgrade cloud-init/focal-updates cloud-init/now cloud-init/focal-security cloud-init/focal
Reading package lists... Done
Building dependency tree
Reading state information... Done
cloud-init is already the newest version (23.2.2-0ubuntu0~20.04.1).
Selected version '23.2.2-0ubuntu0~20.04.1' (Ubuntu:20.04/focal-updates [all]) for 'cloud-init'
Selected version '23.2.2-0ubuntu0~20.04.1' (Ubuntu:20.04/focal-updates [all]) for 'cloud-init'
Selected version '23.1.2-0ubuntu0~20.04.2' (Ubuntu:20.04/focal-security [all]) for 'cloud-init'
Selected version '23.2.2-0ubuntu0~20.04.1' (Ubuntu:20.04/focal-updates [all]) for 'cloud-init'
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  exo-utils python2.7-minimal python2.7 libexo-2-0 libexo-common
  libpython2.7-minimal libpython2.7-stdlib libexo-helpers
Learn more about Ubuntu Pro at https://ubuntu.com/pro
#
# You can verify the status of security fixes using the `pro fix` command.
# E.g., a recent Ruby vulnerability can be checked with: `pro fix USN-6219-1`
# For more detail see: https://ubuntu.com/security/notices/USN-6219-1
#
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
hann@HannYang:~$ apt list --upgradable
Listing... Done

版本号查询:

hann@HannYang:~$ cat /etc/issue
Ubuntu 20.04.6 LTS \n \l

hann@HannYang:~$ uname -r
5.15.90.4-microsoft-standard-WSL2

本次操作仅为日常升级更新,Ubuntu版本及Linux内核版本都没有升级。

Linux/Ubuntu 的日常升级和安全更新,如何操作?,Linux,ubuntu,linux,运维文章来源地址https://www.toymoban.com/news/detail-660933.html

到了这里,关于Linux/Ubuntu 的日常升级和安全更新,如何操作?的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 【Linux】Ubuntu升级nodejs版本

            在下载nvm对nodejs版本进行管理时,由于网络因素一直下载失败,于是采用了新的方法对nodejs版本进行升级。         首先我们先查询一下现存的nodejs版本号,发现是12          我们下载一个名为n的软件包, n 是一个非常方便的 Node.js 版本管理工具,类似于 Rub

    2024年02月04日
    浏览(43)
  • 如何将 Ubuntu 20.04 升级到 Ubuntu 22.04?

    Ubuntu 22.04,代号“Jammy Jellyfish”,于 2022 年 4 月 21 日发布,本文介绍如何将 Ubuntu 20.04 升级到 Ubuntu 22.04?。 在升级到 Ubuntu 22.04 之前,你应该做以下事情: 备份外部驱动器上的所有文件。 确保您有稳定的互联网连接。 禁用任何外部存储库。 请注意,这可能会导致某些服务

    2024年02月06日
    浏览(40)
  • 升级Ubuntu Linux内核的多种方法

    Ubuntu是一种流行的Linux操作系统,它定期发布更新的内核版本,以提供性能改进、新功能和安全修复。本文将介绍升级Ubuntu Linux内核的几种不同方法,包括使用命令行和使用图形界面工具。 使用命令行 1.1. 使用apt命令 apt命令是Ubuntu中包管理器的基本工具之一,可以用于安装、

    2024年02月03日
    浏览(50)
  • linux系统升级/更新OpenSSL版本操作流程记录

    问题描述:有时 OpenSSL 版本过老升级,或者需要更新 OpenSSL 版本 我的输入后版本信息为:OpenSSL 1.1.1g FIPS 21 Apr 2020 ,可以看到是一年前更新版本,是有些老。 登录 https://www.openssl.org/ 官网后,找到需要的版本 我这里选择 3.1 版本,进入后如下图: 我的输入后版本信息为:Op

    2024年02月07日
    浏览(34)
  • 如何将ubuntu LTS升级为Pro

    LTS支持周期是5年; Pro支持周期是10年。 Ubuntu Pro专业版笔记  打开“软件和更新” 可以看到最右侧的标签是Ubuntu Pro。 在没有升级之前,如果使用下面两步: sudo apt update sudo apt upgrade 出现如下提示: 不同配置会有所不同,但是内容基本一致。 没有激活之前是如下状态: 点击

    2024年02月15日
    浏览(26)
  • kubeadm升级k8s版本1.28.2升级至1.28.4(Ubuntu操作系统下)

    1.官网升级说明 升级 kubeadm 集群 | Kubernetes 2. 版本说明 详细参考:版本偏差策略 | Kubernetes Kubernetes 版本以  x.y.z  表示,其中  x  是主要版本,  y  是次要版本, z  是补丁版本。 版本升级控制:         1. 最新版和最老版的 kube-apiserver 实例版本偏差最多为一个次要版本

    2024年02月02日
    浏览(40)
  • linux Ubuntu 更新镜像源、安装sudo、nvtop

    1.更换镜像源 在打开的文件中输入: pip.conf 按下 :wq 保存并退出。 2.安装nvtop 如果输入指令 apt install nvtop 报错: E: Unable to locate package nvtop 需要更新一下apt: 之后下载sudo 之后下载nvtop 在控制台输入nvtop查看: 3.输入指令安装tmux 4.安装firefox 输入如下网址下载firefox 将下载好的

    2024年02月14日
    浏览(31)
  • LINUX系统(ubuntu)安装以及应用调试(不定时更新)

    Linux是一种基于UNIX操作系统的开源(Open Source)操作系统。它由芬兰计算机科学家 Linus Torvalds 在1991年首次发布,目前已经发展成为最流行和广泛使用的操作系统之一。 Linux以其稳定性、安全性和灵活性而闻名。与其他操作系统不同,Linux具有自由的分发和修改权利,这意味着

    2024年02月12日
    浏览(35)
  • ubuntu18.04如何更新到22.04

    打开终端并更新系统,使用以下命令: 确保系统是最新的,然后备份数据,以防万一。 执行以下命令,安装 update-manager-core: 执行以下命令,将Ubuntu 18.04升级到20.04: 确保Ubuntu 18.04已更新到最新版本。 确保启用LTS升级,使用以下命令来检查: 确保输出显示  Prompt=lts 如果系

    2024年02月02日
    浏览(36)
  • 10 月发布,Ubuntu 23.10 已升级到 Linux Kernel 6.3 内核

    导读 Canonical 于近日宣布,代号为 Mantic Minotaur 的 Ubuntu 23.10 发行版本已升级基于 Linux Kernel 6.3 内核。 Canonical宣布,代号为 Mantic Minotaur 的 Ubuntu 23.10 发行版本已升级基于 Linux Kernel 6.3 内核。 Ubuntu 23.10 于今年 4 月下旬进入开发阶段,初期基于和 Ubuntu 23.04(Lunar Lobster)相同的

    2024年02月12日
    浏览(28)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包