{"id":21608,"date":"2023-05-16T12:00:56","date_gmt":"2023-05-16T09:00:56","guid":{"rendered":"http:\/\/trueconf.ru\/blog\/?p=21608"},"modified":"2025-02-24T11:26:29","modified_gmt":"2025-02-24T08:26:29","slug":"nastroyka-gipervizora-kvm-na-ubuntu-server","status":"publish","type":"post","link":"https:\/\/trueconf.ru/blog\/baza-znaniy\/nastroyka-gipervizora-kvm-na-ubuntu-server","title":{"rendered":"\u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440 KVM \u043d\u0430 Ubuntu?"},"content":{"rendered":"<p class=\"primary-medium-text ui-mb-sm-1\">TrueConf Server \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043d\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 (\u0434\u0430\u043b\u0435\u0435 \u0412\u041c), \u0445\u043e\u0442\u044f \u044d\u0442\u043e \u0441\u043b\u043e\u0436\u043d\u0430\u044f \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u0438 \u043c\u044b \u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u0435\u0451 \u043d\u0435\u043e\u043f\u044b\u0442\u043d\u044b\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \u2014 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0431\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u0440\u043e\u0439 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0441\u043b\u043e\u0436\u043d\u044b\u043c \u0434\u0435\u043b\u043e\u043c.<\/p>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0412 \u044d\u0442\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043c\u044b \u043e\u043f\u0438\u0448\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u0430 KVM (Kernel-based Virtual Machine) \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0441 \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442\u043e\u0439 \u041e\u0421 Ubuntu 22.04 LTS. \u041d\u043e \u0438\u0437\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043b\u0435\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u044b \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0439 \u041e\u0421 \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u0430 Linux, \u0442.\u043a. KVM \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0430\u0441\u0442\u044c\u044e \u044f\u0434\u0440\u0430.<\/p>\n<h2 id=\"update_package\" class=\"h4--main h4--thick black-text ui-mb-xs-3 ui-mt-md-1\">\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u043e\u0432<\/h2>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u041f\u0435\u0440\u0435\u0434 \u043d\u0430\u0447\u0430\u043b\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<\/p>\n<pre class=\"lang:default decode:true\">sudo apt update && sudo apt upgrade -y<\/pre>\n<h2 id=\"check_support\" class=\"h4--main h4--thick black-text ui-mb-xs-3 ui-mt-md-1\"><\/h2>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 KVM<\/h2>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u041c\u043e\u0434\u0443\u043b\u044c KVM \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u043e\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 Intel VT \u0438\u043b\u0438 AMD SVM, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043d\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430\u0445 \u0431\u0435\u0437 \u0438\u0445 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0435\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u0435\u043d.<\/p>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u043e\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre class=\"lang:default decode:true\">egrep -c '(vmx|svm)' \/proc\/cpuinfo<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0412 \u043e\u0442\u0432\u0435\u0442\u0435 \u0431\u044b\u043b\u043e \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043e \u0447\u0438\u0441\u043b\u043e <code>4<\/code>. \u0415\u0441\u043b\u0438 \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432\u044b\u0432\u043e\u0434 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 <b>0<\/b>, \u0437\u043d\u0430\u0447\u0438\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u0430\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f.\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u044b\u0432\u043e\u0434 \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u043b <b>4<\/b>.<\/p>\n<h2 id=\"configuration_kvm\" class=\"h4--main h4--thick black-text ui-mb-xs-3 ui-mt-md-1\">\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 KVM<\/h2>\n<h3 id=\"installing\" class=\"h5--main h5--thick black-text ui-mb-xs-3 ui-mt-md-1\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 KVM<\/h3>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre class=\"lang:default decode:true\">sudo apt install -y qemu-kvm virt-manager libvirt-daemon-system virtinst libvirt-clients bridge-utils<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 Linux \u0441 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u043e\u0439, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0443\u0442\u0438\u043b\u0438\u0442\u0443 <b>virt-manager<\/b> \u0441 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c (GUI) \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043c\u0430\u0448\u0438\u043d\u0430\u043c\u0438:<\/p>\n<pre class=\"lang:default decode:true\">sudo apt install -y virt-manager<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 KVM \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u0435 \u043a \u0435\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435.<\/p>\n<h3 id=\"turn_on_virtualization\" class=\"h5--main h5--thick black-text ui-mb-xs-3 ui-mt-md-1\">\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438<\/h3>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0441\u043b\u0443\u0436\u0431\u0443 <b>Libvirt<\/b> \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434:<\/p>\n<pre class=\"lang:default decode:true\">\r\nsudo systemctl enable --now libvirtd\r\nsudo systemctl start libvirtd\r\n<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u043b\u0443\u0436\u0431\u044b \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0441\u043b\u0443\u0436\u0431\u044b <b>Libvirt<\/b>, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre class=\"lang:default decode:true\">sudo systemctl status libvirtd<\/pre>\n<h3 id=\"add_user\" class=\"h5--main h5--thick black-text ui-mb-xs-3 ui-mt-md-1\">\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u0433\u0440\u0443\u043f\u043f\u044b KVM \u0438 Libvirt<\/h3>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u041e\u0421, \u043f\u043e\u0434 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0432\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0435, \u043c\u043e\u0433 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043c\u0430\u0448\u0438\u043d\u0430\u043c\u0438 \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0433\u0440\u0443\u043f\u043f\u044b KVM \u0438 Libvirt. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre class=\"lang:default decode:true\">sudo usermod -aG kvm,libvirt $USER<\/pre>\n<h2 id=\"create_network_bridge\" class=\"h4--main h4--thick black-text ui-mb-xs-3 ui-mt-md-1\">\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u043c\u043e\u0441\u0442\u0430<\/h2>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0415\u0441\u043b\u0438 \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0438\u043c\u0435\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0441\u043d\u0430\u0440\u0443\u0436\u0438 \u0441\u0435\u0442\u0438, \u0442\u043e\u0433\u0434\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u043c\u043e\u0441\u0442 \u0434\u043b\u044f \u043d\u0435\u0451.<\/p>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0414\u0430\u043b\u0435\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0447\u0435\u0440\u0435\u0437 Ethernet \u043f\u043e\u0440\u0442 \u0445\u043e\u0441\u0442\u0430. \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043c, \u0447\u0442\u043e \u0445\u043e\u0441\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0451\u043d \u043a \u0440\u043e\u0443\u0442\u0435\u0440\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0437\u0434\u0430\u0451\u0442 IPv4-\u0430\u0434\u0440\u0435\u0441\u0430 \u043f\u043e DHCP \u0438 \u0412\u041c \u0442\u043e\u0436\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442 IP \u0442\u0430\u043a\u0438\u043c \u0436\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u043c. \u0423\u0447\u0442\u0438\u0442\u0435, \u0447\u0442\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f .yaml \u0444\u0430\u0439\u043b\u0430 \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u041f\u041a \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u043d\u0438\u0436\u0435, \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u043a <a href=\"https:\/\/netplan.readthedocs.io\/en\/stable\/\" target=\"_blank\" rel=\"noopener\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a>.<\/p>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--num\">\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u0435\u0442\u0435\u0432\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u0432 \u0445\u043e\u0441\u0442\u043e\u0432\u043e\u0439 \u041e\u0421:\n<pre class=\"lang:default decode:true\">ip a<\/pre>\n<p>    \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0432\u044b\u0432\u043e\u0434:<\/p>\n<pre class=\"lang:default decode:true\">\r\n    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000\r\n    link\/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00\r\n    inet 127.0.0.1\/8 scope host lo\r\n    valid_lft forever preferred_lft forever\r\n    inet6 ::1\/128 scope host\r\n    valid_lft forever preferred_lft forever\r\n    2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000\r\n    link\/ether c0:3e:ba:28:f6:93 brd ff:ff:ff:ff:ff:ff\r\n    inet 10.140.1.108\/22 brd 10.140.3.255 scope global dynamic noprefixroute enp1s0\r\n    valid_lft 28101sec preferred_lft 28101sec\r\n    inet6 fe80::dc33:1ae7:97d0:524a\/64 scope link noprefixroute\r\n    valid_lft forever preferred_lft forever\r\n    <\/pre>\n<\/li>\n<li class=\"ui-list__item ui-list__item--num\">\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043d\u0443\u0436\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <code>enp1s0<\/code>.<\/li>\n<li class=\"ui-list__item ui-list__item--num\">\u0412 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 <b>\/etc\/netplan<\/b> \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0444\u0430\u0439\u043b <b>01-netcfg.yaml<\/b> \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c:<\/li>\n<\/ul>\n<pre class=\"lang:default decode:true\">\r\nnetwork:\r\n  version: 2\r\n  renderer: NetworkManager\r\n  ethernets:\r\n    enp1s0:\r\n      dhcp4: true\r\n      dhcp6: true\r\n  bridges:\r\n    br0:\r\n    interfaces: [enp1s0]\r\n      dhcp4: true\r\n      dhcp6: true\r\n<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre class=\"lang:default decode:true\">sudo nano \/etc\/netplan\/01-netcfg.yaml<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre class=\"lang:default decode:true\">sudo netplan apply<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0441\u044f \u043b\u0438 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u043c\u043e\u0441\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<\/p>\n<pre class=\"lang:default decode:true\">ip add show<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0432 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0435 \u0435\u0441\u0442\u044c \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 <b>br0<\/b>.<\/p>\n<h2 id=\"work_with_vm\" class=\"h4--main h4--thick black-text ui-mb-xs-3 ui-mt-md-1\">\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043c\u0430\u0448\u0438\u043d\u0430\u043c\u0438<\/h2>\n<h3 id=\"create_vm\" class=\"h5--main h5--thick black-text ui-mb-xs-3 ui-mt-md-1\">\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430<\/h3>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre class=\"lang:default decode:true\">\r\nvirt-install --name [virtual machine name] --vcpu [number of allocated threads] --memory [amount of allocated RAM in MB] --network [network interface] --boot [boot device priority] --disk [virtual disk location, size in GB] --cdrom [path to CD-ROM]\r\n<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0433\u0434\u0435:<\/p>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--disc\"><code>--name [virtual machine name]<\/code> \u2014 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><code>--vcpu [number of allocated threads]<\/code> \u2014 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0442\u043e\u043a\u043e\u0432;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><code>--memory [amount of allocated RAM in MB]<\/code> \u2014 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438, \u0440\u0430\u0437\u043c\u0435\u0440 \u0432 \u041c\u0431;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><code>--network [network interface]<\/code> \u2014 \u0442\u0438\u043f \u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><code>--boot [boot device priority]<\/code> \u2014 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b, \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><code>--disk [virtual disk location, size in GB]<\/code> \u2014 \u044d\u043c\u0443\u043b\u044f\u0446\u0438\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430, \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0440\u0430\u0437\u043c\u0435\u0440 \u0432 \u0413\u0431;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><code>--cdrom [path to CD-ROM]<\/code> \u2014 \u044d\u043c\u0443\u043b\u044f\u0446\u0438\u044f CD-ROM, \u043f\u0443\u0442\u044c \u043a \u0435\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u043c\u0443.<\/li>\n<\/ul>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0442\u043e\u0433\u043e\u0432\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<\/p>\n<pre class=\"lang:default decode:true\">\r\nvirt-install --name vmtest1 --vcpu 2 --memory 2048 --network bridge=br0 --boot cdrom,hd,menu=on --disk path=\/media\/admin\/Files\/kvmt1\/vmtom1,size=30 --cdrom \/media\/admin\/Files\/downloads\/debian-12.5.0-amd64-DVD-1.iso\r\n<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0441\u043e\u0437\u0434\u0430\u043b\u0430\u0441\u044c \u043b\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre class=\"lang:default decode:true\">virsh list --all<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0412 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d:<\/p>\n<pre class=\"lang:default decode:true\">\r\n Id   Name  \tState\r\n--------------------------\r\n-     vmtest1   shut off\r\n<\/pre>\n<h3 id=\"create_vm_gui\" class=\"h5--main h5--thick black-text ui-mb-xs-3 ui-mt-md-1\">\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0432 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0435 \u0441 GUI<\/h3>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u041d\u0430\u0439\u0434\u0438\u0442\u0435 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0435\u0433\u043e:<\/p>\n<p><a href=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image8.png\" data-rel=\"lightbox-gallery-dbzPF01V\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" rel=\"nofollow noopener\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image8-440x470.png\" alt=\"\" width=\"440\" height=\"470\" class=\"aligncenter size-large wp-image-54689\" style=\"border: 3px solid #D1CCCC;\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image8-440x470.png 440w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image8-345x368.png 345w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image8-189x202.png 189w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image8.png 545w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\" \/><\/a><\/p>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u043d\u0430 <strong>\u0424\u0430\u0439\u043b \u2192 \u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443<\/strong> \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0448\u0430\u0433\u0438:<\/p>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--num\">\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043c\u0435\u0442\u043e\u0434 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0438\u0437 ISO-\u043e\u0431\u0440\u0430\u0437\u0430:<\/li>\n<p>    <a href=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image2.png\" data-rel=\"lightbox-gallery-dbzPF01V\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" rel=\"nofollow noopener\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image2.png\" alt=\"\" width=\"445\" height=\"443\" class=\"aligncenter size-full wp-image-54683\" style=\"border: 3px solid #D1CCCC;\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image2.png 445w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image2-345x343.png 345w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image2-150x150.png 150w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image2-203x202.png 203w\" sizes=\"auto, (max-width: 445px) 100vw, 445px\" \/><\/a><\/p>\n<li class=\"ui-list__item ui-list__item--num\">\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043b \u043e\u0431\u0440\u0430\u0437\u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b:<\/li>\n<p>    <a href=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image1.png\" data-rel=\"lightbox-gallery-dbzPF01V\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" rel=\"nofollow noopener\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image1.png\" alt=\"\" width=\"655\" height=\"444\" class=\"aligncenter size-full wp-image-54682\" style=\"border: 3px solid #D1CCCC;\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image1.png 655w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image1-345x234.png 345w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image1-298x202.png 298w\" sizes=\"auto, (max-width: 655px) 100vw, 655px\" \/><\/a><\/p>\n<li class=\"ui-list__item ui-list__item--num\">\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u0435 \u0434\u043b\u044f \u0412\u041c \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u0439 \u043e\u0431\u044a\u0451\u043c \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u044f\u0434\u0435\u0440 (vCPU):<\/li>\n<p>    <a href=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image7.png\" data-rel=\"lightbox-gallery-dbzPF01V\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" rel=\"nofollow noopener\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image7.png\" alt=\"\" width=\"439\" height=\"443\" class=\"aligncenter size-full wp-image-54688\" style=\"border: 3px solid #D1CCCC;\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image7.png 439w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image7-345x348.png 345w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image7-150x150.png 150w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image7-200x202.png 200w\" sizes=\"auto, (max-width: 439px) 100vw, 439px\" \/><\/a><\/p>\n<li class=\"ui-list__item ui-list__item--num\">\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445. \u0423\u0447\u0442\u0438\u0442\u0435, \u0447\u0442\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u044b\u0431\u043e\u0440\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 <strong>\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0437 \u0434\u0438\u0441\u043a\u0430 \u0434\u043b\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b<\/strong> \u0434\u0438\u0441\u043a \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043d \u0432 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435. \u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u0432 \u043d\u0443\u0436\u043d\u043e\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 <strong>\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0438\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0434\u0430\u043d\u043d\u044b\u0445<\/strong>, \u043d\u0430\u0436\u043c\u0438\u0442\u0435 <strong>\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c<\/strong>:<\/li>\n<p>    <a href=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image6.png\" data-rel=\"lightbox-gallery-dbzPF01V\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" rel=\"nofollow noopener\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image6.png\" alt=\"\" width=\"473\" height=\"440\" class=\"aligncenter size-full wp-image-54687\" style=\"border: 3px solid #D1CCCC;\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image6.png 473w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image6-345x321.png 345w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image6-217x202.png 217w\" sizes=\"auto, (max-width: 473px) 100vw, 473px\" \/><\/a><\/p>\n<li class=\"ui-list__item ui-list__item--num\">\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043f\u0443\u043b \u0434\u0430\u043d\u043d\u044b\u0445, \u0432 \u043d\u0451\u043c \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0442\u043e\u043c \u0434\u043b\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b:<\/li>\n<p>    <a href=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image65685876.png\" data-rel=\"lightbox-gallery-dbzPF01V\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" rel=\"nofollow noopener\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image65685876-660x470.png\" alt=\"\" width=\"660\" height=\"470\" class=\"aligncenter size-large wp-image-54702\" style=\"border: 3px solid #D1CCCC;\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image65685876-660x470.png 660w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image65685876-345x246.png 345w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image65685876-284x202.png 284w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image65685876.png 736w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/a><\/p>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--disc\">\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u043f\u0443\u043b \u0441\u043b\u0435\u0434\u0443\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u043c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430.<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0442\u043e\u043c \u0441\u043b\u0435\u0434\u0443\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u043c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430.<\/li>\n<\/ul>\n<li class=\"ui-list__item ui-list__item--num\">\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b, \u0432\u0430\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u0443\u044e \u0441\u0435\u0442\u044c, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e .yaml \u0444\u0430\u0439\u043b\u0430 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u043c\u043e\u0441\u0442 <b>br0<\/b> :<\/li>\n<p>    <a href=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image4.png\" data-rel=\"lightbox-gallery-dbzPF01V\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" rel=\"nofollow noopener\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image4-449x470.png\" alt=\"\" width=\"449\" height=\"470\" class=\"aligncenter size-large wp-image-54685\" style=\"border: 3px solid #D1CCCC;\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image4-449x470.png 449w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image4-345x361.png 345w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image4-193x202.png 193w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image4.png 458w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><\/a><\/p>\n<\/ul>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u041f\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 <strong>\u0413\u043e\u0442\u043e\u0432\u043e<\/strong>. \u041e\u0442\u043a\u0440\u043e\u0435\u0442\u0441\u044f \u043e\u043a\u043d\u043e, \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0435\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b.<\/p>\n<p><a href=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image5.png\" data-rel=\"lightbox-gallery-dbzPF01V\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" rel=\"nofollow noopener\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image5-690x442.png\" alt=\"\" width=\"690\" height=\"442\" class=\"aligncenter size-large wp-image-54686\" style=\"border: 3px solid #D1CCCC;\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image5-690x442.png 690w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image5-345x221.png 345w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image5-768x492.png 768w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image5-315x202.png 315w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image5.png 1204w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/a><\/p>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0434\u0430\u043d\u043d\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u043d\u0430 <strong>\u041d\u0430\u0447\u0430\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443<\/strong>.<\/p>\n<h3 id=\"starting_vm\" class=\"h5--main h5--thick black-text ui-mb-xs-3 ui-mt-md-1\">\u0417\u0430\u043f\u0443\u0441\u043a \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b<\/h3>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0448\u0430\u0433\u043e\u043c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u043d\u0430 \u043d\u0435\u0451 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e Debian 12.<\/p>\n<h4 id=\"work_with_terminal\" class=\"h6--main h6--thick black-text ui-mb-xs-3 ui-mt-sm-3\">\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u043e\u0439 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430<\/h4>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre class=\"lang:default decode:true\">virsh start [virtual machine name]<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0430\u0441\u044c \u043b\u0438 \u043e\u043d\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0435:<\/p>\n<pre class=\"lang:default decode:true\">\r\n Id   Name  \tState\r\n-------------------------\r\n 14   vmtest1   running\r\n<\/pre>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0414\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre class=\"lang:default decode:true\">virt-viewer [virtual machine name]<\/pre>\n<h4 id=\"work_with_gui\" class=\"h6--main h6--thick black-text ui-mb-xs-3 ui-mt-sm-3\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0438\u0437 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 \u0441 GUI<\/h4>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0412\u041c \u0432 \u043e\u043a\u043d\u0435 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u043d\u0430 \u0441\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443 \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u043e\u0439 \u043c\u044b\u0448\u0438 \u0438 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u0443\u043d\u043a\u0442 <strong>\u0417\u0430\u043f\u0443\u0441\u043a<\/strong>.<\/p>\n<p><a href=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image9.png\" data-rel=\"lightbox-gallery-dbzPF01V\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" rel=\"nofollow noopener\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image9.png\" alt=\"\" width=\"538\" height=\"207\" class=\"aligncenter size-full wp-image-54690\" style=\"border: 3px solid #D1CCCC;\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image9.png 538w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image9-345x133.png 345w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image9-453x174.png 453w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><\/a><\/p>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u041e\u0421, \u0441\u043b\u0435\u0434\u0443\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u043c \u0432 \u043e\u043a\u043d\u0435 \u0412\u041c. <\/p>\n<p><a href=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image10.png\" data-rel=\"lightbox-gallery-dbzPF01V\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" rel=\"nofollow noopener\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/trueconf.ru\/blog\/wp-content\/uploads\/2018\/02\/image10-573x470.png\" alt=\"\" width=\"573\" height=\"470\" class=\"aligncenter size-large wp-image-54691\" style=\"border: 3px solid #D1CCCC;\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image10-573x470.png 573w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image10-345x283.png 345w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image10-768x630.png 768w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image10-246x202.png 246w, https:\/\/trueconf.ru/blog\/wp-content\/uploads\/2018\/02\/image10.png 1082w\" sizes=\"auto, (max-width: 573px) 100vw, 573px\" \/><\/a><\/p>\n<h3 id=\"install_tcs\" class=\"h5--main h5--thick black-text ui-mb-xs-3 ui-mt-md-1\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 TrueConf Server<\/h3>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0441\u0451 \u0433\u043e\u0442\u043e\u0432\u043e \u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 TrueConf Server \u043d\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e:<\/p>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--disc\">\u041f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u043e\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">\u0421\u043e\u0437\u0434\u0430\u043d \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u043c\u043e\u0441\u0442 \u0434\u043b\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u0430.<\/li>\n<\/ul>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 TrueConf Server \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u0432 <a href=\"https:\/\/trueconf.ru\/blog\/baza-znaniy\/trueconf-linux.html\" target=\"_blank\" rel=\"noopener\">\u043d\u0430\u0448\u0435\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438<\/a>. \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0443\u0447\u0451\u0442\u043d\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c HTTPS \u0438 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b TrueConf Server.<\/p>\n<p class=\"primary-medium-text ui-mb-sm-1\">\u0415\u0441\u043b\u0438 \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u043a\u0430\u043a\u0438\u0435-\u043b\u0438\u0431\u043e \u0432\u043e\u043f\u0440\u043e\u0441\u044b, \u043e\u0431\u0440\u0430\u0449\u0430\u0439\u0442\u0435\u0441\u044c \u0432 \u043d\u0430\u0448\u0443 <a href=\"https:\/\/trueconf.ru\/support.html\" target=\"_blank\" rel=\"noopener\">\u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>TrueConf Server \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043d\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 (\u0434\u0430\u043b\u0435\u0435 \u0412\u041c), \u0445\u043e\u0442\u044f \u044d\u0442\u043e \u0441\u043b\u043e\u0436\u043d\u0430\u044f \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u0438 \u043c\u044b \u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u0435\u0451 \u043d\u0435\u043e\u043f\u044b\u0442\u043d\u044b\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \u2014 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0431\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u0440\u043e\u0439 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0441\u043b\u043e\u0436\u043d\u044b\u043c \u0434\u0435\u043b\u043e\u043c. \u0412 \u044d\u0442\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043c\u044b \u043e\u043f\u0438\u0448\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0433\u0438\u043f\u0435\u0440\u0432\u0438\u0437\u043e\u0440\u0430 KVM (Kernel-based Virtual Machine) \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0441 \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442\u043e\u0439 \u041e\u0421 Ubuntu 22.04 LTS. \u041d\u043e \u0438\u0437\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043b\u0435\u0435 [&hellip;]<\/p>\n","protected":false},"author":82,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[487],"tags":[23],"class_list":["post-21608","post","type-post","status-publish","format-standard","hentry","category-baza-znaniy","tag-deployment","wpautop"],"_links":{"self":[{"href":"https:\/\/trueconf.ru/blog\/wp-json\/wp\/v2\/posts\/21608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trueconf.ru/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trueconf.ru/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trueconf.ru/blog\/wp-json\/wp\/v2\/users\/82"}],"replies":[{"embeddable":true,"href":"https:\/\/trueconf.ru/blog\/wp-json\/wp\/v2\/comments?post=21608"}],"version-history":[{"count":67,"href":"https:\/\/trueconf.ru/blog\/wp-json\/wp\/v2\/posts\/21608\/revisions"}],"predecessor-version":[{"id":60837,"href":"https:\/\/trueconf.ru/blog\/wp-json\/wp\/v2\/posts\/21608\/revisions\/60837"}],"wp:attachment":[{"href":"https:\/\/trueconf.ru/blog\/wp-json\/wp\/v2\/media?parent=21608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trueconf.ru/blog\/wp-json\/wp\/v2\/categories?post=21608"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trueconf.ru/blog\/wp-json\/wp\/v2\/tags?post=21608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}