{"id":536,"date":"2021-10-03T16:00:00","date_gmt":"2021-10-03T16:00:00","guid":{"rendered":"https:\/\/262235.xyz\/?p=536"},"modified":"2021-10-03T16:00:00","modified_gmt":"2021-10-03T16:00:00","slug":"536","status":"publish","type":"post","link":"https:\/\/lyvba.com\/index.php\/2021\/10\/03\/536\/","title":{"rendered":"\u5728 Debian 11 Bullseye \u4e0a\u5b89\u88c5 Proxmox VE"},"content":{"rendered":"<p>\u53d7\u652f\u6301\u7684 Proxmox VE \u670d\u52a1\u5668\u7684\u5b89\u88c5\u5e94\u901a\u8fc7 \u88f8\u673a ISO \u5b89\u88c5\u7a0b\u5e8f\u5b8c\u6210\u3002\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u5728\u6b63\u5728\u8fd0\u884c\u7684 Debian Bullseye 64 \u4f4d\u4e0a\u5b89\u88c5 Proxmox VE \u662f\u6709\u610f\u4e49\u7684\uff0c\u7279\u522b\u662f\u5982\u679c\u60a8\u60f3\u8981\u81ea\u5b9a\u4e49\u5206\u533a\u5e03\u5c40\u3002\u5bf9\u4e8e\u6b64\u64cd\u4f5c\u65b9\u6cd5\uff0c\u4efb\u4f55\u5b98\u65b9 Bullseye \u5b89\u88c5\u4ecb\u8d28\u90fd\u53ef\u4ee5\u4f7f\u7528\u3002<\/p>\n<h3>\u5b89\u88c5\u6807\u51c6\u7684 Debian Bullseye (amd64)<\/h3>\n<p>\u5b89\u88c5\u6807\u51c6\u7684 Debian Bullseye\uff0c\u8be6\u7ec6\u4fe1\u606f\u8bf7\u53c2\u8003Debian \u5b89\u88c5\u6307\u5357\uff0c\u5e76\u914d\u7f6e\u9759\u6001 IP\u3002\u5efa\u8bae\u53ea\u5b89\u88c5\u201c\u6807\u51c6\u7cfb\u7edf\u5b9e\u7528\u7a0b\u5e8f\u201d\u548c\u201cSSH \u670d\u52a1\u5668\u201d\u5305\u9009\u62e9\uff0c\u56e0\u4e3a Proxmox VE \u4e3a QEMU \u548c LXC \u5e26\u6765\u4e86\u81ea\u5df1\u7684\u5305\u3002\u4e0d\u9700\u8981\u684c\u9762\u73af\u5883\u3002<\/p>\n<h3>\u7f51\u7edc\u914d\u7f6e\u4e3a\u9759\u6001IP\uff0c\u7f16\u8f91 <code>\/etc\/network\/interfaces<\/code><\/h3>\n<ul>\n<li>\n<p><em>\u6ce8\u610f<\/em> PVE\u7cfb\u7edf\u91cd\u542f\u540e\uff0c\u4f1a\u81ea\u5df1\u4fee\u6539\u8fd9\u4e2a\u914d\u7f6e\uff0c\u5bfc\u81f4\u4e0d\u80fd\u8fdc\u7a0b\u767b\u9646<\/p>\n<pre><code>source \/etc\/network\/interfaces.d\/*\nauto enp24s0\niface lo inet loopback\niface enp24s0 inet static\n      address 192.168.1.88\/24\n      gateway 192.168.1.1\n#iface enp24s0 inet dhcp<\/code><\/pre>\n<\/li>\n<\/ul>\n<h3>\u4fee\u6539 <code>\/etc\/hosts<\/code> \u6587\u4ef6\u4e2d\u7684\u4e3b\u673a\u540d\u4e3a\u9759\u6001IP<\/h3>\n<ul>\n<li>\n<p><code>127.0.0.1  pve<\/code> \u6539\u6210 <code>192.168.1.88 pve<\/code><\/p>\n<pre><code>127.0.0.1       localhost\n192.168.1.88    pve\n192.168.1.88    prox4m1.proxmox.com prox4m1\n\n# The following lines are desirable for IPv6 capable hosts\n::1     localhost ip6-localhost ip6-loopback\nff02::1 ip6-allnodes\nff02::2 ip6-allrouters<\/code><\/pre>\n<\/li>\n<\/ul>\n<h2>\u5b89\u88c5 Proxmox VE<\/h2>\n<h3>\u6dfb\u52a0 Proxmox VE \u5b58\u50a8\u5e93\uff1a<\/h3>\n<pre><code>echo \"deb [arch=amd64] http:\/\/download.proxmox.com\/debian\/pve bullseye pve-no-subscription\" \\r\n  &gt; \/etc\/apt\/sources.list.d\/pve-install-repo.list\n<\/code><\/pre>\n<h3>\u4ee5 root \u8eab\u4efd\u6dfb\u52a0 Proxmox VE \u5b58\u50a8\u5e93\u5bc6\u94a5\uff08\u6216\u4f7f\u7528 sudo\uff09\uff1a<\/h3>\n<pre><code>wget https:\/\/enterprise.proxmox.com\/debian\/proxmox-release-bullseye.gpg \\r\n  -O \/etc\/apt\/trusted.gpg.d\/proxmox-release-bullseye.gpg <\/code><\/pre>\n<h3>\u901a\u8fc7\u8fd0\u884c\u66f4\u65b0\u60a8\u7684\u5b58\u50a8\u5e93\u548c\u7cfb\u7edf\uff1a<\/h3>\n<pre><code>apt update &amp;&amp; apt full-upgrade\n<\/code><\/pre>\n<h3>\u5b89\u88c5 Proxmox VE \u8f6f\u4ef6\u5305<\/h3>\n<pre><code>apt install proxmox-ve postfix open-iscsi\n<\/code><\/pre>\n<p>\u5982\u679c\u60a8\u7684\u7f51\u7edc\u4e2d\u6709\u90ae\u4ef6\u670d\u52a1\u5668\uff0c\u60a8\u5e94\u8be5\u5c06 postfix \u914d\u7f6e\u4e3a\u536b\u661f\u7cfb\u7edf\u3002\u60a8\u73b0\u6709\u7684\u90ae\u4ef6\u670d\u52a1\u5668\u5c06\u6210\u4e3a\u4e2d\u7ee7\u4e3b\u673a\uff0c\u5b83\u5c06 Proxmox VE \u53d1\u9001\u7684\u7535\u5b50\u90ae\u4ef6\u8def\u7531\u5230\u5176\u6700\u7ec8\u6536\u4ef6\u4eba\u3002\u5982\u679c\u60a8\u4e0d\u77e5\u9053\u5728\u6b64\u5904\u8f93\u5165\u4ec0\u4e48\uff0c\u8bf7\u9009\u62e9\u4ec5\u672c\u5730\u5e76\u4fdd\u7559\u7cfb\u7edf\u540d\u79f0\u3002<\/p>\n<h3>\u6700\u540e\uff0c\u91cd\u65b0\u542f\u52a8\u7cfb\u7edf\u3002\u5982\u679c\u5b89\u88c5\u5f88\u6162: PVE\u6e90\u53ef\u4ee5\u4f7f\u7528\u6e05\u534e\u7684 \u6e05\u534e\u955c\u50cf\uff1a<a href=\"https:\/\/mirrors.tuna.tsinghua.edu.cn\/help\/proxmox\/\">https:\/\/mirrors.tuna.tsinghua.edu.cn\/help\/proxmox\/<\/a><\/h3>\n<p><a href=\"https:\/\/mirrors.tuna.tsinghua.edu.cn\/help\/proxmox\/\">11.png<\/a><\/p>\n<h2>\u8fde\u63a5\u5230 Proxmox VE \u7f51\u7edc\u754c\u9762<\/h2>\n<p>\u8fde\u63a5\u5230\u7ba1\u7406 Web \u754c\u9762 (<a href=\"https:\/\/youripaddress:8006\">https:\/\/youripaddress:8006<\/a>)\u3002\u5982\u679c\u4f60\u662f\u5168\u65b0\u5b89\u88c5\u5e76\u4e14\u8fd8\u6ca1\u6709\u6dfb\u52a0\u4efb\u4f55\u7528\u6237\uff0c\u4f60\u5e94\u8be5\u4f7f\u7528 root \u5e10\u6237\u548c\u4f60\u7684 linux root \u5bc6\u7801\uff0c\u5e76\u9009\u62e9\u201cPAM Authentication\u201d\u767b\u5f55\u3002<\/p>\n<h3>\u521b\u5efa Linux \u7f51\u6865<\/h3>\n<p>\u767b\u5f55\u540e\uff0c\u521b\u5efa\u4e00\u4e2a\u540d\u4e3avmbr0\u7684Linux Bridge\uff0c\u5e76\u5411\u5176\u4e2d\u6dfb\u52a0\u60a8\u7684\u7b2c\u4e00\u4e2a\u7f51\u7edc\u63a5\u53e3\u3002<br \/><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/10\/3166239811.png\" alt=\"\" title=\"\"><\/p>\n<ul>\n<li>\u9700\u8981\u5148\u5220\u9664\u539f\u7f51\u5361IP\u5730\u5740\uff0c\u628aIP\u5730\u5740\u8bbe\u7f6e\u5230\u7ed1\u5b9a\u7684\u7f51\u6865\u4e0avmbr0\u4e0a<\/li>\n<\/ul>\n<h3>\u5b89\u88c5\u53c2\u8003 \u82f1\u6587\u539f\u6587\u7ae0<\/h3>\n<ul>\n<li><a href=\"https:\/\/pve.proxmox.com\/wiki\/Install_Proxmox_VE_on_Debian_11_Bullseye\">https:\/\/pve.proxmox.com\/wiki\/Install_Proxmox_VE_on_Debian_11_Bullseye<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u53d7\u652f\u6301\u7684 Proxmox VE \u670d\u52a1\u5668\u7684\u5b89\u88c5\u5e94\u901a\u8fc7 \u88f8\u673a ISO \u5b89\u88c5\u7a0b\u5e8f\u5b8c\u6210\u3002\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u5728\u6b63\u5728 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[60],"class_list":["post-536","post","type-post","status-publish","format-standard","hentry","category-vps","tag-pve"],"_links":{"self":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/536","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/comments?post=536"}],"version-history":[{"count":0,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/536\/revisions"}],"wp:attachment":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/media?parent=536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/categories?post=536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/tags?post=536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}