Unattended upgrades: Difference between revisions
From Freephile Wiki
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
*[https://help.ubuntu.com/14.04/serverguide/automatic-updates.html Server Guide] | *[https://help.ubuntu.com/14.04/serverguide/automatic-updates.html Server Guide] | ||
Configuration is in <code>/etc/apt/apt.conf.d/50unattended-upgrades</code> | |||
Enable unattended upgrades in <code>/etc/apt/apt.conf.d/10periodic</code> | |||
The Server Guide suggests installing apticron to get notification emails | |||
If you're running at least 16.04, you can also sign up for the LivePatch service (free for 3 machines) which can patch the kernel without reboots. Similar services from RedHat etc. cost ~2K per year. | |||
[[Category:DevOps]] | [[Category:DevOps]] | ||
[[Category:System Administration]] | [[Category:System Administration]] | ||
[[Category:Security]] | [[Category:Security]] |
Latest revision as of 11:15, 2 July 2017
'unattended upgrades' is the name of the package on Ubuntu that will give you automatic security updates
Configuration is in /etc/apt/apt.conf.d/50unattended-upgrades
Enable unattended upgrades in /etc/apt/apt.conf.d/10periodic
The Server Guide suggests installing apticron to get notification emails
If you're running at least 16.04, you can also sign up for the LivePatch service (free for 3 machines) which can patch the kernel without reboots. Similar services from RedHat etc. cost ~2K per year.