This Guide and Scripts are used for setting up new FreeBSD/ZFS servers.
The scripts and the setup is designed for FreeBSD 14 on a Hetzner-Server using mfsBSD
with bsdinstallimage
.
It is using a default FreeBSD with ZFS-on-root as base, tweaks some system parameters and prepare a complex setup of jails for a containerised approach of running mail, and web services.
Feel free to fork and adapt the scripts.
The complete setup is documented in the setup document, but inprinciple it is as follows:
- Run the base installation
- Run the base-install scripts
zfs_install.sh
,packages_install.sh
, andbase_config.sh
- Restart the machine
- Install the jails using BastilleBSD with
jail_creation.sh
,jail_certificates.sh
,jail_templates.sh
, andhost_sendmail.sh
.