8,560
edits
(Created page with "==Настройка параметров дисплея== По умолчанию используется модель видеокарты QXL. Если ваша вирту...") Tags: Mobile web edit Mobile edit |
(Updating to match new version of source page) |
||
Line 65: | Line 65: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
= Using Virt-Manager for guest creation= | = Using Virt-Manager for guest creation= | ||
< | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
0. Prepare installation image. If you're going to install Windows, prepare the [https://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers Virtio driver] image too. | 0. Prepare installation image. If you're going to install Windows, prepare the [https://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers Virtio driver] image too. | ||
{{tip|You can also find the [https://aur.archlinux.org/packages/virtio-win virtio-win] package in AUR. The image is located in '''/var/lib/libvirt/images''', which is the default [https://libvirt.org/storage.html#StorageBackendDir directory pool] of qemu:///system}} | {{tip|You can also find the [https://aur.archlinux.org/packages/virtio-win virtio-win] package in AUR. The image is located in '''/var/lib/libvirt/images''', which is the default [https://libvirt.org/storage.html#StorageBackendDir directory pool] of qemu:///system}} | ||
< | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
1. Launch menu Virtual Machine Manager. It should already have a [https://libvirt.org/drvlxc.html LXC] connection. You can disconnect and remove it if you don't use LXC. | 1. Launch menu Virtual Machine Manager. It should already have a [https://libvirt.org/drvlxc.html LXC] connection. You can disconnect and remove it if you don't use LXC. | ||
< | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
2. Go to File, choose Add Connection and choose hypervisor QEMU/KVM, or QEMU/KVM user session if you don't want '''system'''-level virtual machines. Click on connect. | 2. Go to File, choose Add Connection and choose hypervisor QEMU/KVM, or QEMU/KVM user session if you don't want '''system'''-level virtual machines. Click on connect. | ||
< | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
3. You need directory pools to store the disk images of virtual machines or the ISO file of CD/DVD. Double click qemu/kvm, go on storage and add by clicking + the path to the folder where you have the iso and the folder where create the virtual machine. | 3. You need directory pools to store the disk images of virtual machines or the ISO file of CD/DVD. Double click qemu/kvm, go on storage and add by clicking + the path to the folder where you have the iso and the folder where create the virtual machine. | ||
< | </div> | ||
{{tip|My advice: use a different partition than the root. In case you need to reinstall your operating system you don't lose the VM that already ready-to-start.}} | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
{{BoxInfo|tip|My advice: use a different partition than the root. In case you need to reinstall your operating system you don't lose the VM that already ready-to-start.}} | |||
4. Click on create a new virtual machine: select '''Local install media (ISO image or CDROM)''', and select the installation ISO image and OS type (if not detected). | 4. Click on create a new virtual machine: select '''Local install media (ISO image or CDROM)''', and select the installation ISO image and OS type (if not detected). | ||
< | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
5. How many CPU assign and how much memory? (check the recommended requirements of O.S. that you are installing) | 5. How many CPU assign and how much memory? (check the recommended requirements of O.S. that you are installing) | ||
< | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
6. Create the file system of the virtual machine by selecting '''Select or create custom storage''' and click '''Manage...'''. Under your desired directory pool, create the volume of the virtual machine (default in qcow2 format). How many GB? Check the recommended requirements O.S. you install. | 6. Create the file system of the virtual machine by selecting '''Select or create custom storage''' and click '''Manage...'''. Under your desired directory pool, create the volume of the virtual machine (default in qcow2 format). How many GB? Check the recommended requirements O.S. you install. | ||
< | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
7.Assign a name to the machine and flag '''customize configuration before install'''. You have access to the screen with all the hardware that will be virtualized, do a check if there is all that is needed to initialize and launch the installer. | 7.Assign a name to the machine and flag '''customize configuration before install'''. You have access to the screen with all the hardware that will be virtualized, do a check if there is all that is needed to initialize and launch the installer. | ||
< | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
8. In ''Overview'', change the firmware to UEFI for future-proof capacity. | 8. In ''Overview'', change the firmware to UEFI for future-proof capacity. | ||
< | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
9. Change the type of SATA Disk 1 (the disk image of the creating virtual machine) to ''virtio'' for better performance. Change discard mode to ''unmap'', and then apply the change. You should notice the device name would change from SATA Disk 1 to VirtIO Disk 1. | 9. Change the type of SATA Disk 1 (the disk image of the creating virtual machine) to ''virtio'' for better performance. Change discard mode to ''unmap'', and then apply the change. You should notice the device name would change from SATA Disk 1 to VirtIO Disk 1. | ||
{{ | {{BoxWarning|Warning|If you're installing Windows, make sure to create a new SATA CDROM device and select the '''virtio-win''' image as the media, so that the Windows Installer can load the driver to recognize the disk. The virtio storage driver should be located at somewhere like ''E:\viostor\w10\amd64''}} | ||
10. Set the NIC type to virtio too for better network performance. | 10. Set the NIC type to virtio too for better network performance. | ||
{{ | {{BoxInfo|Note|If you're installing Windows, once the system if ready, make sure to install all the virtio drivers so that your virtIO network can work normally}} | ||
11. Add TPM chip, select '''TIS''' model through '''Emulated device''' backend. | 11. Add TPM chip, select '''TIS''' model through '''Emulated device''' backend. | ||
< | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
12. Add a watchdog to reboot the guest when it hangs. Leave the settings as default. | 12. Add a watchdog to reboot the guest when it hangs. Leave the settings as default. | ||
< | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
13. And a hardware RNG, to get entropy from the host. | 13. And a hardware RNG, to get entropy from the host. | ||
< | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
14. Click on the top to start installation. | 14. Click on the top to start installation. | ||
</div> | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
{{BoxWarning|Warning|'''All these steps are visible on youtube.''' '''[https://youtu.be/DiUG_hlLk3c >>> PLAY THIS] [[File:YouTube_1.png|thumb|center|300px]]'''}} | |||
</div> | |||
<div class="mw-translate-fuzzy"> | |||
==Установка гостевых дополнений== | ==Установка гостевых дополнений== | ||
После запуска и работы виртуальной машины необходимо установить [https://www.spice-space.org/download.html spice guest tools]. | После запуска и работы виртуальной машины необходимо установить [https://www.spice-space.org/download.html spice guest tools]. | ||
Line 109: | Line 138: | ||
<br clear="all" /> | <br clear="all" /> | ||
Посетите: '''[http://www.spice-space.org/download.html страницу загрузки Spice]''' | Посетите: '''[http://www.spice-space.org/download.html страницу загрузки Spice]''' | ||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
For Windows is a single package: spice-guest-tools-xxxx.exe | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
For linux are: spice-vdagent and xf86-video-qxl. If you visrtualize a linux distro you can install them with their package manager | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
Visit: '''[http://www.spice-space.org/download.html Spice download]''' | |||
</div> | |||
==Настройка параметров дисплея== | ==Настройка параметров дисплея== |