{"id":431,"date":"2014-05-13T11:40:42","date_gmt":"2014-05-13T03:40:42","guid":{"rendered":"http:\/\/www.ipcpu.com\/?p=431"},"modified":"2014-05-13T11:40:42","modified_gmt":"2014-05-13T03:40:42","slug":"kvm-kimchi","status":"publish","type":"post","link":"https:\/\/c.ipcpu.com\/2014\/05\/kvm-kimchi\/","title":{"rendered":"KVM\u7ba1\u7406\u5de5\u5177Kimchi\u4ecb\u7ecd"},"content":{"rendered":"

KVM\u7ba1\u7406\u5de5\u5177Kimchi\u4ecb\u7ecd<\/h2>\n

\u5b98\u7f51\u5730\u5740\uff1ahttps:\/\/github.com\/kimchi-project\/kimchi<\/a><\/p>\n

1. \u5b89\u88c5\u65b9\u6cd5\uff0c\u4ee5RHEL\u4e3a\u4f8b\uff1a<\/h3>\n

1.1 \u5b89\u88c5\u4f9d\u8d56\uff1a<\/h4>\n
  1. ###**For fedora and RHEL:**<\/span><\/code><\/li>
  2. # yum install gcc make autoconf automake gettext-devel git \\<\/span><\/code><\/li>
  3. python<\/span>-<\/span>cherrypy python<\/span>-<\/span>cheetah libvirt<\/span>-<\/span>python \\<\/span><\/code><\/li>
  4. libvirt libxml2<\/span>-<\/span>python python<\/span>-<\/span>imaging \\<\/span><\/code><\/li>
  5. <\/span>PyPAM<\/span> m2crypto python<\/span>-<\/span>jsonschema rpm<\/span>-<\/span>build \\<\/span><\/code><\/li>
  6. qemu<\/span>-<\/span>kvm python<\/span>-<\/span>psutil python<\/span>-<\/span>ethtool sos \\<\/span><\/code><\/li>
  7. python<\/span>-<\/span>ipaddr python<\/span>-<\/span>lxml nfs<\/span>-<\/span>utils \\<\/span><\/code><\/li>
  8. iscsi<\/span>-<\/span>initiator<\/span>-<\/span>utils libxslt pyparted nginx \\<\/span><\/code><\/li>
  9. policycoreutils<\/span>-<\/span>python python<\/span>-<\/span>libguestfs \\<\/span><\/code><\/li>
  10. libguestfs<\/span>-<\/span>tools python<\/span>-<\/span>requests<\/span><\/code><\/li>
  11. ###** If using RHEL6, install the following additional packages:<\/span><\/code><\/li>
  12. # yum install python-unittest2 python-ordereddict<\/span><\/code><\/li>
  13. ###** Restart libvirt to allow configuration changes to take effect<\/span><\/code><\/li>
  14. # service libvirtd restart<\/span><\/code><\/li><\/ol><\/pre>\n

    1.2 \u7f16\u8bd1\u5b89\u88c5<\/h4>\n

    \u4e0b\u8f7dkimchi\u5b89\u88c5\u5305\uff0c\u89e3\u538b\u5e76\u8fdb\u5165\u76ee\u5f55<\/p>\n

    1. # .\/autogen.sh --system<\/span><\/code><\/li>
    2. # make<\/span><\/code><\/li>
    3. # make install<\/span><\/code><\/li><\/ol><\/pre>\n

      2. \u8fd0\u884ckimichi<\/h3>\n
      1. # kimchid --host=0.0.0.0<\/span><\/code><\/li><\/ol><\/pre>\n

        3. \u767b\u9646\u548c\u754c\u9762\u5c55\u793a<\/h3>\n

        \u6253\u5f00\u6d4f\u89c8\u5668\u8f93\u5165 https:\/\/$IP:8001\/<\/a> \u767b\u9646
        Kimchi uses PAM to authenticate users so you can log in with the same username
        and password that you would use to log in to the machine itself.
        Kimchi\u4f7f\u7528\u7684\u7cfb\u7edf\u7528\u6237\uff0c\u53ef\u4ee5\u76f4\u63a5\u7528root\u7528\u6237\u540d\u5bc6\u7801\u767b\u9646\u3002<\/p>\n

        \u622a\u56fe<\/h4>\n

        \u4e3b\u673a\u754c\u9762\uff1a
        \"\"
        \u865a\u62df\u673a\u754c\u9762\uff1a
        \/\/\u53ef\u4ee5\u901a\u8fc7\u754c\u9762\u6dfb\u52a0\u7ba1\u7406\u865a\u62df\u673a\uff0c\u4e5f\u53ef\u4ee5\u81ea\u52a8\u8bfb\u53d6\u4e4b\u524d\u7684\u865a\u62df\u673a\u914d\u7f6e\u3002
        \"\"
        \u62e5\u6709\u6a21\u677f\u7ba1\u7406\u548c\u5b58\u50a8\u53ca\u7f51\u7edc\u7ba1\u7406\u754c\u9762<\/p>\n

        \u4f7f\u7528noVNC\u6765\u8fdb\u884c\u8fde\u63a5\u865a\u62df\u673a\uff0c
        \"\"<\/p>\n

        4. \u7b80\u5355\u8bc4\u4ef7<\/h3>\n

        \u76ee\u524d\u53ea\u80fd\u652f\u6301\u5355\u673a\uff0c\u4e0d\u652f\u6301\u591a\u53f0\u673a\u5668\u7684\u64cd\u4f5c\u3002
        \u652f\u6301\u6a21\u677f\u65b9\u5f0f\u5feb\u901f\u521b\u5efa\u865a\u62df\u673a\u3002
        \u5feb\u901f\u521b\u5efa\u865a\u62df\u673a\u4f7f\u7528\u7684\u662fbacking file\u65b9\u5f0f\u3002
        \u652f\u6301KVM\u3002
        \u901a\u8fc7libvirtd\u6765\u7ba1\u7406\u865a\u62df\u673a\uff0c\u53ef\u4ee5\u81ea\u52a8\u8bfb\u53d6\u4e4b\u524d\u5df2\u7ecf\u521b\u5efa\u597d\u7684\u914d\u7f6e\u3002<\/p>\n

        \u6765\u81ea\u4e3a\u77e5\u7b14\u8bb0(Wiz)<\/a><\/div>\n

        \u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1aIPCPU-\u7f51\u7edc\u4e4b\u8def<\/a> » KVM\u7ba1\u7406\u5de5\u5177Kimchi\u4ecb\u7ecd<\/a><\/p>","protected":false},"excerpt":{"rendered":"

        KVM\u7ba1\u7406\u5de5\u5177Kimchi\u4ecb\u7ecd \u5b98\u7f51\u5730\u5740\uff1ahttps:\/\/github.com\/kimchi-project\/kimchi 1. \u5b89\u88c5\u65b9\u6cd5\uff0c\u4ee5RHEL\u4e3a\u4f8b\uff1a 1.1 \u5b89\u88c5\u4f9d\u8d56\uff1a ###**For fedora and RHEL:**# yum install gcc make autoconf automake gettext-devel git \\ python-cherrypy python-cheetah libvirt-python \\ libvirt libxml2-python python-imaging \\ PyPAM m2crypto python-jsonschema rpm-build \\ qemu-kvm python-psutil python-ethtool sos \\ python-ipaddr python-lxml nfs-utils \\ iscsi-initiator-utils libxslt pyparted nginx \\ policycoreutils-python python-libguestfs \\ libguestfs-tools python-requests###** If using RHEL6, install […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,13],"tags":[40,17,41],"_links":{"self":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts\/431"}],"collection":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/comments?post=431"}],"version-history":[{"count":0,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts\/431\/revisions"}],"wp:attachment":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/media?parent=431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/categories?post=431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/tags?post=431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}