New #blog post
https://michal.sapka.me/blog/2024/should-i-self-host-this-site/
"Hosting a website is infinitely less complex than doing it for E-mail, so it’s as close to a cakewalk as it gets. If you can help me with those questions, please do."
New #blog post
https://michal.sapka.me/blog/2024/should-i-self-host-this-site/
"Hosting a website is infinitely less complex than doing it for E-mail, so it’s as close to a cakewalk as it gets. If you can help me with those questions, please do."
success!
I have a jail 🙂
# STARTUP/LOGGING
exec.clean;
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
exec.consolelog = "/var/log/jail_console_${name}.log";
# PERMISSIONS
allow.raw_sockets;
exec.clean;
mount.devfs;
devfs_ruleset = 5;
vnet;
allow.raw_sockets = 1;
vnet.interface = "${epair}b";
# HOSTNAME/PATH
host.hostname = "${name}.dune.local";
path = "/usr/local/jails/containers/${name}";
$epair = "epair${id}";
$bridge = "bridge0";
reverse-proxy {
$id = 13;
vnet.interface = "${epair}b";
exec.start += "dhclient ${epair}b";
exec.prestart = "/sbin/ifconfig ${epair} create up";
exec.prestart += "/sbin/ifconfig ${epair}a up descr jail:${name}";
exec.prestart += "/sbin/ifconfig ${bridge} addm ${epair}a up";
exec.poststop = "/sbin/ifconfig ${bridge} deletem ${epair}a";
exec.poststop += "/sbin/ifconfig ${epair}a destroy";
}
(https://wiki.freebsd.org/Jails is an essential resource)
- RPi imagined with default RPi FreeBSD image
- I spent an hour trying to "bsdinstall" before understanding that I had a fully working system before me. The image consists of a working env:-)
- added user, configured doas
- opened a new thumbdrive, formatted it as ZFS and I'm starting to create jail there :-)
Found the little fella 🙂
It seems to work, but somehow I can’t ssh to it. Let’s see in te evening :-)
ok, so I am now a proud owner of "crys.site" domain.
Bonus points if you get the reference
edit: the more I think of it, the more I like. It has crapload of meaning. I may even start with a sonnet.
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.