{"id":7816,"date":"2020-05-26T09:50:12","date_gmt":"2020-05-26T01:50:12","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7816"},"modified":"2020-05-26T09:50:13","modified_gmt":"2020-05-26T01:50:13","slug":"rht-vmctl","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/rht-vmctl","title":{"rendered":"rht-vmctl\u547d\u4ee4 – \u63a7\u5236VM"},"content":{"rendered":"\n

rht-vmctl\u7528\u6765\u63a7\u5236desktop\u6216\u8005sever\u8fd9\u4e24\u53f0\u865a\u62df\u673a.rht-vmctl\u4e3b\u8981\u662f\u7528\u4e8e\u7ba1\u7406\u7ea2\u5e3d\u57f9\u8bad\u4e2d\u4f7f\u7528\u5230\u7684KVM\u865a\u62df\u673a,\u8be5\u5de5\u5177\u662f\u7ea2\u5e3d\u516c\u53f8\u51fa\u7684\u3002\u53ef\u4ee5\u663e\u793adesktop\u6216\u8005sever\u865a\u673a\u7684\u72b6\u6001\uff0c\u63a7\u5236\u5176\u5f00\u5173\u7b49\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>rht-vmctl [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

view<\/td>\u663e\u793a\u865a\u62df\u673a<\/td><\/tr>
start<\/td>\u5f00\u542f\u865a\u62df\u673a<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u663e\u793a\u865a\u62df\u673a\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# rht-vmctl view desktop<\/pre>\n\n\n\n

\u6253\u5f00\u865a\u62df\u673a\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# rht-vmctl start desktop<\/pre>\n\n\n\n

\u5173\u95ed\u865a\u62df\u673a\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# rht-vmctl poweroff desktop<\/pre>\n\n\n\n

\u91cd\u7f6e\u865a\u62df\u673a\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# rht-vmctl reset desktop<\/pre>\n","protected":false},"excerpt":{"rendered":"

rht-vmctl\u7528\u6765\u63a7\u5236desktop\u6216\u8005sever\u8fd9\u4e24\u53f0\u865a\u62df\u673a.rht-vmctl\u4e3b\u8981\u662f\u7528\u4e8e\u7ba1\u7406\u7ea2\u5e3d\u57f9\u8bad\u4e2d […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7816"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=7816"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7816\/revisions"}],"predecessor-version":[{"id":7848,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7816\/revisions\/7848"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}