vault backup: 2024-12-15 18:00:20

This commit is contained in:
Jerry Jacobs 2024-12-15 18:00:20 +01:00
parent d8071dc2eb
commit d32956735c
7 changed files with 57 additions and 16 deletions

View File

@ -27,15 +27,16 @@
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "2024/So you wanna do FreeBSD 14.1 and native Home Assistant?.md", "file": "2025/xg-infra-upgrade-2025.md",
"mode": "source", "mode": "source",
"source": false "source": false
}, },
"icon": "lucide-file", "icon": "lucide-file",
"title": "So you wanna do FreeBSD 14.1 and native Home Assistant?" "title": "xg-infra-upgrade-2025"
} }
} }
] ],
"currentTab": 1
} }
], ],
"direction": "vertical" "direction": "vertical"
@ -66,7 +67,7 @@
"state": { "state": {
"type": "search", "type": "search",
"state": { "state": {
"query": "tag:freebsd", "query": "sshguard",
"matchingCase": false, "matchingCase": false,
"explainSearch": false, "explainSearch": false,
"collapseAll": false, "collapseAll": false,
@ -177,10 +178,15 @@
"command-palette:Open command palette": false "command-palette:Open command palette": false
} }
}, },
"active": "abe7f08be8c489db", "active": "783320241c5007e2",
"lastOpenFiles": [ "lastOpenFiles": [
"2024/Postgres Backups and ZFS snapshots.md",
"2024/So you wanna do FreeBSD 14.1 and native Home Assistant?.md", "2024/So you wanna do FreeBSD 14.1 and native Home Assistant?.md",
"2025/xg-infra-upgrade-2025.md",
"2024/freebsd-notes.md",
"2024/freebsd-jail-vanilla.md",
"2022/computers-and-machines.md",
"2021/A tale about open-source software experience.md",
"2024/Postgres Backups and ZFS snapshots.md",
"2024/Postgres and ZFS snapshots/postgres.go", "2024/Postgres and ZFS snapshots/postgres.go",
"2024/Postgres and ZFS snapshots/postgres (1).go", "2024/Postgres and ZFS snapshots/postgres (1).go",
"2024/Postgres and ZFS snapshots", "2024/Postgres and ZFS snapshots",
@ -188,7 +194,6 @@
"2024/teledyne-cybersecurity-mail-ssh-traffic-20240815-unenc.pdf", "2024/teledyne-cybersecurity-mail-ssh-traffic-20240815-unenc.pdf",
"2024/verjaardag-uitnodiging-jerry-35j-23-mrt-2024.png", "2024/verjaardag-uitnodiging-jerry-35j-23-mrt-2024.png",
"2024/verjaardags-feest-35-jaar-in-breugel.md", "2024/verjaardags-feest-35-jaar-in-breugel.md",
"2025/xg-infra-upgrade-2025.md",
"2024/happy-holidays-nye-2024-kaart/wishes-jerry-nero-2025.png", "2024/happy-holidays-nye-2024-kaart/wishes-jerry-nero-2025.png",
"2024/happy-holidays-nye-2024-kaart/jerry-nero-cutout-cosy-holidays-2024-center-round.png", "2024/happy-holidays-nye-2024-kaart/jerry-nero-cutout-cosy-holidays-2024-center-round.png",
"2024/nye-party-2025-at-breugel.png", "2024/nye-party-2025-at-breugel.png",
@ -198,8 +203,6 @@
"2024/chlorate-cell.md", "2024/chlorate-cell.md",
"2024/1gabba.pw-links.md", "2024/1gabba.pw-links.md",
"2025", "2025",
"2024/freebsd-notes.md",
"2024/freebsd-jail-vanilla.md",
"2024/happy-holidays-nye-2024-kaart/IMG_E7695.HEIC", "2024/happy-holidays-nye-2024-kaart/IMG_E7695.HEIC",
"2024/happy-holidays-nye-2024-kaart", "2024/happy-holidays-nye-2024-kaart",
"2024/mijnpositievegezondheid.net/Mijn Positieve Gezondheid - 2024-11-08.pdf", "2024/mijnpositievegezondheid.net/Mijn Positieve Gezondheid - 2024-11-08.pdf",
@ -223,7 +226,6 @@
"2024/Brouwsels 2024.md", "2024/Brouwsels 2024.md",
"2021/Tagliatelle-Bolognese.md", "2021/Tagliatelle-Bolognese.md",
"2024/gyros-kruiden-jacobus.md", "2024/gyros-kruiden-jacobus.md",
"2024/POP gesprek 2024-Q1.md",
"Untitled.canvas" "Untitled.canvas"
] ]
} }

View File

