{"id":37,"date":"2022-06-29T09:49:07","date_gmt":"2022-06-29T01:49:07","guid":{"rendered":"http:\/\/blog.naspro.cc\/?p=37"},"modified":"2022-06-29T09:49:07","modified_gmt":"2022-06-29T01:49:07","slug":"%e5%ae%9d%e5%a1%94%e9%9d%a2%e6%9d%bf%e7%a6%81%e7%94%a8-%e5%a5%97%e4%bb%b6%e6%8e%a8%e8%8d%90%e5%ae%89%e8%a3%85%e5%bc%b9%e7%aa%97","status":"publish","type":"post","link":"http:\/\/blog.naspro.cc\/?p=37","title":{"rendered":"\u5b9d\u5854\u9762\u677f\u7981\u7528 \u5957\u4ef6\u63a8\u8350\u5b89\u88c5\u5f39\u7a97"},"content":{"rendered":"<p>\u5b9d\u5854\u9762\u677f\u6210\u529f\u5b89\u88c5\u4e4b\u540e\uff0c\u9ed8\u8ba4\u5b83\u4f1a\u63a8\u8350\u4f60\u5b89\u88c5\u5e38\u7528\u7684\u670d\u52a1\u5668\u73af\u5883\uff1b\u4f46\u4e2a\u522b\u65f6\u5019\u6211\u88c5\u5b9d\u5854\u5b8c\u5168\u662f\u4e3a\u4e86\u7ef4\u62a4\u670d\u52a1\u5668\u5176\u5b83\u4e1c\u897f\uff0c\u5e76\u4e0d\u9700\u8981\u5b89\u88c5\u8fd9\u4e9b WEB \u73af\u5883\uff0c\u5f53\u4f60\u70b9\u5b9d\u5854\u9996\u9875\u4f1a\u53cd\u590d\u63a8\u8350\u5b89\u88c5\u73af\u5883\uff0c\u8fd9\u5c31\u6709\u70b9\u70e6\u4e86\uff0c\u5f71\u54cd\u4f7f\u7528\u4f53\u9a8c\uff01<\/p>\n<p>\u5c31\u662f\u8fd9\u4e2a\u63a8\u8350\u5f39\u7a97\uff0c\u5f88\u70e6\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/blog.naspro.cc\/wp-content\/uploads\/2022\/02\/image-60779fac249243dba3651090cf080cfb.png\" alt=\"image.png\" \/><\/p>\n<p>\u7981\u7528\u529e\u6cd5\uff1a<\/p>\n<ol>\n<li>\u4fee\u6539\u6587\u4ef6\u8def\u5f84\uff1a\/www\/server\/panel\/class\/system.py<\/li>\n<li>\u641c\u7d22\u4ee3\u7801\uff1anetworkInfo['installed'] = self.CheckInstalled()<\/li>\n<li>\u66ff\u6362\u4e3a\uff1anetworkInfo['installed'] = True<\/li>\n<li>\u91cd\u542f\u9762\u677f\uff0c\u4f60\u4f1a\u53d1\u73b0\u70e6\u4eba\u7684\u5f39\u7a97\u6d88\u5931\u4e86\u3002<\/li>\n<\/ol>\n<p>\u8fd9\u79cd\u65b9\u5f0f\u5c5e\u4e8e\u5f3a\u5236\u5173\u6389\u90a3\u79cd\uff0c\u540e\u9762\u518d\u60f3\u5b89\u88c5\u53ef\u4ee5\u5230\u8f6f\u4ef6\u7ba1\u7406\u91cc\u9762\u5355\u72ec\u5b89\u88c5\u73af\u5883\uff1b\u6216\u8005\u70b9\u51fb\u53f3\u4e0a\u89d2\u4fee\u590d\uff0c\u5373\u53ef\u6062\u590d\u5f39\u7a97\uff1b\u603b\u4e4b\u5e0c\u671b\u5b9d\u5854\u540e\u9762\u80fd\u591f\u5355\u72ec\u51fa\u4e2a\u6309\u94ae\u5f00\u5173\u5427\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b9d\u5854\u9762\u677f\u6210\u529f\u5b89\u88c5\u4e4b\u540e\uff0c\u9ed8\u8ba4\u5b83\u4f1a\u63a8\u8350\u4f60\u5b89\u88c5\u5e38\u7528\u7684\u670d\u52a1\u5668\u73af\u5883\uff1b\u4f46\u4e2a\u522b\u65f6\u5019\u6211\u88c5\u5b9d\u5854\u5b8c\u5168\u662f\u4e3a\u4e86\u7ef4\u62a4\u670d\u52a1\u5668\u5176\u5b83\u4e1c\u897f\uff0c\u5e76\u4e0d\u9700\u8981\u5b89\u88c5\u8fd9\u4e9b WEB \u73af\u5883\uff0c\u5f53\u4f60\u70b9\u5b9d\u5854\u9996\u9875\u4f1a\u53cd\u590d\u63a8\u8350\u5b89\u88c5\u73af\u5883\uff0c\u8fd9\u5c31\u6709\u70b9\u70e6\u4e86\uff0c\u5f71\u54cd\u4f7f\u7528\u4f53\u9a8c\uff01 \u5c31\u662f\u8fd9\u4e2a\u63a8\u8350\u5f39\u7a97\uff0c\u5f88\u70e6\uff1a \u7981\u7528\u529e\u6cd5\uff1a \u4fee\u6539\u6587\u4ef6\u8def\u5f84\uff1a\/www\/server\/panel\/class\/system.py \u641c\u7d22\u4ee3\u7801\uff1anetworkInfo[&#8216;installed&#8217;] = self.Ch [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[24],"class_list":["post-37","post","type-post","status-publish","format-standard","hentry","category-linux","tag-24"],"_links":{"self":[{"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=\/wp\/v2\/posts\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=37"}],"version-history":[{"count":0,"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=\/wp\/v2\/posts\/37\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.naspro.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}