update maintanance
This commit is contained in:
112
IT/Cheatsheet.md
112
IT/Cheatsheet.md
@@ -63,7 +63,7 @@ Löscht den letzten Commit und alle darin enthaltenen Änderungen unwiderruflich
|
||||
| Befehl | Beschreibung |
|
||||
| :--- | :--- |
|
||||
| `htop` / `btop` | Interaktiver Prozess-Manager (CPU/RAM). |
|
||||
| `ps aux | grep [app]` | Zeigt spezifische laufende Prozesse. |
|
||||
| `ps aux (pipe) grep [app]` | Zeigt spezifische laufende Prozesse. |
|
||||
| `kill -9 [PID]` | Beendet Prozess hart (SIGKILL). |
|
||||
| `systemctl status [dienst]` | Prüft Status eines Service (z.B. docker, sshd). |
|
||||
| `journalctl -xe` | Zeigt System-Logs (bei Fehlern). |
|
||||
@@ -115,4 +115,112 @@ Löscht den letzten Commit und alle darin enthaltenen Änderungen unwiderruflich
|
||||
| `ssh -p 2222 user@ip` | Verbindet auf spezifischem Port. |
|
||||
| `ssh-copy-id user@ip` | Kopiert den Public Key auf den Server (Passwortloses Login). |
|
||||
| `ip a` | Zeigt eigene IP-Adressen und Interfaces. |
|
||||
| `ss -tulpn` | Zeigt offene Ports und lauschende Dienste (Sockets). |
|
||||
| `ss -tulpn` | Zeigt offene Ports und lauschende Dienste (Sockets). |
|
||||
|
||||
# ledger
|
||||
1\. Core Syntax: The Journal Entry
|
||||
|
||||
Every transaction must satisfy the **Accounting Equation** (AE) where the sum of all postings equals zero (∑\=0).
|
||||
|
||||
Code snippet
|
||||
|
||||
```
|
||||
YYYY-MM-DD [Status] Description
|
||||
Account:Name:Subaccount [Amount] [Unit]
|
||||
Account:Other:Subaccount [Amount] [Unit]
|
||||
```
|
||||
|
||||
* **Indentation:** At least two spaces for postings.
|
||||
|
||||
* **Status Marks:** `*` for **Cleared** (C), `!` for **Pending** (P).
|
||||
|
||||
* **Automatic Balancing:** You can leave **one** amount blank; the system calculates the remainder to maintain equilibrium.
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 2\. Account Types (Standard Hierarchy)
|
||||
|
||||
| Category | Account Prefix | Normal Balance | Physics Analogy |
|
||||
| --- | --- | --- | --- |
|
||||
| **Assets** | `assets:` | Debit (+) | Potential Energy (Stored) |
|
||||
| **Liabilities** | `liabilities:` | Credit (-) | External Tension (Debt) |
|
||||
| **Equity** | `equity:` | Credit (-) | System Origin / Initial State |
|
||||
| **Income** | `income:` | Credit (-) | Energy Inflow (Flux) |
|
||||
| **Expenses** | `expenses:` | Debit (+) | Energy Dissipation (Entropy) |
|
||||
|
||||
Export to Sheets
|
||||
|
||||
---
|
||||
|
||||
## 3\. Advanced Notation
|
||||
|
||||
### Comments and Metadata
|
||||
|
||||
* `;` or `#` or `%` starts a comment.
|
||||
|
||||
* `; tag: value` defines metadata for custom filtering.
|
||||
|
||||
|
||||
### Balance Assertions (BA)
|
||||
|
||||
Force the system to validate the state at a specific point in time.
|
||||
|
||||
Code snippet
|
||||
|
||||
```
|
||||
2026-02-11 * Grocery Store
|
||||
expenses:food $50.00
|
||||
assets:checking $-50.00 == $1000.00 ; Fails if balance != $1000
|
||||
```
|
||||
|
||||
### Commodities and Prices
|
||||
|
||||
Define exchange rates between different units (e.g., Currency or Stocks).
|
||||
|
||||
Code snippet
|
||||
|
||||
```
|
||||
P 2026-02-11 15:00:00 AAPL $230.00 ; Price of 1 AAPL in USD
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 4\. Command Line Interface (CLI) Quick Ref
|
||||
|
||||
| Goal | Command | Key Flags |
|
||||
| --- | --- | --- |
|
||||
| **Current Totals** | `hledger bal` | `-p` (period), `-R` (real) |
|
||||
| **Transaction Log** | `hledger reg` | `-W` (weekly), `-M` (monthly) |
|
||||
| **Verify Integrity** | `hledger check` | Useful after git pull |
|
||||
| **Interactive UI** | `hledger-ui` | `--watch` (auto-reload on save) |
|
||||
| **Export Data** | `hledger print` | `-o file.csv` |
|
||||
|
||||
Export to Sheets
|
||||
|
||||
---
|
||||
|
||||
## 5\. hledger-Specific Features
|
||||
|
||||
Unlike the original **Ledger** (LGR), **hledger** (HLGR) includes specialized directives:
|
||||
|
||||
* **`account`**: Define account properties.
|
||||
|
||||
* **`alias`**: Rename accounts on the fly.
|
||||
|
||||
* **`include`**: Modularize your journal (e.g., `include 2025.journal`).
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 6\. Workflow: Git + hledger
|
||||
|
||||
Since your journal is plain text, use this workflow to maintain a **Distributed Ledger** (DL):
|
||||
|
||||
1. **Edit:** Update your `.journal` file.
|
||||
|
||||
2. **Verify:** Run `hledger check`.
|
||||
|
||||
3. **Commit:** `git commit -am "Update transactions"`
|
||||
|
||||
4. **Sync:** `git pull --rebase && git push`
|
||||
63
IT/Ports.md
63
IT/Ports.md
@@ -6,8 +6,8 @@
|
||||
| :--- | :--- | :--- | :--- |
|
||||
| **HTTP Ingress** (Pangolin) | **80** | 80 | Öffentlicher Web-Traffic |
|
||||
| **HTTPS Ingress** (Pangolin) | **443** | 443 | Öffentlicher SSL-Traffic |
|
||||
| **Middleware Manager** | **3456** | 3456 | UI für Pangolin |
|
||||
| **Gotify** | **8080** | **80** | Push Notifications |
|
||||
| **[Middleware Manager](https://middlewaremanager.kornzuhause.space/)** | **3456** | 3456 | UI für Pangolin |
|
||||
| **[Gotify](https://gotify.kornzuhause.space)** | **8080** | **80** | Push Notifications |
|
||||
|
||||
---
|
||||
|
||||
@@ -16,28 +16,29 @@
|
||||
|
||||
| Dienst | **Host Port** | Interner Port | Notizen |
|
||||
| :--- | :--- | :--- | :--- |
|
||||
| **dockman** | **9000** | 8080 | Stack-Manager (Haupt-Cockpit) |
|
||||
| **Glance** | **9001** | 8080 | Dashboard / Startseite |
|
||||
| **Uptime Kuma** | **9002** | 3001 | Status-Überwachung |
|
||||
| **Whats Up Docker** | **9003** | 3000 | Update-Benachrichtigungen |
|
||||
| **Omnitools** | **9004** | 80 | Web UI Tools |
|
||||
| **[dockman](https://dockman.kornzuhause.space)** | **9000** | 8080 | Stack-Manager (Haupt-Cockpit) |
|
||||
| **[Glance](https://glance.kornzuhause.space)** | **9001** | 8080 | Dashboard / Startseite |
|
||||
| **[Uptime Kuma](https://kuma.kornzuhause.space)** | **9002** | 3001 | Status-Überwachung |
|
||||
| **[Whats Up Docker](https://wud.kornzuhause.space)** | **9003** | 3000 | Update-Benachrichtigungen |
|
||||
| **[Omnitools](https://omni-tools.kornzuhause.space)** | **9004** | 80 | Web UI Tools |
|
||||
|
||||
### 🏠 Home Node: Core Infrastruktur
|
||||
*(Standard Ports)*
|
||||
|
||||
| Dienst | **Host Port** | Interner Port | Notizen |
|
||||
| :--- | :--- | :--- | :--- |
|
||||
| **Vaultwarden** | **8800** | 80 | Passwort-Manager |
|
||||
| **Gitea (Web)** | **3000** | 3000 | Code Hosting |
|
||||
| **[Vaultwarden](https://vw.kornzuhause.space)** | **8800** | 80 | Passwort-Manager |
|
||||
| **[Gitea (Web)](https://gitea.kornzuhause.space)** | **3000** | 3000 | Code Hosting |
|
||||
| **Gitea (SSH)** | **2222** | 22 | **Kritisch:** SSH Passthrough |
|
||||
| **Seafile** | **8900** | 80 | Datei-Synchronisation |
|
||||
| **[Seafile](https://sf.kornzuhause.space)** | **8900** | 80 | Datei-Synchronisation |
|
||||
| **[Grocy](https://grocy.kornzuhause.space)** | **8880** | 80 | Kitchen Manager |
|
||||
|
||||
### 🏠 Home Node: Smart Home
|
||||
*(IoT Standard Ports)*
|
||||
|
||||
| Dienst | **Host Port** | Interner Port | Notizen |
|
||||
| :--- | :--- | :--- | :--- |
|
||||
| **Home Assistant** | **8123** | 8123 | Automatisierungs-Hub |
|
||||
| **[Home Assistant](https://ha.kornzuhause.space)** | **8123** | 8123 | Automatisierungs-Hub |
|
||||
| **MagicMirror** | **8180** | 8080 | Smart Mirror Display |
|
||||
|
||||
### 🏠 Home Node: Medien
|
||||
@@ -45,33 +46,37 @@
|
||||
|
||||
| Dienst | **Host Port** | Interner Port | Notizen |
|
||||
| :--- | :--- | :--- | :--- |
|
||||
| **Jellyfin** | **7003** | 8096 | Video Streaming |
|
||||
| **Immich** | **7999** | 2283 | Foto-Backup |
|
||||
| **Immich-Drop** | **7998** | 8080 | Foto-Upload |
|
||||
| **Immich-Public** | **7997** | 3000 | Foto-Sharing |
|
||||
| **Immich-Kiosk** | **7996** | 3000 | Foto-Kiosk |
|
||||
| **Immich-Tools** | **7995** | 3000 | Immich Powertools |
|
||||
| **Audiobookshelf** | **7001** | 80 | Hörbücher |
|
||||
| **RomM** | **7000** | 8080 | Retro Game Manager |
|
||||
| **[Jellyfin](https://jellyfin.kornzuhause.space)** | **7003** | 8096 | Video Streaming |
|
||||
| **[Immich](https://immich.kornzuhause.space)** | **7999** | 2283 | Foto-Backup |
|
||||
| **[Immich-Drop](https://drop.kornzuhause.space)** | **7998** | 8080 | Foto-Upload |
|
||||
| **[Immich-Public](https://public-immich.kornzuhause.space)** | **7997** | 3000 | Foto-Sharing |
|
||||
| **[Immich-Kiosk](https://kiosk.kornzuhause.space)** | **7996** | 3000 | Foto-Kiosk |
|
||||
| **[Immich-Tools](https://immich-tools.kornzuhause.space)** | **7995** | 3000 | Immich Powertools |
|
||||
| **[Audiobookshelf](https://abs.kornzuhause.space)** | **7001** | 80 | Hörbücher |
|
||||
| **[RomM](https://romm.kornzuhause.space)** | **7000** | 8080 | Retro Game Manager |
|
||||
|
||||
### 🏠 Home Node: Produktivität & SaaS
|
||||
*(Ports 8000 - 8099)*
|
||||
|
||||
| Dienst | **Host Port** | Interner Port | Notizen |
|
||||
| :--- | :--- | :--- | :--- |
|
||||
| **Paperless-ngx** | **8000** | 8000 | Dokumentenmanagement |
|
||||
| **Focalboard** | **8001** | 8000 | Aufgabenverwaltung |
|
||||
| **Stirling PDF** | **8002** | 8080 | PDF Werkzeuge |
|
||||
| **Gramps** | **8003** | 5000 | Ahnentafel |
|
||||
| **Silverbullet** | **8004** | 3000 | Markdown Notizen |
|
||||
| **Koffan** | **8005** | 80 | Einkaufszettel |
|
||||
| **Fossflow** | **8006** | 80 | Projektmanagement |
|
||||
| **Trip** | **8007** | 80 | Reisen/Karten |
|
||||
| **Norish** | **8008** | 80 | Rezepte/Ernährung |
|
||||
| **[Paperless-ngx](https://paperless.kornzuhause.space)** | **8000** | 8000 | Dokumentenmanagement |
|
||||
| **[Focalboard](https://focalboard.kornzuhause.space)** | **8001** | 8000 | Aufgabenverwaltung |
|
||||
| **[Stirling PDF](https://pdf.kornzuhause.space)** | **8002** | 8080 | PDF Werkzeuge |
|
||||
| **[Gramps](https://gramps.kornzuhause.space)** | **8003** | 5000 | Ahnentafel |
|
||||
| **[Silverbullet](https://silver.kornzuhause.space)** | **8004** | 3000 | Markdown Notizen |
|
||||
| **[Koffan](https://koffan.kornzuhause.space)** | **8005** | 80 | Einkaufszettel |
|
||||
| **[Fossflow](https://fossflow.kornzuhause.space)** | **8006** | 80 | Projektmanagement |
|
||||
| **[Trip](https://trip.kornzuhause.space)** | **8007** | 80 | Reisen/Karten |
|
||||
| **[Norish](https://norish.kornzuhause.space)** | **8008** | 80 | Rezepte/Ernährung |
|
||||
| **Whisper** | **8020** | 80 | Speech to text |
|
||||
|
||||
|
||||
|
||||
### Backup & Security
|
||||
*Diverse Ports*
|
||||
| Dienst | **Host Port** | Interner Port | Notizen |
|
||||
| :--- | :--- | :--- | :--- |
|
||||
| **[Zerobyte](https://zerobyte.kornzuhause.space)** | **4096** | 4096 | Backuptool |
|
||||
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user