更新和安全
在此步骤中,我们将为服务器配置更新。
保持我们的服务器始终保持最新和安全是很重要的。因此,我们首先通过运行以下命令升级系统中的所有软件包。
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原文链接:https://www.f2er.com/ubuntu/351380.html