{"id":5133,"date":"2013-06-27T16:05:54","date_gmt":"2013-06-27T08:05:54","guid":{"rendered":"http:\/\/jpuyy.com\/?p=5133"},"modified":"2015-05-26T20:08:11","modified_gmt":"2015-05-26T12:08:11","slug":"proxmox-virtual-environment","status":"publish","type":"post","link":"https:\/\/jpuyy.com\/?p=5133","title":{"rendered":"proxmox\u865a\u62df\u5316\u73af\u5883-pve"},"content":{"rendered":"<div>proxmox VE \u662f\u4e00\u4e2a\u975e\u5e38\u68d2\u7684\u540c\u65f6\u652f\u6301openvz\u548ckvm\u865a\u62df\u5316\u73af\u5883\u5e73\u53f0\uff0c\u7b80\u79f0PVE\uff0c\u57fa\u4e8edebian\u5236\u4f5c\u3002<\/div>\n<div><\/div>\n<div>\u4e0b\u8f7d\u597d\u955c\u50cf\u4e4b\u540e\uff0c\u53ef\u4ee5\u7528u\u76d8\u5b89\u88c5\uff0c<a href=\"http:\/\/pve.proxmox.com\/wiki\/Install_from_USB_Stick\">http:\/\/pve.proxmox.com\/wiki\/Install_from_USB_Stick<\/a><\/div>\n<div>\u5728linux\u4e0b\u4f7f\u7528dd\u547d\u4ee4\u5236\u4f5c\u4e00\u4e2a\u53ef\u4ee5\u5b89\u88c5\u7528\u7684u\u76d8\uff1a<\/div>\n<div><\/div>\n<div>\n<div>\n<pre>dd if=pve-cd.iso of=\/dev\/XYZ bs=1M<\/pre>\n<\/div>\n<\/div>\n<div>\u5b89\u88c5\u8fc7\u7a0b\uff0c\u7565<\/div>\n<div>\u6253\u5f00https:\/\/ip:8006\uff0c\u4f7f\u7528\u5b89\u88c5\u65f6\u8bbe\u7f6e\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u767b\u9646\u3002<\/div>\n<div>\u53ef\u4ee5\u521b\u5efa\u7684\u6709VM\u548cCT\uff0cVM\u5373kvm\u865a\u62df\u673a\uff0ckvm\u53ef\u4ee5\u88c5windows,linux\uff1bCT\u5373ConTainer(\u5bb9\u5668)\uff0c\u4e5f\u5c31\u662fopenvz\u865a\u62df\u673a\uff0c\u4e0d\u80fd\u88c5windows\u3002<\/div>\n<div><\/div>\n<div>\u5236\u4f5cCentOS\u7684\u6a21\u677f<\/div>\n<div><a href=\"http:\/\/wiki.openvz.org\/Creating_a_CentOS_5.0_Template\">http:\/\/wiki.openvz.org\/Creating_a_CentOS_5.0_Template<\/a><\/div>\n<div><\/div>\n<div><a href=\"http:\/\/pve.proxmox.com\/wiki\/Main_Page\">http:\/\/pve.proxmox.com\/wiki\/Main_Page<\/a><\/div>\n<div><\/div>\n<div>\u5bf9\u4e8e kvm \u865a\u62df\u5316\u7684\u8d44\u6e90 210 \u662f\u91cc\u9762\u7684 id \uff0c\u590d\u5236\u4e00\u53f0\u65b0\u673a\u5668 211<\/div>\n<div>\n<pre>qm clone 210\u00a0211 -full 1 -format qcow2 -name ready-to-use.jpuyy.com -storage data<\/pre>\n<p>kvm \u4ece\u5bbf\u4e3b\u673a\u5207\u6362\u865a\u62df\u673a\u4f7f\u7528 terminal<\/p>\n<p>\u5728\u5bbf\u4e3b\u673a\u914d\u7f6e\u6587\u4ef6\u4e2d\u7f16\u8f91\uff0ckvm \u865a\u62df\u673a\u4e3a 2549<\/p>\n<p>\/etc\/pve\/qemu-server\/2549.conf<\/p>\n<p>\u6dfb\u52a0\u4e00\u884c<\/p>\n<pre>serial0: socket<\/pre>\n<p>\u865a\u62df\u673a\u4e3a centos6<\/p>\n<pre> vim \/boot\/grub\/grub.conf<\/pre>\n<p>\u5728 kernel \u4e00\u884c\u4e2d\u8ffd\u52a0<\/p>\n<pre>console=tty0 console=ttyS0<\/pre>\n<p>\u793a\u4f8b<\/p>\n<pre>kernel \/vmlinuz-2.6.32-504.el6.x86_64 ro root=UUID=dbc46481-4b4c-420f-9b32-8e8ac82a4979 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet console=tty0 console=ttyS0<\/pre>\n<p>\u8fd9\u4e9b\u505a\u5b8c\uff0c<\/p>\n<pre>qm stop 2549\r\nqm start 2549<\/pre>\n<p>\u91cd\u542f\u673a\u5668\u540e<\/p>\n<pre>qm terminal 2549<\/pre>\n<p>\u5373\u53ef\u4ece\u5bbf\u4e3b\u673a\u8fdb\u5165\u865a\u62df\u673a terminal.<\/p>\n<p>\u53c2\u8003\uff1a<\/p>\n<p>https:\/\/pve.proxmox.com\/wiki\/Serial_Terminal<\/p>\n<p>https:\/\/pve.proxmox.com\/wiki\/Qm_manual<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>proxmox VE \u662f\u4e00\u4e2a\u975e\u5e38\u68d2\u7684\u540c\u65f6\u652f\u6301openvz\u548ckvm\u865a\u62df\u5316\u73af\u5883\u5e73\u53f0\uff0c\u7b80\u79f0PVE\uff0c\u57fa\u4e8edebian\u5236\u4f5c\u3002 \u4e0b\u8f7d\u597d\u955c\u50cf\u4e4b\u540e\uff0c\u53ef\u4ee5\u7528u\u76d8\u5b89\u88c5\uff0chttp:\/\/pve.proxmox.com\/wiki\/Install_from_USB_Stick \u5728linux\u4e0b\u4f7f\u7528dd\u547d\u4ee4\u5236\u4f5c\u4e00\u4e2a\u53ef\u4ee5\u5b89\u88c5\u7528\u7684u\u76d8\uff1a dd if=pve-cd.iso of=\/dev\/XYZ bs=1M \u5b89\u88c5\u8fc7\u7a0b\uff0c\u7565 \u6253\u5f00https:\/\/ip:8006\uff0c\u4f7f\u7528\u5b89\u88c5\u65f6\u8bbe\u7f6e\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u767b\u9646\u3002 \u53ef\u4ee5\u521b\u5efa\u7684\u6709VM\u548cCT\uff0cVM\u5373kvm\u865a\u62df\u673a\uff0ckvm\u53ef\u4ee5\u88c5windows,linux\uff1bCT\u5373ConTainer(\u5bb9\u5668)\uff0c\u4e5f\u5c31\u662fopenvz\u865a\u62df\u673a\uff0c\u4e0d\u80fd\u88c5windows\u3002 \u5236\u4f5cCentOS\u7684\u6a21\u677f http:\/\/wiki.openvz.org\/Creating_a_CentOS_5.0_Template http:\/\/pve.proxmox.com\/wiki\/Main_Page \u5bf9\u4e8e kvm \u865a\u62df\u5316\u7684\u8d44\u6e90 210 \u662f\u91cc\u9762\u7684 id \uff0c\u590d\u5236\u4e00\u53f0\u65b0\u673a\u5668 211 qm clone 210\u00a0211 -full 1 -format qcow2 -name ready-to-use.jpuyy.com -storage data kvm \u4ece\u5bbf\u4e3b\u673a\u5207\u6362\u865a\u62df\u673a\u4f7f\u7528 terminal \u5728\u5bbf\u4e3b\u673a\u914d\u7f6e\u6587\u4ef6\u4e2d\u7f16\u8f91\uff0ckvm \u865a\u62df\u673a\u4e3a 2549 \/etc\/pve\/qemu-server\/2549.conf \u6dfb\u52a0\u4e00\u884c serial0: socket \u865a\u62df\u673a\u4e3a centos6 vim \/boot\/grub\/grub.conf \u5728 kernel \u4e00\u884c\u4e2d\u8ffd\u52a0 console=tty0 console=ttyS0 \u793a\u4f8b kernel [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,148],"tags":[150],"class_list":["post-5133","post","type-post","status-publish","format-standard","hentry","category-linux","category-virtualization","tag-proxmox"],"_links":{"self":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/5133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5133"}],"version-history":[{"count":9,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/5133\/revisions"}],"predecessor-version":[{"id":7358,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/5133\/revisions\/7358"}],"wp:attachment":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}