This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
технология_kvm [2024/07/17 11:03] val [Создание, регистрация и запуск VM] |
технология_kvm [2025/02/13 08:34] (current) val [Загрузка образа] |
||
---|---|---|---|
Line 16: | Line 16: | ||
# egrep -c '(vmx|svm)' /proc/cpuinfo | # egrep -c '(vmx|svm)' /proc/cpuinfo | ||
+ | # apt update | ||
# time apt install qemu-kvm libvirt-daemon libvirt-clients bridge-utils virt-manager #qemu | # time apt install qemu-kvm libvirt-daemon libvirt-clients bridge-utils virt-manager #qemu | ||
real 4m27.401s | real 4m27.401s | ||
Line 34: | Line 35: | ||
node1# virsh list --all | node1# virsh list --all | ||
- | node1# virsh vncdisplay winxp1 | + | node1# virsh vncdisplay winxp |
:0 | :0 | ||
</code> | </code> | ||
Line 113: | Line 114: | ||
# qemu-img info --output json /root/noble-server-cloudimg-amd64.img | # qemu-img info --output json /root/noble-server-cloudimg-amd64.img | ||
+ | # qemu-img info --output json /root/debian-12-generic-amd64.qcow2 | ||
# time apt install libguestfs-tools | # time apt install libguestfs-tools | ||
Line 200: | Line 202: | ||
</code><code> | </code><code> | ||
Escape character is ^] (Ctrl + ]) | Escape character is ^] (Ctrl + ]) | ||
+ | ... | ||
+ | node1 login: | ||
... | ... | ||
[ OK ] Reached target cloud-init.target - Cloud-init target. | [ OK ] Reached target cloud-init.target - Cloud-init target. |