Как включить автоматические обновления безопасности на ubuntu 20.04

У меня есть приложение laravel на сервере ubuntu 20.04. Как включить автоматическое применение только обновлений безопасности?

устанавливает ли только следующие обновления безопасности или другие обновления:

sudo apt install unattended-upgrades

my sudo nano /etc/apt/apt.conf.d/50unattended-upgrades выглядит следующим образом:

Unattended-Upgrade::Allowed-Origins {
    "${distro_id}:${distro_codename}";
    "${distro_id}:${distro_codename}-security";
    // Extended Security Maintenance; doesn't necessarily exist for
    // every release and this system may not have it installed, but if
    // available, the policy for updates is such that unattended-upgrades
    // should also install from here by default.
    "${distro_id}ESMApps:${distro_codename}-apps-security";
    "${distro_id}ESM:${distro_codename}-infra-security";
   //"${distro_id}:${distro_codename}-updates";
   //"${distro_id}:${distro_codename}-proposed";
   //"${distro_id}:${distro_codename}-backports";
};

Мне нужно что-то еще делать?

1
задан 12 August 2020 в 14:37

1 ответ

enter image description here

Go to Software and Updates and enable Livepatch. Canonical Livepatch helps keep your system secure by applying security updates that don't require a restart.

Or you can use the terminal for security updates using the command:

sudo unattended-upgrade

0
ответ дан 24 August 2020 в 08:21

Другие вопросы по тегам:

Похожие вопросы: