Update README: Add v2 script comparison table
This commit is contained in:
@@ -8,8 +8,9 @@ Sammlung von System-Administrationsskripten für WinterIT und Kunden.
|
|||||||
sysadmin/
|
sysadmin/
|
||||||
├── linux/
|
├── linux/
|
||||||
│ ├── kubuntu/ # Kubuntu-spezifische Skripte
|
│ ├── kubuntu/ # Kubuntu-spezifische Skripte
|
||||||
│ │ ├── setup-unattended-upgrades.sh # Nur Security-Updates
|
│ │ ├── setup-unattended-upgrades.sh # Nur Security-Updates
|
||||||
│ │ └── setup-unattended-upgrades-full.sh # Alle Updates
|
│ │ ├── setup-unattended-upgrades-full.sh # Alle Updates (legacy v1)
|
||||||
|
│ │ └── setup-unattended-upgrades-full-v2.sh # Alle Updates (verbessert)
|
||||||
│ └── debian/ # Debian-spezifische Skripte
|
│ └── debian/ # Debian-spezifische Skripte
|
||||||
├── windows/ # Windows-Administration
|
├── windows/ # Windows-Administration
|
||||||
├── networking/ # Netzwerk-Konfigurationen
|
├── networking/ # Netzwerk-Konfigurationen
|
||||||
@@ -20,7 +21,15 @@ sysadmin/
|
|||||||
|
|
||||||
### Schnellstart (vor Ort)
|
### Schnellstart (vor Ort)
|
||||||
|
|
||||||
**Variante A: Nur Security-Updates (empfohlen für stabile Systeme)**
|
**Empfohlen: Verbesserte v2-Version**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wget https://git.winterit.de/WinterIT/sysadmin/raw/branch/main/linux/kubuntu/setup-unattended-upgrades-full-v2.sh
|
||||||
|
chmod +x setup-unattended-upgrades-full-v2.sh
|
||||||
|
sudo ./setup-unattended-upgrades-full-v2.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
**Variante A: Nur Security-Updates (stabile Systeme)**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://git.winterit.de/WinterIT/sysadmin/raw/branch/main/linux/kubuntu/setup-unattended-upgrades.sh
|
wget https://git.winterit.de/WinterIT/sysadmin/raw/branch/main/linux/kubuntu/setup-unattended-upgrades.sh
|
||||||
@@ -28,13 +37,16 @@ chmod +x setup-unattended-upgrades.sh
|
|||||||
sudo ./setup-unattended-upgrades.sh
|
sudo ./setup-unattended-upgrades.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
**Variante B: Alle Updates inkl. Applikationen (empfohlen für aktuelle Software)**
|
### Was verbessert die v2-Version?
|
||||||
|
|
||||||
```bash
|
| Feature | v1 (legacy) | v2 (empfohlen) |
|
||||||
wget https://git.winterit.de/WinterIT/sysadmin/raw/branch/main/linux/kubuntu/setup-unattended-upgrades-full.sh
|
|---------|-------------|----------------|
|
||||||
chmod +x setup-unattended-upgrades-full.sh
|
| `sed`-Muster | Starr (`//"`) | Flexibel (`//[[:space:]]*"`) |
|
||||||
sudo ./setup-unattended-upgrades-full.sh
|
| `apt-daily.timer` | ❌ Nicht aktiviert | ✅ Aktiviert |
|
||||||
```
|
| `apt-daily-upgrade.timer` | ❌ Nicht aktiviert | ✅ Aktiviert |
|
||||||
|
| `20auto-upgrades` | ❌ Fehlend | ✅ Explizit gesetzt |
|
||||||
|
| GUI-Notifier | `apt remove` (aggressiv) | `Hidden=true` (sanft) |
|
||||||
|
| Verifikation | ❌ Keine | ✅ Zeigt aktive Origins |
|
||||||
|
|
||||||
### Was passiert?
|
### Was passiert?
|
||||||
|
|
||||||
@@ -42,20 +54,26 @@ sudo ./setup-unattended-upgrades-full.sh
|
|||||||
- **Security-Updates** automatisch im Hintergrund installieren
|
- **Security-Updates** automatisch im Hintergrund installieren
|
||||||
- **Reguläre Updates** (bei Full-Version) — Firefox, LibreOffice, etc.
|
- **Reguläre Updates** (bei Full-Version) — Firefox, LibreOffice, etc.
|
||||||
- **GUI-Benachrichtigungen** deaktivieren (keine Popups mehr)
|
- **GUI-Benachrichtigungen** deaktivieren (keine Popups mehr)
|
||||||
- **Service** aktivieren und starten
|
- **Service + Timer** aktivieren und starten
|
||||||
|
- **Verifikation** am Ende — zeigt sofort, ob alles funktioniert
|
||||||
|
|
||||||
### Nach dem Setup prüfen
|
### Nach dem Setup prüfen
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# Status des Services
|
||||||
sudo systemctl status unattended-upgrades
|
sudo systemctl status unattended-upgrades
|
||||||
|
|
||||||
|
# Timer-Status
|
||||||
|
sudo systemctl status apt-daily.timer
|
||||||
|
sudo systemctl status apt-daily-upgrade.timer
|
||||||
|
|
||||||
|
# Testlauf (simuliert, ändert nichts)
|
||||||
sudo unattended-upgrade --dry-run
|
sudo unattended-upgrade --dry-run
|
||||||
|
|
||||||
|
# Logs ansehen
|
||||||
ls /var/log/unattended-upgrades/
|
ls /var/log/unattended-upgrades/
|
||||||
```
|
```
|
||||||
|
|
||||||
### Dokumentation
|
|
||||||
|
|
||||||
Detaillierte Infos: [docs/kubuntu-unattended-upgrades.md](docs/kubuntu-unattended-upgrades.md)
|
|
||||||
|
|
||||||
## Lizenz
|
## Lizenz
|
||||||
|
|
||||||
Interner Code für WinterIT.
|
Interner Code für WinterIT.
|
||||||
|
|||||||
Reference in New Issue
Block a user