I installed myself a virtual machine on the server (I don’t know if I did it right). Virtualization - libvirt + qemu + kvm.

I did everything through the virsh utility. Now it shows that 1 virtual is running.

And how to connect to it to put the operating system and use it as a server?

    1 answer 1

    To connect to the console of your virtual machine, you need at least besparolny (key) ssh access to the server on which this virtual machine is running.

    1. A simpler tool is virt-viewer (from the package of the same name, but in wheezy it is, unfortunately, “broken”):

      $ virt-viewer --connect qemu+ssh://пользователь@сервер/system имя-виртуальной-машины 
    2. the more advanced feature is virt-manager (from the package of the same name). This is a program with gui. you will first need to configure a connection to your server:

      enter image description here

      then connect to it (double-click with the left mouse button on the created connection), then double-click in the drop-down list to open the console of the selected virtual machine:

      enter image description here

    • is there virt-manager for mac os? - Diefair
    • googel: // virt-manager + mac + os → stackoverflow.com/q/3921814/4827341 - aleksandr barakin
    • I'm sorry, maybe I'm stupid, but I can't figure out how to run the virtual server as a server ((( - Diefair
    • What sense do you put in the expression “as a server”? - aleksandr barakin
    • I have a server that I use for my own purposes. I put a virtual machine, I want to configure it and give it to a friend, that he would use it as a server. I’ve already rummaged around, everything is different everywhere and nothing practical ... - Diefair