{"id":168131,"date":"2020-01-07T08:16:00","date_gmt":"2020-01-07T00:16:00","guid":{"rendered":"https:\/\/gulass.cn\/?p=168131"},"modified":"2019-12-27T11:17:55","modified_gmt":"2019-12-27T03:17:55","slug":"cockpit-fedora","status":"publish","type":"post","link":"https:\/\/gulass.cn\/cockpit-fedora.html","title":{"rendered":"\u4f7f\u7528 Cockpit \u521b\u5efa\u865a\u62df\u673a"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | Cockpit \u662f\u4e00\u4e2a\u4ea4\u4e92\u5f0f\u7ba1\u7406\u754c\u9762\uff0c\u53ef\u8ba9\u4f60\u5728\u4efb\u4f55\u53d7\u652f\u6301\u7684 Web \u6d4f\u89c8\u5668\u4e0a\u8bbf\u95ee\u548c\u7ba1\u7406\u7cfb\u7edf\u3002\u968f\u7740 virt-manager \u9010\u6e10\u88ab\u5e9f\u5f03\uff0c\u9f13\u52b1\u7528\u6237\u4f7f\u7528 Cockpit \u6765\u66ff\u6362\u5b83\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n Cockpit \u662f\u4e00\u4e2a\u6b63\u5728\u6d3b\u8dc3\u5f00\u53d1\u7684\u9879\u76ee\uff0c\u5b83\u6709\u8bb8\u591a\u6269\u5c55\u5176\u5de5\u4f5c\u7684\u63d2\u4ef6\u3002\u4f8b\u5982\uff0c\u5176\u4e2d\u4e00\u4e2a\u662f \u201cMachines\u201d\uff0c\u5b83\u4e0e libvirtd \u4ea4\u4e92\u5e76\u5141\u8bb8\u7528\u6237\u521b\u5efa\u548c\u7ba1\u7406\u865a\u62df\u673a\u3002<\/p>\n \u5b89\u88c5\u8f6f\u4ef6<\/strong><\/div>\n \u5148\u51b3\u6240\u9700\u8f6f\u4ef6\u662f libvirt<\/span>\u3001cockpit <\/span>\u548c cockpit-machines<\/span>\u3002\u8981\u5c06\u5b83\u4eec\u5b89\u88c5\u5728 Fedora 31 \u4e0a\uff0c\u8bf7\u5728\u7ec8\u7aef\u4f7f\u7528 sudo \u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n Cockpit \u4e5f\u5728 \u201cHeadless Management\u201d \u8f6f\u4ef6\u5305\u7ec4\u4e2d\u3002\u8be5\u8f6f\u4ef6\u7ec4\u5bf9\u4e8e\u4ec5\u901a\u8fc7\u7f51\u7edc\u8bbf\u95ee\u7684\u57fa\u4e8e Fedora \u7684\u670d\u52a1\u5668\u5f88\u6709\u7528\u3002\u5728\u8fd9\u91cc\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n \u5b89\u88c5\u4e86\u5fc5\u8981\u7684\u8f6f\u4ef6\u5305\u540e\uff0c\u5c31\u8be5\u542f\u7528\u670d\u52a1\u4e86\u3002libvirtd <\/span>\u670d\u52a1\u8fd0\u884c\u865a\u62df\u673a\uff0c\u800c Cockpit \u6709\u4e00\u4e2a\u6fc0\u6d3b\u7684\u5957\u63a5\u5b57\u670d\u52a1\uff0c\u53ef\u8ba9\u4f60\u8bbf\u95ee Web GUI\uff1a<\/p>\n \u8fd9\u5e94\u8be5\u8db3\u4ee5\u8fd0\u884c\u865a\u62df\u673a\u5e76\u901a\u8fc7 Cockpit \u5bf9\u5176\u8fdb\u884c\u7ba1\u7406\u3002\uff08\u53ef\u9009\uff09\u5982\u679c\u8981\u4ece\u7f51\u7edc\u4e0a\u7684\u53e6\u4e00\u53f0\u8bbe\u5907\u8bbf\u95ee\u5e76\u7ba1\u7406\u8ba1\u7b97\u673a\uff0c\u90a3\u4e48\u9700\u8981\u5c06\u8be5\u670d\u52a1\u5f00\u653e\u7ed9\u7f51\u7edc\u3002\u4e3a\u6b64\uff0c\u8bf7\u5728\u9632\u706b\u5899\u914d\u7f6e\u4e2d\u6dfb\u52a0\u65b0\u89c4\u5219\uff1a<\/p>\n \u8981\u786e\u8ba4\u670d\u52a1\u6b63\u5728\u8fd0\u884c\u5e76\u4e14\u6ca1\u6709\u53d1\u751f\u4efb\u4f55\u95ee\u9898\uff0c\u8bf7\u68c0\u67e5\u670d\u52a1\u7684\u72b6\u6001\uff1a<\/p>\n \u6b64\u65f6\u4e00\u5207\u90fd\u5e94\u8be5\u6b63\u5e38\u5de5\u4f5c\u3002Cockpit Web GUI \u5e94\u8be5\u53ef\u901a\u8fc7 https:\/\/localhost:9090 \u6216 https:\/\/127.0.0.1:9090 \u8bbf\u95ee\u3002\u6216\u8005\uff0c\u5728\u8fde\u63a5\u5230\u540c\u4e00\u7f51\u7edc\u7684\u4efb\u4f55\u5176\u4ed6\u8bbe\u5907\u4e0a\u7684 Web \u6d4f\u89c8\u5668\u4e2d\u8f93\u5165\u672c\u5730\u7f51\u7edc IP\u3002\uff08\u5982\u679c\u672a\u8bbe\u7f6e SSL \u8bc1\u4e66\uff0c\u90a3\u4e48\u53ef\u80fd\u9700\u8981\u5141\u8bb8\u6765\u81ea\u6d4f\u89c8\u5668\u7684\u8fde\u63a5\u3002\uff09<\/p>\n \u4f7f\u7528\u7cfb\u7edf\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u767b\u5f55\u754c\u9762\u3002\u4f60\u8fd8\u53ef\u4ee5\u9009\u62e9\u662f\u5426\u5141\u8bb8\u5728\u6b64\u4f1a\u8bdd\u4e2d\u5c06\u5bc6\u7801\u7528\u4e8e\u7ba1\u7406\u4efb\u52a1\u3002<\/p>\n \u9009\u62e9 \u201cVirtual Machines\u201d\uff0c\u7136\u540e\u9009\u62e9 \u201cCreate VM\u201d \u6765\u521b\u5efa\u4e00\u53f0\u65b0\u7684\u865a\u62df\u673a\u3002\u63a7\u5236\u53f0\u4e3a\u4f60\u63d0\u4f9b\u51e0\u4e2a\u9009\u9879\uff1a<\/p>\n \u4f7f\u7528 Cockpit \u7684\u5185\u7f6e\u5e93\u4e0b\u8f7d\u64cd\u4f5c\u7cfb\u7edf \u6b64\u65f6\uff0c\u5c06\u51fa\u73b0\u4e00\u4e2a\u56fe\u5f62\u63a7\u5236\u53f0\u3002\u5927\u591a\u6570\u73b0\u4ee3 Web \u6d4f\u89c8\u5668\u90fd\u5141\u8bb8\u4f60\u4f7f\u7528\u952e\u76d8\u548c\u9f20\u6807\u4e0e VM \u63a7\u5236\u53f0\u8fdb\u884c\u4ea4\u4e92\u3002\u73b0\u5728\uff0c\u4f60\u53ef\u4ee5\u5b8c\u6210\u5b89\u88c5\u5e76\u4f7f\u7528\u65b0\u7684 VM\uff0c\u5c31\u50cf\u8fc7\u53bb\u901a\u8fc7 virt-manager <\/span>\u4e00\u6837\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" Cockpit \u662f\u4e00\u4e2a\u6b63\u5728\u6d3b\u8dc3\u5f00\u53d1\u7684\u9879\u76ee\uff0c\u5b83\u6709\u8bb8\u591a\u6269\u5c55\u5176\u5de5\u4f5c\u7684\u63d2\u4ef6\u3002\u4f8b\u5982\uff0c\u5176\u4e2d\u4e00\u4e2a\u662f \u201cMachines\u201d\uff0c\u5b83 […]<\/p>\n","protected":false},"author":1890,"featured_media":168133,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-168131","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/168131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/1890"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=168131"}],"version-history":[{"count":1,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/168131\/revisions"}],"predecessor-version":[{"id":168134,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/168131\/revisions\/168134"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/168133"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=168131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=168131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=168131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} |