{"id":98,"date":"2024-01-23T20:28:38","date_gmt":"2024-01-23T12:28:38","guid":{"rendered":"https:\/\/www.youguess.site\/?p=98"},"modified":"2024-01-23T21:39:58","modified_gmt":"2024-01-23T13:39:58","slug":"%e5%af%b9openwrt%e7%9a%84%e6%a0%b9%e5%88%86%e5%8c%ba%e5%92%8c%e7%b3%bb%e7%bb%9f%e6%96%87%e4%bb%b6%e8%bf%9b%e8%a1%8c%e6%89%a9%e5%ae%b9","status":"publish","type":"post","link":"https:\/\/www.youguess.site\/index.php\/2024\/01\/23\/20\/28\/38\/98\/","title":{"rendered":"\u5bf9OpenWrt\u7684\u6839\u5206\u533a\u548c\u7cfb\u7edf\u6587\u4ef6\u8fdb\u884c\u6269\u5bb9"},"content":{"rendered":"\n<p class=\"has-small-font-size\">\u7f51\u4e0a\u6709\u8bb8\u591a\u5bf9overlay\u8fdb\u884c\u6269\u5bb9\u7684\u6559\u7a0b\uff0c\u6709\u4e9b\u4e0d\u80fd\u7528\u4e86\uff0c\u6709\u4e9b\u592a\u9ebb\u70e6\u4e86\u3002\u8c37\u6b4c\u641c\u7d22\u540e\uff0c\u53d1\u73b0OpenWrt\u5b98\u65b9\u6709\u6269\u5bb9\u811a\u672c\uff0c\u7528\u811a\u672c\u76f4\u63a5\u5c31\u53ef\u4ee5\u6269\u5bb9\uff0c\u53ea\u662f\u6ca1\u4eba\u6ce8\u610f\u3002<br><\/p>\n\n\n\n<p>\u4e00\u3001\u6269\u5c55\u865a\u62df\u786c\u76d8\u7684\u78c1\u76d8\u7a7a\u95f4<\/p>\n\n\n\n<p>\u672c\u4eba\u865a\u62df\u5e73\u53f0\u4f7f\u7528\u7684\u662fHyper-V\uff0c\u7528ESXI\u7684\u5c0f\u4f19\u4f34\u4e5f\u53ef\u4ee5\u53c2\u8003\uff0c\u539f\u7406\u662f\u4e00\u6a21\u4e00\u6837\u7684\u3002<\/p>\n\n\n\n<p>\u70b9\u51fb\u865a\u62df\u673a\u91cc\u7684\u201c\u8bbe\u7f6e\u201d\uff0c\u5728\u865a\u62df\u786c\u76d8\u7684\u9009\u9879\u4e0b\u70b9\u51fb\u201c\u7f16\u8f91\u201d\uff0c\u5f39\u51fa\u4e0b\u9762\u7684\u7a97\u53e3\uff0c\u9009\u7b2c\u4e09\u4e2a\u201c\u6269\u5c55\u201d\uff0c\u5177\u4f53\u6269\u5c55\u591a\u5927\uff0c\u81ea\u5df1\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u51b3\u5b9a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"810\" src=\"https:\/\/www.youguess.site\/wp-content\/uploads\/2024\/01\/image-1024x810.png\" alt=\"\" class=\"wp-image-103\" srcset=\"https:\/\/www.youguess.site\/wp-content\/uploads\/2024\/01\/image-1024x810.png 1024w, https:\/\/www.youguess.site\/wp-content\/uploads\/2024\/01\/image-300x237.png 300w, https:\/\/www.youguess.site\/wp-content\/uploads\/2024\/01\/image-768x607.png 768w, https:\/\/www.youguess.site\/wp-content\/uploads\/2024\/01\/image-1200x949.png 1200w, https:\/\/www.youguess.site\/wp-content\/uploads\/2024\/01\/image.png 1281w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-small-font-size\">\u865a\u62df\u786c\u76d8\u6269\u5c55\u5b8c\u6210\u540e\uff0c\u5c31\u5df2\u7ecf\u6709\u4e86\u6ca1\u6709\u683c\u5f0f\u5316\u8fc7\u7684\u7a7a\u95f2\u7a7a\u95f4\uff0c\u8fd9\u65f6\u5c31\u53ef\u4ee5\u4f7f\u7528\u5b98\u65b9\u63d0\u4f9b\u7684\u6269\u5c55\u811a\u672c\u4e86\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u4e8c\u3001\u8fd0\u884c\u5b98\u65b9\u811a\u672c<\/p>\n\n\n\n<p class=\"has-small-font-size\">OpenWrt\u5b98\u65b9\u7684\u6269\u5bb9\u6559\u7a0b\u662f\u82f1\u6587\u7684\uff0c\u63d0\u4f9b\u7684\u6269\u5bb9\u811a\u672c\u5c31\u4e00\u4e2a\u4f5c\u7528\uff0c\u628a<strong>\u6ca1\u6709\u683c\u5f0f\u5316\u8fc7\u7684\u7a7a\u95f2\u7a7a\u95f4<\/strong>\uff0c\u5168\u90e8\u6269\u5bb9\u7ed9sda2\u3002\u4e0b\u9762\u8fdb\u884c\u64cd\u4f5c\uff1a<\/p>\n\n\n\n<p class=\"has-small-font-size\">\u6211\u603b\u7ed3\u4e86\u4e00\u4e0b\u5b98\u65b9\u7684\u6559\u7a0b\uff0c\u7cbe\u7b80\u4e0b\u6765\uff0c\u5c314\u53e5\u547d\u4ee4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>wget -U \"\" -O expand-root.sh \"https:\/\/openwrt.org\/_export\/code\/docs\/guide-user\/advanced\/expand_root?codeblock=0\"<\/code>\n<code>\nchmod +x .\/expand-root.sh<\/code>\n<code>\nopkg update &amp;&amp; opkg install lsblk parted losetup resize2fs<\/code>\n<code>\n.\/expand-root.sh &amp;&amp; reboot<\/code><\/code><\/pre>\n\n\n\n<p>\u6211\u89e3\u91ca\u4e00\u4e0b\u8fd94\u53e5\u547d\u4ee4\uff0c\u61c2\u7684\u4eba\u53ef\u4ee5\u8df3\u8fc7\uff1a<\/p>\n\n\n\n<p>\u7b2c\u4e00\u53e5\u662f\u4e0b\u8f7d\u811a\u672c\uff0c\u53ef\u4ee5\u770b\u89c1\u5730\u5740\u662fOpenWrt\u5b98\u65b9\u7f51\u7ad9\u7684\uff0c\u8bf4\u660e\u6211\u4e0d\u662f\u5728\u4e71\u8bf4\u54e6\uff01<\/p>\n\n\n\n<p>\u7b2c\u4e8c\u53e5\u662f\u811a\u672c\u63d0\u6743\u3002<\/p>\n\n\n\n<p>\u7b2c\u4e09\u53e5\u662f\u5b89\u88c5\u811a\u672c\u8fd0\u884c\u7684\u4f9d\u8d56\u8f6f\u4ef6\uff01<\/p>\n\n\n\n<p>\u7b2c\u56db\u53e5\u5c31\u662f\u8fd0\u884c\u6269\u5bb9\u811a\u672c\uff0c\u7136\u540e\u91cd\u542f\u751f\u6548\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u4e09\u3001\u7ed3\u5c3e<\/p>\n\n\n\n<p>\u600e\u4e48\u6837\uff0c\u5f88\u7b80\u5355\u5427\uff1f\u6211\u5728Hyper-V\u4e0a\u5df2\u7ecf\u5b9e\u9645\u6d4b\u8bd5\u8fc7\uff0c\u5b98\u65b9\u811a\u672c\u8fd8\u662f\u5f88\u597d\u7528\u7684\u3002<\/p>\n\n\n\n<p>\u53cb\u60c5\u63d0\u793a\uff1aOpenWrt\u7684\u5b98\u65b9\u56fa\u4ef6\u53ef\u4ee5\u6210\u529f\u6269\u5c55\uff0c\u5404\u79cd\u7b2c\u4e09\u65b9\u7684\u56fa\u4ef6\u6211\u6ca1\u8bd5\u8fc7\u3002<\/p>\n\n\n\n<p>\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7f51\u4e0a\u6709\u8bb8\u591a\u5bf9overlay\u8fdb\u884c\u6269\u5bb9\u7684\u6559\u7a0b\uff0c\u6709\u4e9b\u4e0d\u80fd\u7528\u4e86\uff0c\u6709\u4e9b\u592a\u9ebb\u70e6\u4e86\u3002\u8c37\u6b4c\u641c\u7d22\u540e\uff0c\u53d1\u73b0OpenWrt\u5b98\u65b9\u6709\u6269\u5bb9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-4"],"_links":{"self":[{"href":"https:\/\/www.youguess.site\/index.php\/wp-json\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.youguess.site\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.youguess.site\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.youguess.site\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.youguess.site\/index.php\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":6,"href":"https:\/\/www.youguess.site\/index.php\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":107,"href":"https:\/\/www.youguess.site\/index.php\/wp-json\/wp\/v2\/posts\/98\/revisions\/107"}],"wp:attachment":[{"href":"https:\/\/www.youguess.site\/index.php\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.youguess.site\/index.php\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.youguess.site\/index.php\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}