Headless installation is when you installed and run VirtualBox on a server without a direct monitor or desktop environment via a remote terminal. The GUI-less installation of VirtualBox is typical in server environments. This brief tutorial is going to show you how to install and guest operating systems on the headless installation of VirtualBox. This should be quick and easy new students should love it.

How to install a headless VirtualBox guest machine in Ubuntu Linux

As described above, one can install a headless VirtualBox guest machine in Ubuntu Linux. Before installing a guest OS on VirtualBox software, you must first have the host server installed. Click the link below to learn how to install VirtualBox on Ubuntu Linux. How to install VirtualBox on Ubuntu Linux Once VirtualBox is installed, you can begin installing a headless guest OS. To create a VirtualBox guest machine called Ubuntu_2204, follow the guide below. First, create a location to store all the guest machines and configuration files. Run the commands below to create a folder in the /var directory called vbox. Then run the commands below to create your first guest machine named Ubuntu_2204 and store the configurations in /var/vbox After running the commands above, run the commands below to view information about the guest OS you just created. You should see something like the content below: Next, modify the guest OS to increase the system memory, include a virtual DVD drive as well as enable VRDP (Virtual Remote Desktop Protocol) to access the guest machine remotely by running the commands below. Add a network adapter and NAT it by running the commands below. If you want it to be bridged, change NAT to bridged. Next, create a storage SATA controller named Ubuntu_2204_SATA Next, create a virtual HDD with 10GB size and format it as VDI with the standard variant. Next, attach the virtual hard disk created above to the VM. To do that run the commands below: Next, attach the download operating system ISO file to the VM by running the commands below. Now when you run the showvminfo commands, you should see the new guest machine config settings. Now that everything is ready, run the commands below to start the guest machine. You should see the message that the machine has started Now open Remote Desktop Connection on your Windows machine and connect to the server IP followed by port 5001 You should be able to install the guest machine remotely via RDP. Enjoy!