{"id":2130,"date":"2024-12-11T14:26:14","date_gmt":"2024-12-11T06:26:14","guid":{"rendered":"https:\/\/www.yusian.com\/blog\/?p=2130"},"modified":"2024-12-11T14:26:14","modified_gmt":"2024-12-11T06:26:14","slug":"debian%e4%b8%8a%e5%ae%89%e8%a3%85kvm%e5%8f%8agui%e7%ae%a1%e7%90%86%e5%b7%a5%e5%85%b7","status":"publish","type":"post","link":"https:\/\/www.yusian.com\/blog\/article\/2024\/12\/11\/1426142130.html","title":{"rendered":"Debian\u4e0a\u5b89\u88c5KVM\u53caGUI\u7ba1\u7406\u5de5\u5177"},"content":{"rendered":"<h3>\u5b89\u88c5KVM<\/h3>\n<pre><code class=\"language-bash line-numbers\">sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils\n<\/code><\/pre>\n<h3>\u5b89\u88c5Cockpit<\/h3>\n<pre><code class=\"language-bash line-numbers\">sudo apt install cockpit cockpit-machines\n<\/code><\/pre>\n<h3>\u767b\u5f55\u7ba1\u7406\u7cfb\u7edf<\/h3>\n<p>https:\/\/ip:9090<\/p>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u53ef\u80fd\u7981\u7528\u4e86root\u7528\u6237\uff0c\u5728\u914d\u7f6e\u6587\u4ef6<code>\/etc\/cockpit\/disallowed-users<\/code>\u4e2d\u89e3\u9664<\/p>\n<p>\u78c1\u76d8\u7ba1\u7406<br \/>\nqemu-img info &lt;qcow2\u6587\u4ef6\u540d><br \/>\nqemu-img resize &lt;qcow2\u6587\u4ef6\u540d> &lt;\u65b0\u5927\u5c0f><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b89\u88c5KVM sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils \u5b89\u88c5Cockpit sudo apt install cockpit cockpit-machines \u767b\u5f55\u7ba1\u7406\u7cfb\u7edf https:\/\/ip:9090 \u9ed8\u8ba4\u60c5\u51b5\u4e0b\u53ef\u80fd\u7981\u7528\u4e86root\u7528\u6237\uff0c\u5728\u914d\u7f6e\u6587\u4ef6\/etc\/cockpit\/disallowed-users\u4e2d\u89e3\u9664 \u78c1\u76d8\u7ba1\u7406 qemu-img info &lt;qcow2\u6587\u4ef6\u540d> qemu-img resize &lt;qcow2\u6587\u4ef6\u540d> &lt;\u65b0\u5927\u5c0f><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[386,1],"tags":[459,225,457,458],"class_list":["post-2130","post","type-post","status-publish","format-standard","hentry","category-ubuntu","category-article","tag-cockpit","tag-debian","tag-kvm","tag-virtual"],"_links":{"self":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/2130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/comments?post=2130"}],"version-history":[{"count":0,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/2130\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/media?parent=2130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/categories?post=2130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/tags?post=2130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}