Files
Blog_and_Personal_Page/content/knowledge-base/automatic-updates.md
T
2024-12-03 15:38:07 +01:00

23 lines
585 B
Markdown

+++
date = '2022-09-04T15:40:21'
draft = false
title = 'Automatic Updates'
type = 'post'
tags = ['Linux', 'Debian']
+++
Installing security updates is very important. Especially on a server that is not accessed on a daily basis.
This tutorial covers the basics for setting up unattended-upgrades on any Debian-based Linux distribution.
## Update the system
```
sudo apt update && sudo apt upgrade
```
## Install unattended-upgrades
```
apt install unattended-upgrades
```
```
dpkg-reconfigure unattended-upgrades
```
## Further Information
<https://wiki.debian.org/UnattendedUpgrades>