Projects
- Bhyve
To kill a Byve process
Find the Process ID (PID) of the bhyve process:
Use pgrep or ps to find the process ID associated with your specific VM.pgrep -l bhyve
7790 bhyve
Or
ps aux | grep bhyve
root 7929 0.0 0.0 14164 2668 1 S+ 09:08 0:00.00 grep bhyve...
-
- Install Janssen Server
Start the VM:
bhyve -AHP -s 0:0,hostbridge -s 31:0,lpc \
-s 2:0,virtio-net,tap3 -s 3:0,virtio-blk,/dev/zvol/tank/vms/vm3/janssen-ubuntu24-zvol \
-s 0:5:0,virtio-rnd \
-c 4 -m 8192M \
-s 29,fbuf,tcp=0.0.0.0:5903,w=800,h=600,wait \
-s 30,xhci,tablet \... -
-
- ISPConfig
Start the VM:
bhyve -AHP -s 0:0,hostbridge -s 31:0,lpc \
-s 2:0,virtio-net,tap2 -s 3:0,virtio-blk,/dev/zvol/tank/vms/vm2/ispconfig-debian12-zvol \
-s 0:5:0,virtio-rnd \
-c 4 -m 4096M \
-s 29,fbuf,tcp=0.0.0.0:5902,w=800,h=600,wait \
-s 30,xhci,tablet \...
-
- Squid Proxy Server
Create directories for certificates:
/usr/local/etc/squid/certs/janssen1.ddns.net
Enable SSH in jail for passing certificates from other VMs and jails over to the Squid Server.
Use SCP for passing certificates over:
scp -r /etc/letsencrypt/live/* sam@192.168.1.153:/home/sam/janssen1.ddns.net/...
- ZFS Zvol
Steps to Rename a Zvol:
- Stop services: Shut down VMs or applications using the zvol (e.g., bhyve virtual machine).
- Rename the zvol:
zfs rename tank/vm-disk1 tank/new-vm-disk1
E.G.zfs rename tank/linuxdebian12disk tank/vm-2-linuxdebian12disk...