Update README with new directory structure
This commit is contained in:
@@ -2,12 +2,19 @@
|
||||
|
||||
Sammlung von System-Administrationsskripten für WinterIT und Kunden.
|
||||
|
||||
## Verzeichnis
|
||||
## Verzeichnisstruktur
|
||||
|
||||
| Skript | Zweck |
|
||||
|--------|-------|
|
||||
| [setup-unattended-upgrades.sh](setup-unattended-upgrades.sh) | Automatische Security-Updates für Kubuntu |
|
||||
| [setup-unattended-upgrades-full.sh](setup-unattended-upgrades-full.sh) | Automatische **alle** Updates (Security + Apps) |
|
||||
```
|
||||
sysadmin/
|
||||
├── linux/
|
||||
│ ├── kubuntu/ # Kubuntu-spezifische Skripte
|
||||
│ │ ├── setup-unattended-upgrades.sh # Nur Security-Updates
|
||||
│ │ └── setup-unattended-upgrades-full.sh # Alle Updates
|
||||
│ └── debian/ # Debian-spezifische Skripte
|
||||
├── windows/ # Windows-Administration
|
||||
├── networking/ # Netzwerk-Konfigurationen
|
||||
└── docs/ # Dokumentation
|
||||
```
|
||||
|
||||
## Kubuntu: Automatische Updates einrichten
|
||||
|
||||
@@ -16,32 +23,21 @@ Sammlung von System-Administrationsskripten für WinterIT und Kunden.
|
||||
**Variante A: Nur Security-Updates (empfohlen für stabile Systeme)**
|
||||
|
||||
```bash
|
||||
# 1. Skript herunterladen
|
||||
wget https://git.winterit.de/WinterIT/sysadmin/raw/branch/main/setup-unattended-upgrades.sh
|
||||
|
||||
# 2. Ausführbar machen
|
||||
wget https://git.winterit.de/WinterIT/sysadmin/raw/branch/main/linux/kubuntu/setup-unattended-upgrades.sh
|
||||
chmod +x setup-unattended-upgrades.sh
|
||||
|
||||
# 3. Als root ausführen
|
||||
sudo ./setup-unattended-upgrades.sh
|
||||
```
|
||||
|
||||
**Variante B: Alle Updates inkl. Applikationen (empfohlen für aktuelle Software)**
|
||||
|
||||
```bash
|
||||
# 1. Skript herunterladen
|
||||
wget https://git.winterit.de/WinterIT/sysadmin/raw/branch/main/setup-unattended-upgrades-full.sh
|
||||
|
||||
# 2. Ausführbar machen
|
||||
wget https://git.winterit.de/WinterIT/sysadmin/raw/branch/main/linux/kubuntu/setup-unattended-upgrades-full.sh
|
||||
chmod +x setup-unattended-upgrades-full.sh
|
||||
|
||||
# 3. Als root ausführen
|
||||
sudo ./setup-unattended-upgrades-full.sh
|
||||
```
|
||||
|
||||
### Was passiert?
|
||||
|
||||
Das Skript richtet automatisch ein:
|
||||
- **unattended-upgrades** installieren und konfigurieren
|
||||
- **Security-Updates** automatisch im Hintergrund installieren
|
||||
- **Reguläre Updates** (bei Full-Version) — Firefox, LibreOffice, etc.
|
||||
@@ -51,25 +47,14 @@ Das Skript richtet automatisch ein:
|
||||
### Nach dem Setup prüfen
|
||||
|
||||
```bash
|
||||
# Status des Services
|
||||
sudo systemctl status unattended-upgrades
|
||||
|
||||
# Testlauf (simuliert, ändert nichts)
|
||||
sudo unattended-upgrade --dry-run
|
||||
|
||||
# Logs ansehen
|
||||
ls /var/log/unattended-upgrades/
|
||||
```
|
||||
|
||||
### Manuelle Konfiguration (falls nötig)
|
||||
### Dokumentation
|
||||
|
||||
```bash
|
||||
# Konfiguration anpassen
|
||||
sudo nano /etc/apt/apt.conf.d/50unattended-upgrades
|
||||
|
||||
# Auch reguläre Updates aktivieren (falls Standard-Version verwendet):
|
||||
# "${distro_id}:${distro_codename}-updates"; ← Kommentar entfernen
|
||||
```
|
||||
Detaillierte Infos: [docs/kubuntu-unattended-upgrades.md](docs/kubuntu-unattended-upgrades.md)
|
||||
|
||||
## Lizenz
|
||||
|
||||
|
||||
Reference in New Issue
Block a user