Jump to content

Hello I have been trying to install KVM and Oracle Virtual Box, but nothing seems to have been working. I couldn't really find any guides online that were up to date and the few videos that were on Youtube were also out of date. Does anyone know how to create a virtual machine on Ubuntu server 18.04?

Link to comment
https://linustechtips.com/topic/1116413-virtual-machines-ubuntu-server/
Share on other sites

Link to post
Share on other sites

4 minutes ago, Electronics Wizardy said:

What errors do you get?

 

If you just want to run vms why not run a hypervisor on the host like proxmox, esxi, xcp-ng or hyper-v?

Proxmox is paid so no, hyper-v uses Windows and I want to use as little resources as I possibly can so no, esxi is also paid so no, and I havn't actually used xcp-ng but it uses a web gui meaning it uses extra resources for that.I'm currently trying to have the host use as little resources as it possibly can. Currently I'm following a guide online for Oracle Virtual Box and I'm getting the error, "

VBoxManage: error: Nonexistent host networking interface, name '' (VERR_INTERNAL_ERROR)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole"

Every guide/video I read/watch is different, though some guides/videos just completely fail on downloading at all because it's for an outdated version/

Link to post
Share on other sites

5 minutes ago, MartinIAm said:

Proxmox is paid so no

Its open source and free. Paid is only for suppoert

 

5 minutes ago, MartinIAm said:

hyper-v uses Windows and I want to use as little resources as I possibly can so no

hyper-v performans and uses about as much resources as any other hypervisor. Windows doesn't need all the extra resources than other hypervisors. Its gonna be way faster than virtual box aswell.

 

6 minutes ago, MartinIAm said:

esxi is also paid so no,

esxi has a free version that will have all the features you need here.

 

 

6 minutes ago, MartinIAm said:

used xcp-ng but it uses a web gui meaning it uses extra resources for that

Both web gui and windows client.

 

And a web gui doesn't use much resources at all.

 

6 minutes ago, MartinIAm said:

VBoxManage: error: Nonexistent host networking interface, name '' (VERR_INTERNAL_ERROR)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole"

Looks like a network error, how did you setup virtual entworks. Do you have a gui on this system?

Link to post
Share on other sites

3 minutes ago, Electronics Wizardy said:

Looks like a network error, how did you setup virtual entworks. Do you have a gui on this system?

No gui, just terminal to the server. I did not change any network settings. I only performed the command, " sudo VBoxManage modifyvm Ubuntu_1604 --nic1 bridged"

Link to post
Share on other sites

Just now, MartinIAm said:

No gui, just terminal to the server. I did not change any network settings. I only performed the command, " sudo VBoxManage modifyvm Ubuntu_1604 --nic1 bridged"

I think you have to setup the bridged nic.

 

But really, get a hypervisor on your system, it will make this much easier to work with and just everything better. Or if you want to run ubuntu as the base, use KVM as its much better than virtual box in almost every way for a server, and has a much better cli

 

Link to post
Share on other sites

Just now, Electronics Wizardy said:

I think you have to setup the bridged nic.

Oh okay.

 

Just now, Electronics Wizardy said:

But really, get a hypervisor on your system, it will make this much easier to work with and just everything better. Or if you want to run ubuntu as the base, use KVM as its much better than virtual box in almost every way for a server, and has a much better cli

Thank you for the recommendation!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×