How to set up automatic security updates for Ubuntu

Aug 31, 2020

#How To#Security#Server
How to set up automatic security updates for Ubuntu

The Linux server security is indeed an essential task for sysadmins. One of the most fundamental ways to keep the server secure is by installing security updates on time to patch vulnerabilities. You need to install the unattended-upgrades package. It will automatically install software updated, including security updates. This page shows how to install security updates automatically when released by the Ubuntu security team.

Log in to your Ubuntu server and install the unattended upgrade package with the command:

 sudo apt-get install unattended-upgrades -y

Once that’s done, install the update-notifier-common package for automatic reboots with the command:

sudo apt-get install update-notifier-common -y

Next, edit the 50unattended-upgrades file with the command:

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

By default, security updates are enabled, so you don’t have to bother with that section. You might, however, want to enable automatic reboots.

Scroll down to that section and you can define if automatic reboots are taken care of immediately or at a specific time. To enable automatic reboots, remove the leading // characters from the line Unattended-Upgrade::Automatic-Reboot “false”; and change false to true.

You can then do the same for the Unattended-Upgrade::Automatic-Reboot “false” line and set it to the time you wish for the automatic reboot to occur (so it doesn’t happen during productivity hours).


how to create LUKS header backup and restore it on ubuntu

how to create LUKS header backup and restore it on ubuntu

Aug 30, 2020

LUKS is a standard method on Linux based system for protecting data and disk, especially on mobile devices such as Linux laptop.

#How To#Backup

How to Setup ModSecurity on Ubuntu 18.04

Jun 13, 2020

This tutorial explains how to install and configure ModSecurity on Apache web servers.

#How To

How to use the classic Unity Desktop in Ubuntu 20.04

May 18, 2020

Although Canonical dropped the Ubuntu Unity desktop in 18.04, it is still available in the new version of Ubuntu 20.04, and the company still makes it available to anyone who likes to use it.

#How To#Desktop


Mar 29, 2020

Ubuntu Club is A curated list of Tips, and Tricks for Using Ubuntu.