Unattended upgrades: Difference between revisions

From Freephile Wiki
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
'unattended upgrades' is the name of the package on Ubuntu that will give you automatic security updates
'unattended upgrades' is the name of the package on Ubuntu that will give you automatic security updates


https://help.ubuntu.com/community/AutomaticSecurityUpdates
*[https://help.ubuntu.com/community/AutomaticSecurityUpdates Desktop users]
*[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]]

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.