diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 82a3f9a..6fd6848 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -27,15 +27,16 @@ "state": { "type": "markdown", "state": { - "file": "2024/So you wanna do FreeBSD 14.1 and native Home Assistant?.md", + "file": "2025/xg-infra-upgrade-2025.md", "mode": "source", "source": false }, "icon": "lucide-file", - "title": "So you wanna do FreeBSD 14.1 and native Home Assistant?" + "title": "xg-infra-upgrade-2025" } } - ] + ], + "currentTab": 1 } ], "direction": "vertical" @@ -66,7 +67,7 @@ "state": { "type": "search", "state": { - "query": "tag:freebsd", + "query": "sshguard", "matchingCase": false, "explainSearch": false, "collapseAll": false, @@ -177,10 +178,15 @@ "command-palette:Open command palette": false } }, - "active": "abe7f08be8c489db", + "active": "783320241c5007e2", "lastOpenFiles": [ - "2024/Postgres Backups and ZFS snapshots.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 (1).go", "2024/Postgres and ZFS snapshots", @@ -188,7 +194,6 @@ "2024/teledyne-cybersecurity-mail-ssh-traffic-20240815-unenc.pdf", "2024/verjaardag-uitnodiging-jerry-35j-23-mrt-2024.png", "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/jerry-nero-cutout-cosy-holidays-2024-center-round.png", "2024/nye-party-2025-at-breugel.png", @@ -198,8 +203,6 @@ "2024/chlorate-cell.md", "2024/1gabba.pw-links.md", "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", "2024/mijnpositievegezondheid.net/Mijn Positieve Gezondheid - 2024-11-08.pdf", @@ -223,7 +226,6 @@ "2024/Brouwsels 2024.md", "2021/Tagliatelle-Bolognese.md", "2024/gyros-kruiden-jacobus.md", - "2024/POP gesprek 2024-Q1.md", "Untitled.canvas" ] } \ No newline at end of file diff --git a/2021/A tale about open-source software experience.md b/2021/A tale about open-source software experience.md index a2547e5..7fb8c41 100644 --- a/2021/A tale about open-source software experience.md +++ b/2021/A tale about open-source software experience.md @@ -1,5 +1,11 @@ # A tale about open-source software experience +--- +tags: + - freebsd + - homelab +--- + 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. diff --git a/2024/.DS_Store b/2024/.DS_Store index 950011f..7f5fcb7 100644 Binary files a/2024/.DS_Store and b/2024/.DS_Store differ diff --git a/2024/So you wanna do FreeBSD 14.1 and native Home Assistant?.md b/2024/So you wanna do FreeBSD 14.1 and native Home Assistant?.md index deab44c..6fac24e 100644 --- a/2024/So you wanna do FreeBSD 14.1 and native Home Assistant?.md +++ b/2024/So you wanna do FreeBSD 14.1 and native Home Assistant?.md @@ -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. 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. diff --git a/2024/freebsd-jail-vanilla.md b/2024/freebsd-jail-vanilla.md index 29e1cf1..366ad6a 100644 --- a/2024/freebsd-jail-vanilla.md +++ b/2024/freebsd-jail-vanilla.md @@ -1,3 +1,9 @@ +--- +tags: + - freebsd + - homelab +--- + # Manage jail manually 1. Enable at startup `/etc/rc.conf` line `jail_enable="YES"` diff --git a/2024/freebsd-notes.md b/2024/freebsd-notes.md index 967e9f8..cc0c5e4 100644 --- a/2024/freebsd-notes.md +++ b/2024/freebsd-notes.md @@ -1,3 +1,9 @@ +--- +tags: + - freebsd + - homelab +--- + # FreeBSD notes ## VIM diff --git a/2025/xg-infra-upgrade-2025.md b/2025/xg-infra-upgrade-2025.md index 2f81ba2..ac2d835 100644 --- a/2025/xg-infra-upgrade-2025.md +++ b/2025/xg-infra-upgrade-2025.md @@ -3,13 +3,11 @@ tags: - freebsd - homelab --- -> [!note] -> Whut - # NAS * clean install newest FreeBSD 14.2 * move OS /home into /data/home zpool/home + * mount ISO over IPMI * Manage old zpool: * (old OS) zpool export zpool * (new OS) zpool import -N zpool @@ -26,19 +24,26 @@ tags: * Applications in seperate freebsd jails * Syncthing * Transmission - * Gitea - * Samba + * (existing -> upgrade) Gitea + * Template FreeBSD 14.2 + * Samba * VTVBB sync + go tooling + * Cache: pkg + freebsd update (for jails) * Data partitioning * zroot (ssd OS only) * zpool (14TB hdd mirror) * /data/home +Host OS services: + * SSH + sshguard + Improvements & things to not forget: * backup settings from /etc and /usr/local/etc before SSD OS disk wipe * private keychains daily snapshots (separate Syncthing share + copies=2?) +* crontab(s) backup * samba config * gitea backup +* sshguard * jails settings backup * vanilla jails management with templates * 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 * Samba network share * AVAHI/Bonjour autodiscovery -* Automount network shares on macOS \ No newline at end of file +* 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 \ No newline at end of file