Search Suggest

المشاركات

Manually do security and critical updates on ubuntu servers

For most ubuntu servers I manage, I turn off automatic updates and upgrades. I don't like surprises and sometime automatic update / upgrades creates compatibility issues. 

(see my article of how to disable or turn off automatic updates / upgrades on ubuntu servers here)

Even though I decide to turn off automatic updates, I still have to keep watch for crucial and security updates manually (I recommend at least once every quarter).

This article will provide instruction how to do manually SECURITY and CRUCIAL updates on your ubuntu server:

Display Available Security Updates

unattended-upgrade --dry-run -d

Install Security Updates Only

apt-get -s dist-upgrade | grep "^Inst" | grep -i securi | awk -F " " {'print $2'} | xargs apt-get install

إرسال تعليق