Ubuntu Server housekeeping

If You're a self-hosting your website, One particular thing that You'd want to take care of is to keep the system up-to-date. The process requires some discipline and planning but most of it can be automated. Ubuntu also offers a package called unattended-upgrades which automatically installs important security updates automatically. There is an additional service offered by Canonical, the company behind ubuntu known as livepatch this can be used to patch the ubuntu kernel automatically and without reboot to increase system uptime. In general, You don't really need livepatch unless you're running a system-critical application on Your server. You can simply SSH into Your server on a lazy Sunday and take out about 15 minutes to get it all updated and good to go. Let's go through the process:

This is a companion discussion topic for the original entry at https://www.tekduke.com/keep-your-ubuntu-server-updated/