

Our previous blog detailed the steps to install Ubuntu 18.04 LTS Server on VirtualBox.īorrowing from Clairvoyant’s vast experience of working on Kafka, in this tutorial, I am going to set up Ubuntu servers using Virtualbox 6 on a Windows 10 operating system and also assign a static IP address to ubuntu virtual machines using netplan.Īlso, I am going to show you how to set up a NAT-NETWORK and Host-Only Network.

These pages have additional steps to try if the above didn't work for you.Read more to learn how to set up Ubuntu servers using Virtualbox 6 on a Windows 10 operating system. Still Have problems? I got most of my instructions from the following two pages. Restart the guest machine and you’re set. “Storage” tab, add a new CD-ROM device to the machine by clicking on

If you get an error saying the guest system has no CD-ROM, stop the virtual machine, open the virtual machine settings and from the When that happens, you should get a prompt to run the software. This should mount a virtual CD/DVD drive inside the Ubuntu guest machine. STEP 2:įrom the virtual machine menu, click Devices -> “Insert Guest Additions CD Image” Sudo apt install build-essential dkms linux-headers-$(uname -r)įYI: $(uname -r) prints the running Kernel version. STEP 1:Īfter making a snapshot, start your Ubuntu virtualbox back up, open up the terminal, and execute the following: sudo apt update Shut Down your Ubuntu Virtualbox, and make a Snapshot! That way if anything goes wrong, you can restore your working image.

Luckily I made a snapshot before I executed the solution, so I rolled it back and did this instead: BEFORE YOU BEGIN: After following juhist's answer my ubuntu virtualbox was completely frozen after rebooting (keyboard and mouse wouldn't work after ubuntu logged in). I had the same problem that sam had (the 3rd comment in juhist's answer). I honestly would try THIS solution before any of the other solution, because as of Dec 15th 2019, this solution is the only one that didn't completely fail.