@ -1,5 +1,11 @@
# A tale about open-source software experience # A tale about open-source software experience
---
tags:
- freebsd
- homelab
---
This blog post is about my experiences with open-source software. This blog post is about my experiences with open-source software.
[Linux](https://en.wikipedia.org/wiki/Linux) is not an operating system (OS) as most people think it's only a monolithic kernel with many advanced specific technologies. This means the user-space applications and tools come from other places like the GNU project. That is why Linux is also written as GNU/Linux. [Linux](https://en.wikipedia.org/wiki/Linux) is not an operating system (OS) as most people think it's only a monolithic kernel with many advanced specific technologies. This means the user-space applications and tools come from other places like the GNU project. That is why Linux is also written as GNU/Linux.

BIN
2024/.DS_Store vendored

Binary file not shown.

View File

@ -1,3 +1,14 @@
---
tags:
- freebsd
- homelab
- selfhosting
---
Environment:
* FreeBSD 14.1-RELEASE-p3 AMD64
* Python 3.11.9
* Home Assistant 2024.3.3
I have encountered several project now which are Linux container/docker "native" installation. Like PhotoPrism and HomeAssistant. Yeah software dependencies are hard for developers and maintainers. But ending your software on just one install method is a "quick-fix". Apple macOS tries to "fix this" by putting everything of an application in a folder suffixed as `.app`. No this are no containers but all application dependencies reside in this folder. The price you pay is more disk space when multiple applications use same "Apple .framework" or libraries and other executables. I have encountered several project now which are Linux container/docker "native" installation. Like PhotoPrism and HomeAssistant. Yeah software dependencies are hard for developers and maintainers. But ending your software on just one install method is a "quick-fix". Apple macOS tries to "fix this" by putting everything of an application in a folder suffixed as `.app`. No this are no containers but all application dependencies reside in this folder. The price you pay is more disk space when multiple applications use same "Apple .framework" or libraries and other executables.
It seems nowadays the quick-fix is to enforce people using Docker for production and when that is not available it will be wrapped again in a native Linux virtual machine. So you are almost out of luck running it otherwise. Gitlab is another beast, it runs on ruby and it has "omnibus" host installer. Which just basicly Gitlab-fies your whole OS. It seems nowadays the quick-fix is to enforce people using Docker for production and when that is not available it will be wrapped again in a native Linux virtual machine. So you are almost out of luck running it otherwise. Gitlab is another beast, it runs on ruby and it has "omnibus" host installer. Which just basicly Gitlab-fies your whole OS.

View File

@ -1,3 +1,9 @@
---
tags:
- freebsd
- homelab
---
# Manage jail manually # Manage jail manually
1. Enable at startup `/etc/rc.conf` line `jail_enable="YES"` 1. Enable at startup `/etc/rc.conf` line `jail_enable="YES"`

View File

@ -1,3 +1,9 @@
---
tags:
- freebsd
- homelab
---
# FreeBSD notes # FreeBSD notes
## VIM ## VIM

View File

@ -3,13 +3,11 @@ tags:
- freebsd - freebsd
- homelab - homelab
--- ---
> [!note]
> Whut
# NAS # NAS
* clean install newest FreeBSD 14.2 * clean install newest FreeBSD 14.2
* move OS /home into /data/home zpool/home * move OS /home into /data/home zpool/home
* mount ISO over IPMI
* Manage old zpool: * Manage old zpool:
* (old OS) zpool export zpool * (old OS) zpool export zpool
* (new OS) zpool import -N zpool * (new OS) zpool import -N zpool
@ -26,19 +24,26 @@ tags:
* Applications in seperate freebsd jails * Applications in seperate freebsd jails
* Syncthing * Syncthing
* Transmission * Transmission
* Gitea * (existing -> upgrade) Gitea
* Samba * Template FreeBSD 14.2
* Samba
* VTVBB sync + go tooling * VTVBB sync + go tooling
* Cache: pkg + freebsd update (for jails)
* Data partitioning * Data partitioning
* zroot (ssd OS only) * zroot (ssd OS only)
* zpool (14TB hdd mirror) * zpool (14TB hdd mirror)
* /data/home * /data/home
Host OS services:
* SSH + sshguard
Improvements & things to not forget: Improvements & things to not forget:
* backup settings from /etc and /usr/local/etc before SSD OS disk wipe * backup settings from /etc and /usr/local/etc before SSD OS disk wipe
* private keychains daily snapshots (separate Syncthing share + copies=2?) * private keychains daily snapshots (separate Syncthing share + copies=2?)
* crontab(s) backup
* samba config * samba config
* gitea backup * gitea backup
* sshguard
* jails settings backup * jails settings backup
* vanilla jails management with templates * vanilla jails management with templates
* Migrate from zfstools auto-snapshot and prune to Python zfs-autobackup? * Migrate from zfstools auto-snapshot and prune to Python zfs-autobackup?
@ -50,4 +55,9 @@ Improvements & things to not forget:
* Migrate all automations Hue -> Home Assistant * Migrate all automations Hue -> Home Assistant
* Samba network share * Samba network share
* AVAHI/Bonjour autodiscovery * AVAHI/Bonjour autodiscovery
* Automount network shares on macOS * Automount network shares on macOS
* ZFS zpool scrub monthly cron
* Homeassistant in FreeBSD jail rc.d service file for auto-start on boot
* FreeBSD pkg cache for jails
* https://omussell.github.io/fbsd-update-cache/
* https://forums.freebsd.org/threads/nginx-pkg-cache-help.85699/ + https://serverfault.com/a/1026574