unattended-updates/README.md

32 lines
744 B
Markdown
Raw Normal View History

2024-11-08 12:07:01 +01:00
## Unattended update script for Ubuntu 22.04 and 24.04 server.
2024-10-24 12:40:05 +02:00
### Prerequisites
2024-11-08 12:07:01 +01:00
Ubuntu 22.04 or higher server.
2024-10-24 12:40:05 +02:00
> **IMPORTANT**
>
> This will configure unattended updates with the following.\
> Update packages\
> Update security packages\
> Remove unused depencies same as apt autoremove\
> Reboot if needed even with users logged on\
> Create a crontab entry to run updates every Sunday at 04:00
### Download the script
```
git clone https://git.x-files.dk/ubuntu-server/unattended-updates.git
```
### Usage
cd unattended-updates
sudo ./configure-updates
### Postinstall
Nothing to do.
### More guides
More guides can be found on [\[wiki.x-files.dk\]](https://wiki.x-files.dk)
### Last tested
2024-11-08 12:07:01 +01:00
November 8th 2024 on Ubuntu 24.04.