Installing security updates is very important. Especially on a server that is not accessed on a daily basis. This tutorial covers the basics for setting up unattended-upgrades on any Debian-based Linux distribution.
Update the system
sudo apt update && sudo apt upgrade
Install unattended-upgrades
apt install unattended-upgrades
dpkg-reconfigure unattended-upgrades