All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Using Virtualbox via the command line
Hello everyone,
I have been a member on here for awhile but don't post much. I have a dedicated server with Delimiter that has quite a bit of extra resources. I am trying to get a Windows Server Virtualbox running on it without using a GUI. Unfortunately, I can't afford another dedicated server just to run Windows and sadly not everything runs wonderfully under WINE.
I have downloaded a VHD of WIndows Server from Microsoft and have managed to create the Virtualbox via the command line. I was able to attach the VHD to the Virtualbox and set some basic settings like RAM and CPU's. But what I can't seem to figure out is how to assign it an IP address or make it visible to the internet so I can use remote desktop to manage it.
I have looked through the Virtualbox wiki, specifically the VboxManage command, but there is so much there I couldn't make much sense of it. I have also done a little searching and found some helpful resources but none solved my problem.
So if anyone knows how I can accomplish this or maybe a better way of going about this that doesn't break the bank. Thanks in advance for any help.
Comments
https://www.virtualbox.org/manual/ch08.html#idp46608650136528
I have already looked at that and don't know where to go from there which is why I'm asking for help...
My suggeston? Use Proxmox. 1000% faster to deploy.
Yeah, I agree. I'd use Proxmox too.
Proxmox is one of those "install on a virgin server" scenarios, no? I really don't know but that was my impression.
Virtualbox is more desktop user.
OP, why must you do it only from the command line? You could start a lightweight X server for running Virtualbox and only turn it on long enough to do your config.
Yeah, my server already has stuff running on it. I tried to install Virtualizor (a free license came with my server) and it started to remove those things and had to restore from a backup.
I don't need the GUI I'm never going to use, waste of space, resources, etc.
Have you tried:
https://www.virtualbox.org/manual/ch08.html#vboxmanage-dhcpserver
https://forums.virtualbox.org/viewtopic.php?f=1&t=18669
use xboxheadless and connect to the console via vnc?
I think I found the answer I'm looking for.
https://virtualbox.org/manual/ch07.html