Automatic Security Updates on Ubuntu.
There are different options for automatically updating your server. At this article we will use the unattended-upgrades package.
We will start with installing the unattended-upgrades package.
kok@fhome:~$ sudo apt-get install unattended-upgrades
After installing the unattended-upgrades package we need to add the text below to the /etc/apt/apt.conf.d/10periodic file.
APT::Periodic::Update-Package-Lists “1″;
APT::Periodic::Download-Upgradeable-Packages “1″;
APT::Periodic::AutocleanInterval “5″;
APT::Periodic::Unattended-Upgrade “1″;
After this modification your system will install the security updates automatically. You can see the details of unattended-upgrades from the log files /var/log/unattended-upgrades/ folder.
For more information about this subject you can check the Ubuntu wiki page.
Related posts:
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
