Server-config on immutable os (microos or core-os or derivatives thereof)
Bringup is getting easier and easier as I accept & learn the container way of things.
Layer nothing, container everything. This is the way.
The blueprint
- Add user as an unprivileged “supervisor/keeper” for podman services
sudo useradd -u 1011 -d /srv/serverus vernon
sudo passwd vernon
- Mount raid array to
/srv
a. lsblk to find md# of raid array
b. blkid md# to get the UUID of the raid array
c. Add line UUID=<foundUUID> /srv auto defaults 0 0 to fstab to mount raid array to /srv
d. sudo mount -a to test auto mounting of raid array
- Setup server apps
a. find service.container files at /srv/container/.
- jellyfin unit contents
- transmission unit contents
b. symbolically link .container (quadlet) files from /srv/containers/ to /etc/containers/systemd/
c. systemctl daemon-reload
d. systemctl start <serviceName>
- Setup network shares
a. Samba quadlet?
b. NFS quadlet? Bazzite says don’t bother.
Essentially just use what works for all, and that’s SMB.
Configs
WIP
Use named-volumes for cache and config
- reduced permissions issues
- reduced directories on the filesystem
- better portability (not convinced of this one)
Finish
Setup SMB share