Next, I installed vanilla Debian 12 and the recommended apps, and then I applied the shell script. It completed w/o errors, after about 30 min, but after the reboot errors of “Apache failing to start” began to rain.
apache2.service is failed. openssh-service is failed.
Can you please provide some hardware specs of your lab system, specifically CPU, RAM, Disk (type & size & quantity), as well as virtualization status and method of install (BIOS or UEFI) along with spice level used for the ISO ?
You might try more disk e.g. 40GB, or use the SLAB option of the ISO. Also for virtualized/cloud systems the FOG spice level is preferred. (Personally not tried on Hyper-V but IIRC all of those issues were resolved.)
During the installation, it had no problems getting the address through DHCP, even though later it failed to set up clock. It is still using the DHCP address and can ping in and out, so not sure what is going on.
In the browser, the default Apache2 stub page is showing.
Now, I am going to retry the vanilla Debian and the shell script way.
After a short while since the start-up of the VM, its network stops working. This began to occur after I applied the shell script. Before it was applied, the network stayed up, and I was able to do all of the pre-configuration via SSH. Now that FreePBX is installed, I bring the VM up, open the web GUI, and then a minute or so later neither the web GUI nor SSH work. Reboot, they work, one minute passes, and it’s connection refused. It is probably a firewall issue. I vaguely remember having something similar with the CentOS install.
The firewall wizard can sometimes break/start during setup before it’s finished. If you have started the firewall and all is ok now, you should be good.
Make sure you’re adding the IP like this: MY.LAN.IP.0/24
# apt install fail2ban
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
fail2ban is already the newest version (1.0.2-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.