{"id":9927,"date":"2025-04-18T17:43:20","date_gmt":"2025-04-18T09:43:20","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/9927.html"},"modified":"2025-04-18T17:43:20","modified_gmt":"2025-04-18T09:43:20","slug":"%e3%80%90%e6%b5%aa%e6%bd%aesm5212-m4%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%87%aa%e5%8a%a8%e4%bf%ae%e6%94%b9%e9%a3%8e%e6%89%87%e8%bd%ac%e9%80%9f%e4%bb%a5%e9%99%8d%e4%bd%8e%e5%99%aa%e9%9f%b3%e3%80%91","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/9927.html","title":{"rendered":"\u3010\u6d6a\u6f6esm5212 m4\u670d\u52a1\u5668\u81ea\u52a8\u4fee\u6539\u98ce\u6247\u8f6c\u901f\u4ee5\u964d\u4f4e\u566a\u97f3\u3011"},"content":{"rendered":"<\/p>\n<h4>\u3010\u6d6a\u6f6esm5212 m4\u670d\u52a1\u5668\u81ea\u52a8\u4fee\u6539\u98ce\u6247\u8f6c\u901f\u4ee5\u964d\u4f4e\u566a\u97f3\u3011<\/h4>\n<ul>\n<li>\u524d\u8a00<\/li>\n<li>\u5f00\u59cb\u6298\u817e<\/li>\n<li>\n<ul>\n<li>\u7814\u7a76\u65b9\u6848<\/li>\n<li>\u6539\u8fdb\u65b9\u6848<\/li>\n<li>\u5f00\u59cb\u5b9e\u73b0<\/li>\n<li>\n<ul>\n<li>1\u3001BIOS\u914d\u7f6eIPMI\u63a5\u53e3\u5730\u5740<\/li>\n<li>2\u3001\u5b9e\u73b0\u670d\u52a1\u5668\u81ea\u5df1\u8bbf\u95eeBMC\u7cfb\u7edf<\/li>\n<li>3\u3001\u5b9e\u73b0python\u811a\u672c\u6765\u81ea\u52a8\u4fee\u6539\u98ce\u6247\u8f6c\u901f<\/li>\n<li>4\u3001\u628a\u8fd0\u884c\u811a\u672c\u7684\u547d\u4ee4\u52a0\u5165\u5f00\u673a\u81ea\u542f<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u9898\u5916\u8bdd<\/li>\n<\/ul>\n<h2>\u524d\u8a00<\/h2>\n<p>\u2003\u2003\u524d\u6bb5\u65f6\u95f4\u60f3\u5347\u7ea7\u4e00\u4e0b\u5bb6\u91cc\u7684 HP T610 \u7626\u5ba2\u6237\u673a\uff0c\u4f46\u662f\u7531\u4e8e\u7626\u5ba2\u6237\u673a\u672c\u8eabcpu\u710a\u6b7b\uff0c\u5185\u5b58\u6761\u4e0a\u9650\u8f83\u4f4e\u7b49\u539f\u56e0\uff0c\u65e0\u6cd5\u5347\u7ea7\uff0c\u9664\u975e\u6574\u5957\u5305\u62ec\u4e3b\u677f\u4e00\u8d77\u66f4\u6362\uff0c\u4f46\u5982\u6b64\u505a\u5c31\u7b49\u4e8e\u91cd\u65b0\u7ec4\u4e00\u5957\u65b0\u7684\u4e86\uff0c\u6240\u4ee5\u5e72\u8106\u7f51\u8d2d\u4e86\u4e00\u5957\u4e91\u5382\u5546\u6dd8\u6c70\u4e0b\u6765\u7684\u6d6a\u6f6esm5212 m4\u670d\u52a1\u5668<\/p>\n<table>\n<tr>\n   \u540d\u79f0<br \/>\n   \u53c2\u6570<br \/>\n   \u6211\u7684\u9009\u88c5<br \/>\n  <\/tr>\n<tbody>\n<tr>\n<td>\u5904\u7406\u5668<\/td>\n<td>\u652f\u6301\u4e24\u9897E5-26xx V3V4\u5904\u7406\u5668<\/td>\n<td>\u4e00\u9897E5-2680 V4\uff0814\u683828\u7ebf\u7a0b\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u5b58<\/td>\n<td>\u652f\u630116\u6839DDR4\u5185\u5b58\uff08\u5355\u6839\u6700\u9ad864G\uff09<\/td>\n<td>\u4e24\u676132G DDR4 ECC\u670d\u52a1\u5668\u5185\u5b58\u6761<\/td>\n<\/tr>\n<tr>\n<td>\u786c\u76d8<\/td>\n<td>12\u4e2a3.5\u5bf8\u786c\u76d8\u63a5\u53e3 \u652f\u6301SATA\/SAS\/SSD<\/td>\n<td>\u897f\u6570\u84dd\u76d8 1TB<\/td>\n<\/tr>\n<tr>\n<td>\u6269\u5c55\u69fd<\/td>\n<td>2\u4e2aX16 1\u4e2aX8 PCIE\u63a5\u53e3 \u534a\u9ad8\u6321\u7247<\/td>\n<td>2\u4e2aX16 1\u4e2aX8 PCIE\u63a5\u53e3 \u534a\u9ad8\u6321\u7247<\/td>\n<\/tr>\n<tr>\n<td>\u9635\u5217\u5361<\/td>\n<td>\u677f\u8f7d3008\u9635\u5217\u5361<\/td>\n<td>\u677f\u8f7d3008\u9635\u5217\u5361<\/td>\n<\/tr>\n<tr>\n<td>\u7f51\u5361<\/td>\n<td>\u677f\u8f7d\u53cc\u53e3\u5343\u5146 \/ BMC\u8fdc\u7a0b\u7ba1\u7406\u53e3\uff08IPMI\u63a5\u53e3\uff09<\/td>\n<td>\u677f\u8f7d\u53cc\u53e3\u5343\u5146 \/ BMC\u8fdc\u7a0b\u7ba1\u7406\u53e3<\/td>\n<\/tr>\n<tr>\n<td>\u7535\u6e90<\/td>\n<td>\u652f\u6301550w \u53cc\u7535\u6e90<\/td>\n<td>550w \u5355\u7535\u6e90<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8e29\u5751\uff1a \u2003\u20031\u3001\u5728\u7ec4\u88c5\u7684\u8fc7\u7a0b\u4e2d\uff0c\u7531\u4e8e\u6211\u662f\u53ea\u88c5\u4e86\u4e00\u4e2aCPU\uff0c\u6240\u4ee5\u8981\u6ce8\u610fCPU\u5b89\u88c5\u7684\u4f4d\u7f6e\uff0c\u8981\u5b89\u88c5\u5728\u7535\u6e90\u90a3\u4e00\u4fa7\uff0c\u5426\u5219\u5f00\u4e0d\u4e86\u673a \u2003\u20032\u3001\u6211\u7b2c\u4e00\u6b21\u5b89\u88c5\u4f7f\u7528\u7684\u7edf\u4fe1\u7684\u5bb6\u5ead\u7248\u955c\u50cf\uff0c\u53d1\u73b0\u5b89\u88c5\u4e86\u540e\u600e\u4e48\u4e5f\u8fdb\u4e0d\u53bb\u7cfb\u7edf\uff0c\u540e\u9762\u6362\u6210\u4e86ubuntu\u7cfb\u7edf\uff0c\u4e00\u6b21\u5c31\u6210\u529f\u4e86\uff0c\u88c5\u673a\u63a8\u8350\u5de5\u5177ventor\uff0c\u63a8\u8350\u7406\u7531\uff1a\u8f7b\u4fbf\u7b80\u6d01\u65e0\u5e7f\u544a\u5e76\u4e14\u6613\u4f7f\u7528<\/p>\n<h2>\u5f00\u59cb\u6298\u817e<\/h2>\n<h3>\u7814\u7a76\u65b9\u6848<\/h3>\n<p>\u2003\u2003\u90a3\u670d\u52a1\u5668\u4e00\u5f00\u673a\u90a3\u98ce\u6247\u58f0\u7b80\u76f4\u8ddf\u6218\u6597\u673a\u4e00\u6837\uff0c\u5f88\u662f\u5f71\u54cd\u65e5\u5e38\u751f\u6d3b\uff0c\u7528\u624b\u673a\u5206\u8d1d\u6d4b\u8bd5\u8f6f\u4ef6\u6d4b\u8bd5\u670980\u5206\u8d1d\u5de6\u53f3\uff0c\u4e8e\u662f\u6211\u5728\u5f00\u673a\u89c2\u5bdf\u4e86\u4e00\u4e0bCPU\u6e29\u5ea6\u540e\uff0c\u8bd5\u7740\u62d4\u6389\u4e86\u4e09\u4e2a\u98ce\u6247\uff08\u603b\u51714\u4e2a\u5c3c\u5f97\u79d1\u7684\u98ce\u6247\uff09\uff0c\u53ea\u4fdd\u7559\u6b63\u5bf9\u7740CPU\u7684\u98ce\u6247\uff0c\u5b9e\u6d4b\u98ce\u6247\u6e29\u5ea6\u7a33\u5b9a\u572830\u00b0\uff0c\u7531\u6b64\u53ef\u89c1\u4e00\u53f0\u98ce\u6247\u8db3\u4ee5\u538b\u5f97\u4f4f\uff0c\u8fd9\u65f6\u58f0\u97f3\u5c0f\u4e00\u4e9b\u4e86\u4f46\u4f9d\u7136\u670960\u591a\u5206\u8d1d\uff0c\u8fd8\u662f\u5f88\u5435\uff0c\u4e8e\u662f\u6211\u5c31\u5f00\u59cb\u767e\u5ea6\u89e3\u51b3\u65b9\u6848\uff0c\u7ecf\u8fc7\u4e00\u756a\u641c\u7d22\uff0c\u627e\u5230\u4e00\u4e2a\u9760\u8c31\u7684\u65b9\u6848\uff0c\u901a\u8fc7\u4e3b\u677f\u7684IPMI\u63a5\u53e3\u8bbf\u95eeBMC\u7cfb\u7edf\uff0c\u7136\u540e\u53bb\u4fee\u6539\u98ce\u6247\u7684\u8f6c\u901f\uff0c\u628a\u8f6c\u901f\u4ece100%\u6539\u621010%\uff0c\u98ce\u6247\u58f0\u97f3\u77ac\u95f4\u5c31\u4e0b\u53bb\u4e86\uff0c\u6548\u679c\u663e\u8457\uff0c\u653e\u5728\u5367\u5ba4\u90fd\u5b8c\u5168\u4e0d\u5f71\u54cd\u7761\u7720\u7684\u7a0b\u5ea6\uff0c\u4f46\u662f\u8be5\u65b9\u6848\u6709\u4e2a\u7f3a\u70b9\u5c31\u662f\u670d\u52a1\u5668\u4e0d\u80fd\u65ad\u7535\uff0c\u65ad\u7535\u540e\u5c31\u9700\u8981\u4f7f\u7528\u7b14\u8bb0\u672c\u7528\u7f51\u7ebf\u8fde\u63a5\u670d\u52a1\u5668IPMI\u63a5\u53e3\u53bb\u624b\u52a8\u4fee\u6539\u98ce\u6247\u8f6c\u901f\uff0c\u8fd9\u663e\u7136\u4e0d\u5408\u7406\u3002\u4e8e\u662f\u518d\u53bb\u767e\u5ea6\u4e00\u756a\u65e0\u679c\uff0c\u53ea\u80fd\u81ea\u5df1\u7814\u7a76\u60f3\u529e\u6cd5\u4e86\u3002<\/p>\n<h3>\u6539\u8fdb\u65b9\u6848<\/h3>\n<p>\u2003\u2003\u7ecf\u8fc7\u51a5\u601d\u82e6\u60f3\uff0c\u6211\u7a81\u7136\u7075\u5149\u4e00\u73b0\uff0c\u5982\u679c\u7528\u4e00\u6839\u7f51\u7ebf\u4e00\u7aef\u63d2\u670d\u52a1\u5668\u7f51\u53e3\uff0c\u4e00\u7aef\u63d2\u670d\u52a1\u5668IPMI\u63a5\u53e3\u662f\u5426\u53ef\u4ee5\u5b9e\u73b0\u81ea\u5df1\u63a7\u5236\u81ea\u5df1\u5462\uff1f\u8bf4\u5e72\u5c31\u5e72\uff0c\u4e00\u756a\u64cd\u4f5c\u4e0b\u53bb\u53d1\u73b0\u679c\u7136\u53ef\u4ee5\uff0c\u90a3\u4e48\u73b0\u5728\u8981\u89e3\u51b3\u7684\u95ee\u9898\u5c31\u662f\u8ba9\u670d\u52a1\u5668\u5f00\u673a\u540e\u81ea\u5df1\u53bb\u8bbf\u95eeBMC\u63a5\u53e3\uff0c\u7136\u540e\u4fee\u6539\u98ce\u6247\u8f6c\u901f\uff0c\u6211\u9a6c\u4e0a\u7528postapi\u53bb\u8bf7\u6c42\u63a5\u53e3\u6765\u8c03\u6574\u8f6c\u901f\uff0c\u603b\u5171\u4e09\u4e2a\u63a5\u53e3\uff08\u7b2c\u4e00\u6b65\u8bf7\u6c42\u767b\u5f55\u63a5\u53e3\u62ff\u5230\u6388\u6743token\uff0c\u7b2c\u4e8c\u6b65\u643a\u5e26token\u53bb\u4fee\u6539\u98ce\u6247\u8f6c\u901f\u4e3a\u53ef\u8c03\u6574\uff0c\u7b2c\u4e09\u6b65\u4fee\u6539\u98ce\u6247\u8f6c\u901f\u4e3a10%\uff09\uff0c\u6d4b\u8bd5\u4e00\u756a\u6709\u6548\u679c\uff0c\u7136\u540e\u6211\u518d\u53bb\u628a\u4e0a\u9762\u4e09\u4e2a\u6b65\u9aa4\u7528shell\u811a\u672c\u6765\u5b9e\u73b0\uff0c\u4f46\u7531\u4e8e\u4e2a\u4eba\u7684shell\u811a\u672c\u6c34\u5e73\u6709\u9650\uff0c\u5b9e\u73b0\u8d77\u6765\u5f88\u662f\u56f0\u96be\uff0c\u5361\u5728\u7b2c\u4e8c\u6b65\u641e\u4e0d\u4e0b\u53bb\uff0c\u7136\u540e\u6211\u8f6c\u6362\u601d\u8def\u6539\u7528python\uff0c\u56e0\u4e3a\u5927\u591a\u6570\u53d1\u884c\u7248linux\u7cfb\u7edf\u90fd\u662f\u9ed8\u8ba4\u5b89\u88c5\u4e86Python\u89e3\u91ca\u5668\u7684\uff0c\u4e8e\u662f\u5c31\u6709\u4e86\u4ee5\u4e0bPython\u811a\u672c\uff08\u672c\u4eba\u4e0d\u4f1aPython\uff0c\u4e0b\u9762\u4ee3\u7801\u662f\u81ea\u5df1\u73b0\u5b66\u73b0\u5199\u7684\uff0c\u6709\u4ec0\u4e48\u9519\u8bef\u6216\u9700\u8981\u4f18\u5316\u7684\u5730\u65b9\u8fd8\u8bf7\u5404\u4f4d\u4e0d\u541d\u8d50\u6559\uff09<\/p>\n<h3>\u5f00\u59cb\u5b9e\u73b0<\/h3>\n<h4>1\u3001BIOS\u914d\u7f6eIPMI\u63a5\u53e3\u5730\u5740<\/h4>\n<li>\u5f00\u673a\u6309del\u952e\u8fdb\u5165BIOS\u7cfb\u7edf<\/li>\n<li>\u9009\u62e9Server Mgmt &#8211;&gt;BMC network configuration\uff0c\u8fdb\u5165BMC\u7f51\u7edc\u914d\u7f6e\u754c\u9762 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418094317-68021eb596abf.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/li>\n<li>Get BMC Dedicated Parameters\u9009\u62e9Manual \u914d\u7f6e\u72ec\u4eabBMC\u7aef\u53e3\u7684IP <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418094317-68021eb5c6844.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/li>\n<li>Configuration Addresss source\u9009\u62e9static; \u914d\u7f6e\u4e3a\u9759\u6001\u6a21\u5f0fip\u6a21\u5f0f<\/li>\n<li>\u914d\u7f6e\u7ba1\u7406\u63a5\u53e3\u5730\u5740\uff1a<\/li>\n<table>\n<tr>\n   \u53c2\u6570<br \/>\n   \u542b\u4e49<br \/>\n   \u6211\u7684\u914d\u7f6e<br \/>\n  <\/tr>\n<tbody>\n<tr>\n<td>Station IP address<\/td>\n<td>BMC\u7684IP<\/td>\n<td>192.168.2.100<\/td>\n<\/tr>\n<tr>\n<td>Subnet mask<\/td>\n<td>\u5b50\u7f51\u63a9\u7801<\/td>\n<td>255.255.255.0<\/td>\n<\/tr>\n<tr>\n<td>Router IP address<\/td>\n<td>\u7f51\u5173<\/td>\n<td>192.168.2.1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u7f51\u5173\u8bbe\u7f6e\u5e94\u907f\u514d\u4f7f\u7528192.168.1.1\u7b49\u5730\u5740\uff0c\u56e0\u4e3a\u4f1a\u4e0e\u8def\u7531\u5668\u7f51\u5173\u51b2\u7a81<\/p>\n<li>\n<p>\u914d\u7f6eBMC(IPMI)\u7684\u7528\u6237\u548c\u5bc6\u7801 \u6d6a\u6f6e\u7684\u9ed8\u8ba4\u7528\u6237\u548c\u5bc6\u7801\u90fd\u662fadmin \u5982\u679c\u4e0d\u662f\u53ef\u4ee5\u4fee\u6539 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418094317-68021eb5dc111.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418094318-68021eb606f87.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/p>\n<\/li>\n<li>\n<p>\u4fdd\u5b58\u914d\u7f6e <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418094318-68021eb621a81.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/p>\n<\/li>\n<p>\u6ce8\u660e\uff1a\u672c\u535a\u5ba2\u4ee5\u4e0a\u65b9\u6cd5\u501f\u9274\u8fd9\u7bc7\u6587\u7ae0\u914d\u7f6e<\/p>\n<p>\u5b8c\u6210\u4e0a\u9762\u6b65\u9aa4\u5c31\u5df2\u7ecf\u53ef\u4ee5\u628a\u7b14\u8bb0\u672c\u548cIPMI\u63a5\u53e3\u7528\u7f51\u7ebf\u8fde\u63a5\u8d77\u6765\uff0c\u5373\u53ef\u901a\u8fc7\u7b14\u8bb0\u672c\u8bbf\u95eeBMC\u7ba1\u7406\u7cfb\u7edf\u4e86<\/p>\n<p>\u63d2\u5165\u7f51\u7ebf\u540e\u7ed9\u7b14\u8bb0\u672c\u6709\u7ebf\u7f51\u5361\u914d\u7f6eip\u5206\u914d\u65b9\u5f0f\u4e3a\u9759\u6001\uff0c\u8bbe\u7f6eip\u5730\u5740\u4e3a192.168.2.2,\u5b50\u7f51\u63a9\u7801255.255.255.0\uff0c\u7f51\u5173192.168.2.1\uff0c\u518d\u6253\u5f00\u6d4f\u89c8\u5668\u8bbf\u95ee192.168.2.100\u5373\u53ef\u8bbf\u95ee\u5230BMC\u7ba1\u7406\u7cfb\u7edf\uff0c\u5728\u91cc\u9762\u5c31\u53ef\u4ee5\u8bbe\u7f6e\u98ce\u6247\u8f6c\u901f\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418094318-68021eb636031.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"><\/p>\n<h4>2\u3001\u5b9e\u73b0\u670d\u52a1\u5668\u81ea\u5df1\u8bbf\u95eeBMC\u7cfb\u7edf<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418094318-68021eb6ce519.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"> \u8fde\u63a5\u914d\u7f6e\u597d\u540e\u53ef\u4ee5\u5728\u670d\u52a1\u5668\u7cfb\u7edf\u91cc\u9762\u7528\u6d4f\u89c8\u5668\u8bbf\u95eeBMC\u7ba1\u7406\u7cfb\u7edf\uff08192.168.2.100\uff09<\/p>\n<h4>3\u3001\u5b9e\u73b0python\u811a\u672c\u6765\u81ea\u52a8\u4fee\u6539\u98ce\u6247\u8f6c\u901f<\/h4>\n<p>python\u811a\u672c\u5982\u4e0b\uff1a<\/p>\n<p><span class=\"token comment\">#!\/usr\/bin\/python<\/span><br \/>\n<span class=\"token comment\"># -*- coding: UTF-8 -*-<\/span><br \/>\n<span class=\"token keyword\">import<\/span> http<span class=\"token punctuation\">.<\/span>client<br \/>\n<span class=\"token keyword\">import<\/span> re<br \/>\n<span class=\"token keyword\">import<\/span> socket<br \/>\n<span class=\"token keyword\">import<\/span> time<\/p>\n<p>dic <span class=\"token operator\">=<\/span> <span class=\"token punctuation\">{<br \/>\n   <\/span><br \/>\n    <span class=\"token string\">\\&#8217;username\\&#8217;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">\\&#8217;admin\\&#8217;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">\\&#8217;password\\&#8217;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">\\&#8217;admin\\&#8217;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">\\&#8217;ip\\&#8217;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">\\&#8217;192.168.2.100\\&#8217;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token string\">\\&#8217;speed\\&#8217;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">\\&#8217;1\\&#8217;<\/span><span class=\"token punctuation\">,<\/span>  <span class=\"token comment\"># \u9700\u8981\u8c03\u6574\u7684\u8f6c\u901f<\/span><br \/>\n    <span class=\"token string\">\\&#8217;maxConnectivityTest\\&#8217;<\/span><span class=\"token punctuation\">:<\/span><span class=\"token number\">100<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token comment\"># \u8d85\u65f6\u91cd\u8fde\u7684\u6700\u5927\u6b21\u6570<\/span><br \/>\n    <span class=\"token string\">\\&#8217;fans\\&#8217;<\/span><span class=\"token punctuation\">:<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string\">\\&#8221;0\\&#8221;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">\\&#8221;1\\&#8221;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">\\&#8221;2\\&#8221;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">\\&#8221;3\\&#8221;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">\\&#8221;4\\&#8221;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">\\&#8221;5\\&#8221;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">\\&#8221;6\\&#8221;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">\\&#8221;7\\&#8221;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token comment\"># \u9700\u8981\u8c03\u6574\u8f6c\u901f\u7684\u98ce\u6247\u7aef\u53e3 \u4e00\u51718\u4e2a\u7aef\u53e3 0~7 \uff08\u4e00\u822c\u9ed8\u8ba4\u63d2\u7684\u662f 0\uff0c2\uff0c4\uff0c6\uff09<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">print<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.7k\u6b21\uff0c\u70b9\u8d5e17\u6b21\uff0c\u6536\u85cf16\u6b21\u3002\u6d6a\u6f6e\u670d\u52a1\u5668\u98ce\u6247\u964d\u4f4e\u566a\u97f3_python \u6d6a\u6f6esm5212m4 \u98ce\u6247\u63a7\u5236 python<\/p>\n","protected":false},"author":2,"featured_media":9920,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,44],"topic":[],"class_list":["post-9927","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010\u6d6a\u6f6esm5212 m4\u670d\u52a1\u5668\u81ea\u52a8\u4fee\u6539\u98ce\u6247\u8f6c\u901f\u4ee5\u964d\u4f4e\u566a\u97f3\u3011 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/9927.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u6d6a\u6f6esm5212 m4\u670d\u52a1\u5668\u81ea\u52a8\u4fee\u6539\u98ce\u6247\u8f6c\u901f\u4ee5\u964d\u4f4e\u566a\u97f3\u3011 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.7k\u6b21\uff0c\u70b9\u8d5e17\u6b21\uff0c\u6536\u85cf16\u6b21\u3002\u6d6a\u6f6e\u670d\u52a1\u5668\u98ce\u6247\u964d\u4f4e\u566a\u97f3_python \u6d6a\u6f6esm5212m4 \u98ce\u6247\u63a7\u5236 python\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/9927.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T09:43:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418094317-68021eb596abf.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/9927.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/9927.html\",\"name\":\"\u3010\u6d6a\u6f6esm5212 m4\u670d\u52a1\u5668\u81ea\u52a8\u4fee\u6539\u98ce\u6247\u8f6c\u901f\u4ee5\u964d\u4f4e\u566a\u97f3\u3011 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T09:43:20+00:00\",\"dateModified\":\"2025-04-18T09:43:20+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/9927.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/9927.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/9927.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010\u6d6a\u6f6esm5212 m4\u670d\u52a1\u5668\u81ea\u52a8\u4fee\u6539\u98ce\u6247\u8f6c\u901f\u4ee5\u964d\u4f4e\u566a\u97f3\u3011\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010\u6d6a\u6f6esm5212 m4\u670d\u52a1\u5668\u81ea\u52a8\u4fee\u6539\u98ce\u6247\u8f6c\u901f\u4ee5\u964d\u4f4e\u566a\u97f3\u3011 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/9927.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010\u6d6a\u6f6esm5212 m4\u670d\u52a1\u5668\u81ea\u52a8\u4fee\u6539\u98ce\u6247\u8f6c\u901f\u4ee5\u964d\u4f4e\u566a\u97f3\u3011 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.7k\u6b21\uff0c\u70b9\u8d5e17\u6b21\uff0c\u6536\u85cf16\u6b21\u3002\u6d6a\u6f6e\u670d\u52a1\u5668\u98ce\u6247\u964d\u4f4e\u566a\u97f3_python \u6d6a\u6f6esm5212m4 \u98ce\u6247\u63a7\u5236 python","og_url":"https:\/\/www.wsisp.com\/helps\/9927.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T09:43:20+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418094317-68021eb596abf.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/9927.html","url":"https:\/\/www.wsisp.com\/helps\/9927.html","name":"\u3010\u6d6a\u6f6esm5212 m4\u670d\u52a1\u5668\u81ea\u52a8\u4fee\u6539\u98ce\u6247\u8f6c\u901f\u4ee5\u964d\u4f4e\u566a\u97f3\u3011 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T09:43:20+00:00","dateModified":"2025-04-18T09:43:20+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/9927.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/9927.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/9927.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010\u6d6a\u6f6esm5212 m4\u670d\u52a1\u5668\u81ea\u52a8\u4fee\u6539\u98ce\u6247\u8f6c\u901f\u4ee5\u964d\u4f4e\u566a\u97f3\u3011"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/9927","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=9927"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/9927\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/9920"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=9927"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=9927"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=9927"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=9927"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}