Started to touch FreeBSD jail and Bhyve VMs, using them for some programming project.
-
Started to touch FreeBSD jail and Bhyve VMs, using them for some programming project. Damn, if only I have such unlimited power near 15 years ago, when I was in university!
Need to have a building environment with some libraries for FastCGI and PostgreSQL installed? No problem, write a Bastillefile which enables sshd and mounts my catalog with projects inside the jail via the nullfs magic. Then create thin jail, apply this template to it and boom — I have a ready development environment with ssh access and all necessary stuff. Just connect to it and build the program, all necessary sources are already here.
Need to test program on the NetBSD? No problem — just create Bhyve VM with preinstalled netbsd template, then install OS with comp set and setup some services: Nginx, PostgreSQL, spawn-fcgi, etc… Then type C-x d /ssh:drag0n@10.0.0.2:~ in the Emacs, copy sources via Dired and I can test my program on the environment, as close as possible to the my home server.
All things looks so integrated in the OS and console software are so good, that it is incomparable with my Docker trips at work
When programming become fun again
-
undefined stefano@mastodon.bsd.cafe shared this topic