ubuntu 更新和安全

更新和安全

在此步骤中,我们将为服务器配置更新。

保持我们的服务器始终保持最新和安全是很重要的。因此,我们首先通过运行以下命令升级系统中的所有软件包。

sudo apt-get update
sudo apt-get upgrade

然后,我们打开Ubuntu的无人值守安全升级。为此,我们首先需要安装必要的软件包。

sudo apt-get install unattended-upgrades

When you ran apt-get upgrade,where there any "not upgraded"?

Eg: Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded,0 newly installed,0 to remove and 0 not upgraded. Looking at 0 not upgraded.

If there were ones that were not upgraded,run

apt-get dist-upgrade

相关文章

目录前言一、创建Hadoop用户二、更新apt和安装Vim编辑器三、...
原文连接:https://www.cnblogs.com/yasmi/p/5192694.html ...
电脑重启后,打开VirtualBox,发现一直用的虚拟机莫名的消失...
参见:https://blog.csdn.net/weixin_38883338/article/deta...
Ubuntu 18.04 LTS 已切换到 Netplan 来配置网络接口。Netpla...
介绍每个 Web 服务都可以通过特定的 URL 在 Internet 上访问...