{"id":253,"date":"2025-09-18T13:04:20","date_gmt":"2025-09-18T05:04:20","guid":{"rendered":"https:\/\/nds.cool\/?p=253"},"modified":"2026-01-20T11:33:02","modified_gmt":"2026-01-20T03:33:02","slug":"pvetools%e5%ae%89%e8%a3%85%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/blog.wcld.top\/?p=253","title":{"rendered":"pvetools\u5b89\u88c5\u6307\u5357"},"content":{"rendered":"<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https:\/\/camo.githubusercontent.com\/82b6c2662a4feb173b8c9dac37d82f5d01336410ad7df1ec5c3f0448d21fa214\/68747470733a2f2f75706c6f61642d696d616765732e6a69616e7368752e696f2f75706c6f61645f696d616765732f343137313438302d346663323364666265323862343931612e706e673f696d6167654d6f6772322f6175746f2d6f7269656e742f7374726970253743696d61676556696577322f322f772f31323430\"><\/a><\/p>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/camo.githubusercontent.com\/82b6c2662a4feb173b8c9dac37d82f5d01336410ad7df1ec5c3f0448d21fa214\/68747470733a2f2f75706c6f61642d696d616765732e6a69616e7368752e696f2f75706c6f61645f696d616765732f343137313438302d346663323364666265323862343931612e706e673f696d6167654d6f6772322f6175746f2d6f7269656e742f7374726970253743696d61676556696577322f322f772f31323430\" width=\"240\" height=\"240\" class=\"alignnone size-full\" \/>\n<p><a style=\"margin-top: 10px\" href=\"https:\/\/camo.githubusercontent.com\/82b6c2662a4feb173b8c9dac37d82f5d01336410ad7df1ec5c3f0448d21fa214\/68747470733a2f2f75706c6f61642d696d616765732e6a69616e7368752e696f2f75706c6f61645f696d616765732f343137313438302d346663323364666265323862343931612e706e673f696d6167654d6f6772322f6175746f2d6f7269656e742f7374726970253743696d61676556696577322f322f772f31323430\" target=\"_blank\" rel=\"noopener\"><\/a>pvetools<\/p>\n<p>proxmox ve tools script(debian9+ can use it).Including<span>\u00a0<\/span><code>email<\/code>,<span>\u00a0<\/span><code>samba<\/code>,<code> NFS  set zfs max ram<\/code>,<span>\u00a0<\/span><code>nested virtualization<\/code><span>\u00a0<\/span>,<code>docker <\/code>,<span>\u00a0<\/span><code>pci passthrough<\/code><span>\u00a0<\/span>etc. for english user,please look the end of readme.\u8fd9\u662f\u4e00\u4e2a\u4e3aproxmox ve\u5199\u7684\u5de5\u5177\u811a\u672c\uff08\u7406\u8bba\u4e0adebian9+\u53ef\u4ee5\u7528\uff09\u3002\u5305\u62ec<code>\u914d\u7f6e\u90ae\u4ef6<\/code>\uff0c<code>samba<\/code>\uff0c<code>NFS<\/code>\uff0c<code>zfs<\/code>\uff0c<code>\u5d4c\u5957\u865a\u62df\u5316<\/code>\uff0c<code>docker<\/code>\uff0c<code>\u786c\u76d8\u76f4\u901a<\/code>\u7b49\u529f\u80fd\u3002<\/p>\n<p>\u5b89\u88c5<\/p>\n<div class=\"markdown-heading\" dir=\"auto\"><a id=\"user-content-\u5b89\u88c5\" class=\"anchor\" aria-label=\"Permalink: \u5b89\u88c5\" href=\"https:\/\/github.com\/ivanhao\/pvetools#%E5%AE%89%E8%A3%85\"><\/a><\/div>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h5 class=\"heading-element\" dir=\"auto\">\u4e2d\u56fd\u7528\u6237:<\/h5>\n<a id=\"user-content-\u4e2d\u56fd\u7528\u6237\" class=\"anchor\" aria-label=\"Permalink: \u4e2d\u56fd\u7528\u6237:\" href=\"https:\/\/github.com\/ivanhao\/pvetools#%E4%B8%AD%E5%9B%BD%E7%94%A8%E6%88%B7\"><\/a><\/div>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h6 class=\"heading-element\" dir=\"auto\">\u65b9\u5f0f\u4e00\uff1a\u547d\u4ee4\u884c\u5b89\u88c5<\/h6>\n<a id=\"user-content-\u65b9\u5f0f\u4e00\u547d\u4ee4\u884c\u5b89\u88c5\" class=\"anchor\" aria-label=\"Permalink: \u65b9\u5f0f\u4e00\uff1a\u547d\u4ee4\u884c\u5b89\u88c5\" href=\"https:\/\/github.com\/ivanhao\/pvetools#%E6%96%B9%E5%BC%8F%E4%B8%80%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%AE%89%E8%A3%85\"><\/a><\/div>\n<blockquote>\n<p dir=\"auto\">\u9700\u8981\u7528root\u8d26\u53f7\u6765\u8fd0\u884c<\/p>\n<\/blockquote>\n<p dir=\"auto\">\u5728\u7ec8\u7aef\u4e2d\u6309\u884c\u5206\u522b\u6267\u884c\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<blockquote>\n<p dir=\"auto\">\u5f3a\u70c8\u5efa\u8bae\u5148\u5220\u9664\u4f01\u4e1a\u6e90\uff1a<code>rm \/etc\/apt\/sources.list.d\/pve-enterprise.list<\/code><\/p>\n<\/blockquote>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\">\n<pre class=\"notranslate\"><code>export LC_ALL=en_US.UTF-8\napt update &amp;&amp; apt -y install git &amp;&amp; git clone https:\/\/github.com\/ivanhao\/pvetools.git\ncd pvetools\n.\/pvetools.sh\n<\/code><\/pre>\n<div class=\"zeroclipboard-container\"><\/div>\n<\/div>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h3 class=\"heading-element\" dir=\"auto\">\u4e00\u952e\u65e0\u8111\u5b89\u88c5:<\/h3>\n<a id=\"user-content-\u4e00\u952e\u65e0\u8111\u5b89\u88c5\" class=\"anchor\" aria-label=\"Permalink: \u4e00\u952e\u65e0\u8111\u5b89\u88c5:\" href=\"https:\/\/github.com\/ivanhao\/pvetools#%E4%B8%80%E9%94%AE%E6%97%A0%E8%84%91%E5%AE%89%E8%A3%85\"><\/a><\/div>\n<div class=\"snippet-clipboard-content notranslate position-relative overflow-auto\">\n<pre class=\"notranslate\"><code>sver=`cat \/etc\/os-release|grep VERSION_CODENAME|awk -F &#039;=&#039; &#039;{print $2}&#039;` &amp;&amp; echo &quot;nameserver  8.8.8.8&quot; &gt;&gt; \/etc\/resolv.conf &amp;&amp; rm -rf pvetools &amp;&amp; echo &quot;deb http:\/\/mirrors.ustc.edu.cn\/proxmox\/debian\/pve\/ $sver pve-no-subscription&quot; &gt; \/etc\/apt\/sources.list.d\/pve-no-sub.list &amp;&amp; sed -i &#039;s|deb|#deb|&#039; \/etc\/apt\/sources.list.d\/pve-enterprise.list &amp;&amp; echo &quot;&quot; &gt; \/etc\/apt\/sources.list.d\/ceph.list &amp;&amp; export LC_ALL=en_US.UTF-8 &amp;&amp; apt update &amp;&amp; apt -y install git &amp;&amp; git clone https:\/\/github.com\/ivanhao\/pvetools.git &amp;&amp; echo &quot;cd \/root\/pvetools &amp;&amp; .\/pvetools.sh&quot; &gt; pvetools\/pvetools &amp;&amp; chmod +x pvetools\/pvetools* &amp;&amp; ln -s \/root\/pvetools\/pvetools \/usr\/local\/bin\/pvetools &amp;&amp; pvetools\n<\/code><\/pre>\n<div class=\"zeroclipboard-container\">&gt; \/etc\/resolv.conf &amp;&amp; rm -rf pvetools &amp;&amp; echo &#8220;deb http:\/\/mirrors.ustc.edu.cn\/proxmox\/debian\/pve\/ $sver pve-no-subscription&#8221; &gt; \/etc\/apt\/sources.list.d\/pve-no-sub.list &amp;&amp; sed -i &#8216;s|deb|#deb|&#8217; \/etc\/apt\/sources.list.d\/pve-enterprise.list &amp;&amp; echo &#8220;&#8221; &gt; \/etc\/apt\/sources.list.d\/ceph.list &amp;&amp; export LC_ALL=en_US.UTF-8 &amp;&amp; apt update &amp;&amp; apt -y install git &amp;&amp; git clone https:\/\/github.com\/ivanhao\/pvetools.git &amp;&amp; echo &#8220;cd \/root\/pvetools &amp;&amp; .\/pvetools.sh&#8221; &gt; pvetools\/pvetools &amp;&amp; chmod +x pvetools\/pvetools* &amp;&amp; ln -s \/root\/pvetools\/pvetools \/usr\/local\/bin\/pvetools &amp;&amp; pvetools&#8221; role=&#8221;button&#8221; tabindex=&#8221;0&#8243;&gt;<\/div>\n<\/div>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h6 class=\"heading-element\" dir=\"auto\">\u65b9\u5f0f\u4e8c\uff1a\u4e0b\u8f7dzip\u5b89\u88c5<\/h6>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/camo.githubusercontent.com\/0b876497cb00046d9f40678b2224a56cf180429bb61fb591dfd5e246f028f8ae\/68747470733a2f2f75706c6f61642d696d616765732e6a69616e7368752e696f2f75706c6f61645f696d616765732f343137313438302d343931393366346236663430343066632e706e673f696d6167654d6f6772322f6175746f2d6f7269656e742f7374726970253743696d61676556696577322f322f772f31323430\" width=\"999\" height=\"266\" class=\"alignnone size-full\">\n\n<\/div>\n<p>&nbsp;<\/p>\n<ul dir=\"auto\">\n\n<li>\n<p dir=\"auto\">\u5efa\u8bae\u4f7f\u7528\u65b9\u5f0f\u4e00\u6765\u5b89\u88c5\uff0c\u4e0d\u5efa\u8bae\u76f4\u63a5\u4e0b\u8f7d\u5355sh\u811a\u672c\u4f7f\u7528\uff0c\u56e0\u4e3a\u90a3\u6837\u66f4\u65b0\u7684\u529f\u80fd\u4f1a\u65e0\u6cd5\u4f7f\u7528\uff01<\/p>\n<\/li>\n\n<li>\n<p dir=\"auto\">\u5982\u679c\u7f51\u7edc\u65e0\u6cd5\u4f7f\u7528\uff0c\u6216\u547d\u4ee4\u884c\u4f7f\u7528\u6709\u56f0\u96be\uff0c\u53ef\u4ee5\u4f7f\u7528\u65b9\u5f0f\u4e8c\u4e0b\u8f7dzip\u5305\u62f7\u5165\u7cfb\u7edf\u4e2d\u4f7f\u7528\u3002<\/p>\n<\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h3 class=\"heading-element\" dir=\"auto\">\u5378\u8f7d<\/h3>\n<a id=\"user-content-\u5378\u8f7d\" class=\"anchor\" aria-label=\"Permalink: \u5378\u8f7d\" href=\"https:\/\/github.com\/ivanhao\/pvetools#%E5%8D%B8%E8%BD%BD\"><\/a><\/div>\n<ol dir=\"auto\">\n\n<li>\u5220\u9664\u4e0b\u8f7d\u7684pvetools\u76ee\u5f55<\/li>\n<\/ol>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h3 class=\"heading-element\" dir=\"auto\">\u8fd0\u884c<\/h3>\n<a id=\"user-content-\u8fd0\u884c\" class=\"anchor\" aria-label=\"Permalink: \u8fd0\u884c\" href=\"https:\/\/github.com\/ivanhao\/pvetools#%E8%BF%90%E8%A1%8C\"><\/a><\/div>\n<p dir=\"auto\">\u5728shell\u4e2d\u8fdb\u5165pvetools\u76ee\u5f55\uff0c\u8f93\u5165<span>\u00a0<\/span><code>.\/pvetools.sh<\/code><\/p>\n<ul dir=\"auto\">\n\n<li>\u5982\u679c\u63d0\u793a\u6ca1\u6709\u6743\u9650\uff0c\u8f93\u5165<code>chmod +x .\/*.sh<\/code><\/li>\n<\/ul>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h3 class=\"heading-element\" dir=\"auto\">\u4e3b\u754c\u9762<\/h3>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/camo.githubusercontent.com\/ff1f25983a5e19981a2575b4edbde6400e436a070b79c95fb8473df79beead0c\/68747470733a2f2f75706c6f61642d696d616765732e6a69616e7368752e696f2f75706c6f61645f696d616765732f343137313438302d353031653361646236323563383266622e706e673f696d6167654d6f6772322f6175746f2d6f7269656e742f7374726970253743696d61676556696577322f322f772f31323430\" width=\"547\" height=\"184\" class=\"alignnone size-full\">\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/camo.githubusercontent.com\/c51eb849e09253c1e8b13f56b176c70af4ff929d3aaeec6c3f77c30eebca1dd4\/68747470733a2f2f75706c6f61642d696d616765732e6a69616e7368752e696f2f75706c6f61645f696d616765732f343137313438302d353366633133373634663638346334632e706e673f696d6167654d6f6772322f6175746f2d6f7269656e742f7374726970253743696d61676556696577322f322f772f31323430\" width=\"552\" height=\"443\" class=\"alignnone size-full\">\n\n<\/div>\n<p>&nbsp;<\/p>\n<p dir=\"auto\">\u6839\u636e\u9700\u8981\u9009\u62e9\u5bf9\u5e94\u7684\u9009\u9879\u5373\u53ef\u3002<\/p>\n<div class=\"markdown-heading\" dir=\"auto\">\n<h4 class=\"heading-element\" dir=\"auto\">\u914d\u7f6e\u90ae\u4ef6\u8bf4\u660e\uff1a<\/h4>\n<h4 class=\"heading-element\" dir=\"auto\">\u53ea\u6709\u4ee5\u4e0b\u754c\u9762\u9700\u8981\u7528tab\u952e\u9009\u6210\u7ea2\u6846\u7684\u5185\u5bb9,\u5176\u4ed6\u7684\u4e00\u5f8b\u65e0\u8111\u56de\u8f66\u5373\u53ef\u3002<\/h4>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/camo.githubusercontent.com\/4dee2b0b66313bd527e6f5f58807eeb48a458aa0cec0ff20c528b77c9d161f7d\/68747470733a2f2f75706c6f61642d696d616765732e6a69616e7368752e696f2f75706c6f61645f696d616765732f343137313438302d326565373666623839633066323533652e706e673f696d6167654d6f6772322f6175746f2d6f7269656e742f7374726970253743696d61676556696577322f322f772f31323430\" width=\"581\" height=\"385\" class=\"alignnone size-full\">\n\n<\/div>\n<p dir=\"auto\"><a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https:\/\/camo.githubusercontent.com\/4dee2b0b66313bd527e6f5f58807eeb48a458aa0cec0ff20c528b77c9d161f7d\/68747470733a2f2f75706c6f61642d696d616765732e6a69616e7368752e696f2f75706c6f61645f696d616765732f343137313438302d326565373666623839633066323533652e706e673f696d6167654d6f6772322f6175746f2d6f7269656e742f7374726970253743696d61676556696577322f322f772f31323430\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>pvetools proxmox ve tools script(debian9+ can use it).Includ\u2026<\/p>","protected":false},"author":1,"featured_media":287,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[11,19],"class_list":["post-253","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vmos","tag-pve","tag-19"],"_links":{"self":[{"href":"https:\/\/blog.wcld.top\/index.php?rest_route=\/wp\/v2\/posts\/253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.wcld.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.wcld.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.wcld.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.wcld.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=253"}],"version-history":[{"count":1,"href":"https:\/\/blog.wcld.top\/index.php?rest_route=\/wp\/v2\/posts\/253\/revisions"}],"predecessor-version":[{"id":281,"href":"https:\/\/blog.wcld.top\/index.php?rest_route=\/wp\/v2\/posts\/253\/revisions\/281"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.wcld.top\/index.php?rest_route=\/wp\/v2\/media\/287"}],"wp:attachment":[{"href":"https:\/\/blog.wcld.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.wcld.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.wcld.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}