假设我需要编写一个cron作业,以便每天自动安装安全更新,那么我应该使用哪个命令来提高可靠性呢?
发布于 2013-04-16 16:07:34
安装安全更新不需要cron作业。unattended-upgrade会自动为你做的。从Ubuntu12.04上的pkg描述
This package can download and install security upgrades automatically
and unattended, taking care to only install packages from the
configured APT source, and checking for dpkg prompts about
configuration file changes.你只需要安装它,然后
dpkg-reconfigure unattended-upgrades 然后,选择“是”,让它做好自己的工作。
https://serverfault.com/questions/499868
复制相似问题