ubuntu 更新和安全

前端之家收集整理的这篇文章主要介绍了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

猜你在找的Ubuntu相关文章