![]() ![]() ![]() Sudo VBoxManage storagectl "Ubuntu" -name "SAS Controller" -add sas -controller LSILogicSAS Usually this happens automatically when creating machines from the GUI, but you'll have to manually create a SAS controller and attach it to the VM for the hard drive to work properly. Next is some more configuration for the hard drive. Sudo VBoxManage modifyvm "Ubuntu" -cpus 2 This is measured in threads, not full CPU cores. Because we're setting up in headless mode, we'll need a way to connect to the machine before SSH/RDP can be configured. You'll want to make a note of the version that is installed though ( VBoxManage -v ), as you'll need to install a few more things. If you do plan on sticking to the CLI, installation is fairly simple, as it's available straight from apt You can still run VMs in headless mode to keep them running after you log out of the DE. The VirtualBox CLI is admittedly a bit unwieldy though, so if you're just messing about on a home server and have a bit of RAM to spare, you could instead install a light desktop environment on your server and set up VirtualBox the normal way. Another solution would be QEMU, but VirtualBox is tried and tested, and is unbeatable for being free and open source. You might have used it before on a personal computer to set up a VM, but VirtualBox actually has a full command line interface and is fully usable from only a terminal, making it perfect for this use case. VirtualBox is a free GUI-based virtualization software that runs as an app on your host OS (a Type 2 hypervisor). Installing VirtualBox and the VBox Extension Pack
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |