Ubuntu - Enable auto update Oct 3, 2019

Ubuntu Update


Update is used to keep your Ubuntu server and several programs installed on it updated. Updates often include feature enhancements and security updates to protect your server from malware and malicious attacks


  • Ubuntu Server 18.04

How To

Edit the configure file:

nano /etc/apt/apt.conf.d/50unattended-upgrades

Uncomment the following line:


Uncomemnt the follwing line and change the value to true:

  • Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
  • Unattended-Upgrade::Remove-Unused-Dependencies "true";
  • Unattended-Upgrade::Automatic-Reboot "true";
  • Unattended-Upgrade::Automatic-Reboot-Time "02:00";

Congratulations, now you have an auto update enabled for your server!



Latest Updates