{"id":52136,"date":"2025-08-11T10:37:02","date_gmt":"2025-08-11T02:37:02","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/52136.html"},"modified":"2025-08-11T10:37:02","modified_gmt":"2025-08-11T02:37:02","slug":"openai-%e6%9c%80%e6%96%b0%e5%bc%80%e6%ba%90%e6%a8%a1%e5%9e%8b-gpt-oss-windows-ollama-ubuntu%e6%9c%ac%e5%9c%b0%e9%83%a8%e7%bd%b2%e8%af%a6%e7%bb%86%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/52136.html","title":{"rendered":"OpenAI \u6700\u65b0\u5f00\u6e90\u6a21\u578b gpt-oss (Windows + Ollama\/ubuntu)\u672c\u5730\u90e8\u7f72\u8be6\u7ec6\u6559\u7a0b"},"content":{"rendered":"<p>OpenAI \u6700\u8fd1\u53d1\u5e03\u4e86\u5176\u9996\u4e2a\u5f00\u6e90\u7684\u5f00\u653e\u6743\u91cd\u6a21\u578bgpt-oss&#xff0c;\u8fd9\u5728AI\u5708\u5f15\u8d77\u4e86\u5de8\u5927\u7684\u8f70\u52a8\u3002\u5bf9\u4e8e\u5e7f\u5927\u5f00\u53d1\u8005\u548cAI\u7231\u597d\u8005\u6765\u8bf4&#xff0c;\u8fd9\u610f\u5473\u7740\u6211\u4eec\u7ec8\u4e8e\u53ef\u4ee5\u5728\u81ea\u5df1\u7684\u673a\u5668\u4e0a&#xff0c;\u5b8c\u5168\u672c\u5730\u5316\u5730\u8fd0\u884c\u548c\u63a2\u7d22\u8fd9\u6b3e\u5f3a\u5927\u7684\u6a21\u578b\u4e86\u3002<\/p>\n<p>\u672c\u6559\u7a0b\u5c06\u4e00\u6b65\u4e00\u6b65\u6307\u5bfc\u4f60\u5982\u4f55\u5728Windows\u7cfb\u7edf\u4e0a&#xff0c;\u501f\u52a9\u6781\u5176\u4fbf\u6377\u7684\u672c\u5730\u5927\u6a21\u578b\u8fd0\u884c\u6846\u67b6Ollama&#xff0c;\u8f7b\u677e\u90e8\u7f72\u548c\u4f7f\u7528 gpt-oss \u6a21\u578b\u3002<\/p>\n<p>\u4f5c\u8005&#xff1a;IvanCodes \u65e5\u671f&#xff1a;2025\u5e748\u67088\u65e5 \u4e13\u680f&#xff1a;\u5f00\u6e90\u6a21\u578b<\/p>\n<h3><font color=\"red\">\u4e00\u3001\u51c6\u5907\u5de5\u4f5c&#xff1a;\u7cfb\u7edf\u914d\u7f6e\u4e0e\u6027\u80fd\u9884\u671f<\/font><\/h3>\n<p>\u5728\u5f00\u59cb\u4e4b\u524d&#xff0c;<font color=\"purple\">\u4e86\u89e3<\/font>\u8fd0\u884c\u73af\u5883<font color=\"teal\">\u975e\u5e38\u91cd\u8981<\/font>\u3002\u672c\u6b21\u90e8\u7f72<font color=\"brown\">\u5c06\u5728\u6211<\/font>\u7684<font color=\"darkgreen\">\u4e2a\u4eba\u7535\u8111<\/font>\u4e0a\u8fdb\u884c&#xff0c;\u4e0b\u9762\u662f\u63a8\u8350\u914d\u7f6e&#xff1a;<\/p>\n<ul>\n<li>CPU: \u73b0\u4ee3\u591a\u6838 CPU&#xff0c;\u5982 Intel Core i7 \u6216 AMD Ryzen 7 \u7cfb\u5217<\/li>\n<li>\u5185\u5b58 (RAM): 32 GB \u6216\u66f4\u591a<\/li>\n<li>\u663e\u5361 (GPU): \u5f3a\u70c8\u63a8\u8350 NVIDIA GeForce RTX 4090 (24 GB \u663e\u5b58)\u3002\u8fd9\u662f\u786e\u4fdd\u5927\u578b\u6a21\u578b\u6d41\u7545\u8fd0\u884c\u4e0e\u9ad8\u6548\u5fae\u8c03\u7684\u7406\u60f3\u9009\u62e9\u3002<\/li>\n<li>\u64cd\u4f5c\u7cfb\u7edf: Linux \u6216 Windows 11<\/li>\n<li>Python \u7248\u672c: \u63a8\u8350 3.12<\/li>\n<\/ul>\n<p><font color=\"darkred\">\u6027\u80fd\u9884\u671f<\/font>&#xff1a; \u5728\u8fd9\u5957\u914d\u7f6e\u4e0b&#xff0c;\u8fd0\u884c gpt-oss-20b \u8fd9\u6837<font color=\"navy\">\u4e2d\u7b49\u89c4\u6a21<\/font>\u7684\u6a21\u578b&#xff0c;<font color=\"olive\">\u54cd\u5e94\u901f\u5ea6<\/font>\u4f1a<font color=\"darkcyan\">\u6bd4\u8f83\u6162<\/font>&#xff0c;<font color=\"saddlebrown\">\u751f\u6210<\/font>\u4e00\u6bb5<font color=\"darkmagenta\">\u8f83\u957f\u6587\u672c<\/font>\u53ef\u80fd\u9700\u8981<font color=\"firebrick\">\u51e0\u5341\u79d2\u751a\u81f3\u66f4\u4e45<\/font>\u3002\u4f46\u8fd9<font color=\"darkslategray\">\u5b8c\u5168\u53ef\u7528<\/font>\u4e8e<font color=\"indigo\">\u529f\u80fd\u6d4b\u8bd5\u3001\u5b66\u4e60\u548c\u8f7b\u5ea6<\/font>\u4f7f\u7528\u3002\u5982\u679c\u4f60\u7684<font color=\"blue\">\u663e\u5361\u6027\u80fd\u66f4\u5f3a<\/font> (\u5982RTX 5090, 4090)&#xff0c;<font color=\"red\">\u4f53\u9a8c\u4f1a<\/font>\u6d41\u7545\u5f88\u591a\u3002\u5f53\u7136\u6211\u81ea\u5df1\u7535\u8111\u7684\u6027\u80fd\u8981\u5dee\u70b9<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811023635-68995733ab06f.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3><font color=\"darkred\">\u4e8c\u3001\u4e86\u89e3 gpt-oss \u6a21\u578b<\/font><\/h3>\n<p>gpt-oss \u662f OpenAI \u53d1\u5e03\u7684<font color=\"green\">\u5f00\u653e\u6743\u91cd<\/font>\u8bed\u8a00\u6a21\u578b&#xff0c;\u622a\u6b62\u52302025\u5e748\u67088\u65e5&#xff0c;\u63d0\u4f9b\u4e86 gpt-oss-120b \u548c gpt-oss-20b \u4e24\u4e2a\u7248\u672c\u3002\u5b83<font color=\"orange\">\u65e8\u5728\u652f\u6301<\/font>\u5f00\u53d1\u8005<font color=\"purple\">\u5728\u5404\u79cd\u786c\u4ef6<\/font>\u4e0a\u8fdb\u884c<font color=\"teal\">\u7814\u7a76\u548c\u521b\u65b0<\/font>\u3002<\/p>\n<p>\u5b98\u65b9 GitHub \u4ed3\u5e93: https:\/\/github.com\/openai\/gpt-oss<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811023637-68995735ce6b3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3><font color=\"darkslategray\">\u4e09\u3001\u5b89\u88c5 Ollama&#xff1a;\u672c\u5730\u90e8\u7f72\u7684\u795e\u5668<\/font><\/h3>\n<p>Ollama \u662f\u4e00\u4e2a<font color=\"firebrick\">\u5f00\u6e90\u6846\u67b6<\/font>&#xff0c;\u5b83<font color=\"indigo\">\u6781\u5927\u5730\u7b80\u5316<\/font>\u4e86\u5728<font color=\"blue\">\u672c\u5730\u8fd0\u884c<\/font> Llama, Mistral, Gemma \u4ee5\u53ca<font color=\"red\">\u73b0\u5728 gpt-oss<\/font> \u7b49<font color=\"green\">\u5927\u6a21\u578b<\/font>\u7684<font color=\"orange\">\u8fc7\u7a0b<\/font>\u3002<\/p>\n<h4>1. \u8bbf\u95ee Ollama \u5b98\u7f51\u5e76\u4e0b\u8f7d<\/h4>\n<p>\u6253\u5f00\u6d4f\u89c8\u5668&#xff0c;\u8bbf\u95ee Ollama \u5b98\u7f51\u3002\u4f60\u4f1a\u770b\u5230\u4e00\u4e2a<font color=\"purple\">\u7b80\u6d01\u7684\u754c\u9762<\/font>&#xff0c;\u9080\u8bf7\u4f60<font color=\"teal\">\u4e0e\u5f00\u6e90\u6a21\u578b<\/font>\u4e00\u8d77<font color=\"brown\">\u5bf9\u8bdd\u548c\u6784\u5efa<\/font>\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811023641-6899573901466.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u70b9\u51fb \u201cDownload\u201d \u6309\u94ae\u540e&#xff0c;\u9875\u9762\u4f1a<font color=\"darkgreen\">\u81ea\u52a8\u8df3\u8f6c<\/font>\u5230<font color=\"darkred\">\u4e0b\u8f7d\u9009\u62e9<\/font>\u9875\u9762\u3002<\/p>\n<h4>2. \u9009\u62e9\u64cd\u4f5c\u7cfb\u7edf<\/h4>\n<p>Ollama \u652f\u6301 macOS, Linux \u548c Windows\u3002\u6211\u4eec<font color=\"navy\">\u9009\u62e9 Windows<\/font>\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811023643-6899573be8a6c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>3. \u5b89\u88c5 Ollama<\/h4>\n<p>\u4e0b\u8f7d\u5b8c\u6210\u540e&#xff0c;<font color=\"olive\">\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f<\/font>\u3002\u5b89\u88c5\u8fc7\u7a0b<font color=\"darkcyan\">\u975e\u5e38\u7b80\u5355<\/font>&#xff0c;\u57fa\u672c\u5c31\u662f<font color=\"saddlebrown\">\u4e00\u8def\u201c\u4e0b\u4e00\u6b65\u201d<\/font>\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811023647-6899573f59298.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;Ollama \u4f1a\u5728\u4f60\u7684<font color=\"darkmagenta\">\u7cfb\u7edf\u6258\u76d8<\/font>\u4e2d<font color=\"firebrick\">\u4ee5\u540e\u53f0\u670d\u52a1<\/font>\u7684\u5f62\u5f0f\u8fd0\u884c\u3002<\/p>\n<h3><font color=\"blue\">\u56db\u3001\u62c9\u53d6\u5e76\u8fd0\u884c gpt-oss \u6a21\u578b<\/font><\/h3>\n<p>Ollama \u7684<font color=\"darkslategray\">\u547d\u4ee4\u884c\u64cd\u4f5c<\/font>\u4e0e Docker <font color=\"indigo\">\u975e\u5e38\u76f8\u4f3c<\/font>&#xff0c;\u4e3b\u8981\u4f7f\u7528 pull \u548c run \u547d\u4ee4\u3002<\/p>\n<h4>1. \u6253\u5f00\u7ec8\u7aef<\/h4>\n<p>\u6253\u5f00\u4f60\u7684<font color=\"blue\">Windows PowerShell<\/font> \u6216<font color=\"red\">\u547d\u4ee4\u63d0\u793a\u7b26 (CMD)<\/font>\u3002<\/p>\n<h4>2. \u62c9\u53d6 (Pull) \u6a21\u578b<\/h4>\n<p>gpt-oss \u6709\u591a\u4e2a\u7248\u672c&#xff0c;\u6211\u4eec\u8fd9\u91cc\u4ee5<font color=\"green\">\u5bf9\u786c\u4ef6\u8981\u6c42\u7a0d\u4f4e<\/font>\u7684 20b \u7248\u672c\u4e3a\u4f8b\u3002\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>ollama pull gpt-oss:20b<\/p>\n<p>\u8fd9\u4e2a\u8fc7\u7a0b\u4f1a<font color=\"orange\">\u4e0b\u8f7d\u6a21\u578b\u6587\u4ef6<\/font>&#xff0c;\u6839\u636e\u4f60\u7684<font color=\"purple\">\u7f51\u7edc\u901f\u5ea6<\/font>&#xff0c;\u53ef\u80fd\u9700\u8981<font color=\"teal\">\u4e00\u4e9b\u65f6\u95f4<\/font>\u3002<\/p>\n<h4>3. \u8fd0\u884c (Run) \u6a21\u578b<\/h4>\n<p>\u4e0b\u8f7d\u5b8c\u6210\u540e&#xff0c;<font color=\"brown\">\u8fd0\u884c\u6a21\u578b<\/font>\u8fdb\u884c\u4ea4\u4e92&#xff1a;<\/p>\n<p>ollama run gpt-oss:20b<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811023648-689957406fa60.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3><font color=\"darkcyan\">\u4e94\u3001\u4e0e gpt-oss \u6a21\u578b\u4ea4\u4e92<\/font><\/h3>\n<h4><font color=\"saddlebrown\">1. \u57fa\u7840\u5bf9\u8bdd<\/font><\/h4>\n<p>\u8fd0\u884c ollama run \u547d\u4ee4\u540e&#xff0c;\u4f60\u5c31\u53ef\u4ee5<font color=\"darkgreen\">\u76f4\u63a5\u5728\u7ec8\u7aef<\/font>\u4e2d<font color=\"darkred\">\u8f93\u5165\u95ee\u9898<\/font>\u5e76\u4e0e\u6a21\u578b\u5bf9\u8bdd\u4e86\u3002\u6211\u4eec\u6765\u95ee\u4e00\u4e2a<font color=\"navy\">\u7ecf\u5178\u95ee\u9898<\/font>&#xff1a;\u201c\u4f60\u662f\u8c01&#xff1f;\u201d <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811023650-689957426575b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u6ce8\u610f&#xff1a;\u6a21\u578b\u7684\u56de\u7b54\u4e2d\u63d0\u5230\u4e86 \u201cChatGPT\u201d&#xff0c;\u8fd9\u53ef\u80fd\u662f\u56e0\u4e3a gpt-oss \u7684<font color=\"olive\">\u8bad\u7ec3\u6570\u636e<\/font>\u6216<font color=\"darkcyan\">\u57fa\u7840\u67b6\u6784<\/font>\u4e0eChatGPT<font color=\"saddlebrown\">\u6709\u5f88\u6df1<\/font>\u7684\u6e0a\u6e90\u3002<\/p>\n<h4><font color=\"saddlebrown\">2.\u4f7f\u7528 Ollama \u684c\u9762\u5e94\u7528 GUI<\/font><\/h4>\n<p>\u9664\u4e86\u547d\u4ee4\u884c&#xff0c;Ollama \u4e5f\u63d0\u4f9b\u4e86\u4e00\u4e2a<font color=\"darkmagenta\">\u7b80\u6d01\u7684\u684c\u9762\u5e94\u7528<\/font><\/p>\n<ul>\n<li>\u5b89\u88c5Ollama\u540e&#xff0c;\u5b83\u901a\u5e38\u4f1a<font color=\"firebrick\">\u81ea\u52a8\u542f\u52a8<\/font>\u3002<\/li>\n<li>\u4f60\u53ef\u4ee5\u5728<font color=\"darkslategray\">\u4e3b\u754c\u9762<\/font>\u7684<font color=\"indigo\">\u4e0b\u62c9\u83dc\u5355<\/font>\u4e2d&#xff0c;<font color=\"blue\">\u9009\u62e9<\/font>\u4f60\u5df2\u7ecf pull \u4e0b\u6765\u7684\u6a21\u578b (\u5982 gpt-oss:20b)&#xff0c;\u7136\u540e<font color=\"red\">\u76f4\u63a5\u5f00\u59cb<\/font>\u5bf9\u8bdd\u3002<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811023651-6899574346d4f.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811023651-68995743bf3db.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4><font color=\"saddlebrown\">3.\u521b\u5efa\u4f60\u7684 Ollama Hub \u4e2a\u4eba\u8d44\u6599<\/font><\/h4>\n<p>\u767b\u5f55 Ollama \u5b98\u7f51\u540e&#xff0c;\u4f60\u53ef\u4ee5<font color=\"darkslategray\">\u521b\u5efa\u5e76\u7f16\u8f91<\/font>\u4f60\u7684<font color=\"indigo\">\u4e2a\u4eba\u8d44\u6599<\/font>\u3002\u8fd9\u662f<font color=\"blue\">\u5206\u4eab<\/font>\u4f60<font color=\"red\">\u81ea\u5b9a\u4e49\u7684\u6a21\u578b<\/font> (Modelfiles) \u548c<font color=\"green\">\u53c2\u4e0e\u793e\u533a<\/font>\u7684<font color=\"orange\">\u7b2c\u4e00\u6b65<\/font>\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811023652-68995744a1dda.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>4. \u4ee3\u7801\u751f\u6210 gpt-oss \u7684<font color=\"darkmagenta\">\u4ee3\u7801\u80fd\u529b<\/font>\u8fd8\u53ef\u4ee5\u3002\u6211\u4eec\u53ef\u4ee5\u8ba9\u5b83<font color=\"firebrick\">\u5c1d\u8bd5\u5199\u4e00\u4e2apygame<\/font>\u6e38\u620f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811023654-689957463b355.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811023656-6899574853ffe.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>3. <font color=\"darkslategray\">\u8054\u7f51\u641c\u7d22\u529f\u80fd<\/font> \u4e00\u4e2a<font color=\"indigo\">\u4ee4\u4eba\u60ca\u559c<\/font>\u7684\u529f\u80fd\u662f&#xff0c;gpt-oss \u5728 Ollama \u4e2d<font color=\"blue\">\u53ef\u4ee5\u8054\u7f51<\/font>&#xff01;\u4f46\u8fd9\u9700\u8981\u4f60<font color=\"red\">\u5148\u5728 Ollama Hub \u4e0a<\/font>\u521b\u5efa\u5e76<font color=\"green\">\u767b\u5f55<\/font>\u4f60\u7684\u8d26\u6237\u3002<\/p>\n<p>\u767b\u5f55\u540e&#xff0c;\u5f53\u4f60<font color=\"darkgreen\">\u63d0\u51fa\u4e00\u4e2a<\/font>\u9700\u8981<font color=\"darkred\">\u5b9e\u65f6\u4fe1\u606f<\/font>\u7684\u95ee\u9898\u65f6&#xff0c;\u6a21\u578b\u4f1a<font color=\"navy\">\u81ea\u52a8\u89e6\u53d1<\/font>\u641c\u7d22\u529f\u80fd\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811023657-689957498174b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3><font color=\"green\">\u516d\u3001\u5728 Ubuntu\u4e0a\u90e8\u7f72\u53ca\u4f7f\u7528 Web \u5ba2\u6237\u7aef<\/font><\/h3>\n<p>\u5bf9\u4e8eLinux\u7528\u6237&#xff0c;\u7279\u522b\u662f<font color=\"orange\">\u4f5c\u4e3a\u670d\u52a1\u5668<\/font>\u4f7f\u7528\u65f6&#xff0c;<font color=\"purple\">\u547d\u4ee4\u884c<\/font>\u662f\u57fa\u7840&#xff0c;\u4f46<font color=\"teal\">\u642d\u5efa\u4e00\u4e2a<\/font>\u529f\u80fd\u5f3a\u5927\u7684<font color=\"brown\">Web\u754c\u9762<\/font>\u80fd\u63d0\u4f9b<font color=\"darkgreen\">\u66f4\u597d\u7684\u4f53\u9a8c<\/font>\u3002<\/p>\n<h4>1. \u5728 Ubuntu \u4e0a\u5b89\u88c5 Ollama<\/h4>\n<p>\u5728Ubuntu\u4e0a\u5b89\u88c5Ollama<font color=\"darkred\">\u6781\u5176\u7b80\u5355<\/font>&#xff0c;\u5b98\u65b9\u63d0\u4f9b\u4e86<font color=\"navy\">\u4e00\u952e\u5b89\u88c5\u811a\u672c<\/font>\u3002\u6253\u5f00\u4f60\u7684\u7ec8\u7aef&#xff0c;\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p><span class=\"token function\">curl<\/span> -fsSL https:\/\/ollama.com\/install.sh <span class=\"token operator\">|<\/span> <span class=\"token function\">sh<\/span><\/p>\n<p>\u811a\u672c\u4f1a<font color=\"olive\">\u81ea\u52a8\u4e0b\u8f7d<\/font>Ollama\u4e8c\u8fdb\u5236\u6587\u4ef6&#xff0c;\u5e76\u5c06\u5176<font color=\"darkcyan\">\u8bbe\u7f6e\u4e3a<\/font>\u4e00\u4e2a systemd <font color=\"saddlebrown\">\u540e\u53f0\u670d\u52a1<\/font>\u3002\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;Ollama\u670d\u52a1<font color=\"darkmagenta\">\u4f1a\u81ea\u52a8\u542f\u52a8<\/font>\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7 systemctl status ollama <font color=\"firebrick\">\u9a8c\u8bc1<\/font>\u5176\u8fd0\u884c\u72b6\u6001\u3002<\/p>\n<h4>2. \u62c9\u53d6\u5e76\u8fd0\u884c\u6a21\u578b (\u547d\u4ee4\u884c)<\/h4>\n<p><font color=\"darkslategray\">\u4e0eWindows\u5b8c\u5168\u76f8\u540c<\/font>&#xff0c;\u5728Ubuntu\u7ec8\u7aef\u4e2d\u6267\u884c&#xff1a;<\/p>\n<p>ollama pull gpt-oss:20b<br \/>\nollama run gpt-oss:20b<\/p>\n<h4>3. \u642d\u5efaWeb\u5ba2\u6237\u7aef&#xff1a;Open WebUI<\/h4>\n<p>Open WebUI \u662f\u4e00\u4e2a<font color=\"indigo\">\u975e\u5e38\u6d41\u884c<\/font>\u7684\u3001\u4e0eOllama<font color=\"blue\">\u5b8c\u7f8e\u517c\u5bb9<\/font>\u7684<font color=\"red\">\u5f00\u6e90Web\u5ba2\u6237\u7aef<\/font>\u3002<\/p>\n<p>a. \u5b89\u88c5 Docker Open WebUI <font color=\"green\">\u6700\u7b80\u5355<\/font>\u7684\u90e8\u7f72\u65b9\u5f0f\u662f<font color=\"orange\">\u4f7f\u7528Docker<\/font>\u3002\u5982\u679c\u4f60\u7684\u7cfb\u7edf\u5c1a\u672a\u5b89\u88c5Docker&#xff0c;\u8bf7\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">apt-get<\/span> update<br \/>\n<span class=\"token function\">apt-get<\/span> <span class=\"token function\">install<\/span> -y docker.io<br \/>\n<span class=\"token comment\"># \u542f\u52a8\u5e76\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f<\/span><br \/>\nsystemctl start docker<br \/>\nsystemctl <span class=\"token builtin class-name\">enable<\/span> docker<\/p>\n<p>b. \u8fd0\u884c Open WebUI \u5bb9\u5668 \u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765<font color=\"purple\">\u4e0b\u8f7d\u5e76\u8fd0\u884c<\/font> Open WebUI \u5bb9\u5668&#xff1a;<\/p>\n<p>docker run -d &#8211;network<span class=\"token operator\">&#061;<\/span>host -v open-webui:\/app\/backend\/data &#8211;name open-webui &#8211;restart always ghcr.io\/open-webui\/open-webui:main<\/p>\n<p>\u547d\u4ee4\u89e3\u6790&#xff1a;<\/p>\n<ul>\n<li>-d: <font color=\"teal\">\u540e\u53f0\u8fd0\u884c<\/font>\u5bb9\u5668\u3002<\/li>\n<li>&#8211;network&#061;host: <font color=\"brown\">\u8ba9\u5bb9\u5668\u5171\u4eab<\/font>\u4e3b\u673a\u7684\u7f51\u7edc&#xff0c;\u8fd9\u6837WebUI<font color=\"darkgreen\">\u53ef\u4ee5\u8f7b\u677e<\/font>\u8bbf\u95ee\u5728\u672c\u673a 11434 \u7aef\u53e3\u8fd0\u884c\u7684Ollama\u670d\u52a1\u3002<\/li>\n<li>-v open-webui:\/app\/backend\/data: <font color=\"darkred\">\u6302\u8f7d\u4e00\u4e2a<\/font>\u6570\u636e\u5377&#xff0c;\u7528\u4e8e<font color=\"navy\">\u6301\u4e45\u5316<\/font>WebUI\u7684\u7528\u6237\u6570\u636e\u548c\u914d\u7f6e\u3002<\/li>\n<li>&#8211;name open-webui: \u7ed9\u5bb9\u5668<font color=\"olive\">\u547d\u540d<\/font>\u3002<\/li>\n<li>&#8211;restart always: \u786e\u4fddDocker\u670d\u52a1<font color=\"darkcyan\">\u91cd\u542f\u65f6<\/font>&#xff0c;\u8be5\u5bb9\u5668\u4e5f<font color=\"saddlebrown\">\u4f1a\u81ea\u52a8\u542f\u52a8<\/font>\u3002<\/li>\n<\/ul>\n<p>c. \u8bbf\u95ee\u5e76\u4f7f\u7528 Open WebUI<\/p>\n<ul>\n<li>\u5728\u4f60\u7684<font color=\"darkmagenta\">\u6d4f\u89c8\u5668<\/font>\u4e2d&#xff0c;\u8bbf\u95ee http:\/\/&lt;\u4f60\u7684Ubuntu\u670d\u52a1\u5668IP&gt;:8080 (Open WebUI \u9ed8\u8ba4\u4f7f\u75288080\u7aef\u53e3)\u3002<\/li>\n<li><font color=\"firebrick\">\u9996\u6b21\u8bbf\u95ee<\/font>\u65f6&#xff0c;\u4f60\u9700\u8981<font color=\"darkslategray\">\u6ce8\u518c\u4e00\u4e2a\u7ba1\u7406\u5458<\/font>\u8d26\u6237\u3002<\/li>\n<li><font color=\"indigo\">\u767b\u5f55\u540e<\/font>&#xff0c;\u4f60\u5c31\u53ef\u4ee5\u5728<font color=\"blue\">\u754c\u9762\u4e0a\u9009\u62e9<\/font>\u5df2\u7ecf\u62c9\u53d6\u5230\u672c\u5730\u7684 gpt-oss:20b \u6a21\u578b&#xff0c;\u5e76<font color=\"red\">\u5f00\u59cb\u5bf9\u8bdd<\/font>\u4e86&#xff01;<\/li>\n<\/ul>\n<h3><font color=\"darkblue\">\u603b\u7ed3<\/font><\/h3>\n<p>\u901a\u8fc7\u672c\u6559\u7a0b&#xff0c;\u6211\u4eec<font color=\"navy\">\u6210\u529f\u5730<\/font>\u5728<font color=\"olive\">\u4e00\u53f0\u666e\u901a<\/font>\u7684Windows\u7535\u8111\u4e0a&#xff0c;\u4f7f\u7528 <font color=\"darkcyan\">Ollama<\/font> <font color=\"saddlebrown\">\u8f7b\u677e\u90e8\u7f72<\/font>\u4e86OpenAI\u7684<font color=\"darkmagenta\">gpt-oss\u6a21\u578b<\/font>\u3002\u540c\u65f6&#xff0c;\u6211\u4eec\u4e5f<font color=\"firebrick\">\u5b66\u4e60\u4e86<\/font>\u5982\u4f55\u5728<font color=\"darkslategray\">Ubuntu\u73af\u5883<\/font>\u4e0b\u5b8c\u6210<font color=\"indigo\">\u540c\u6837\u7684\u90e8\u7f72<\/font>&#xff0c;\u5e76<font color=\"blue\">\u989d\u5916\u642d\u5efa\u4e86<\/font>\u4e00\u4e2a<font color=\"red\">\u529f\u80fd\u5f3a\u5927<\/font>\u7684 Open WebUI \u5ba2\u6237\u7aef\u3002\u6211\u4eec<font color=\"green\">\u4f53\u9a8c\u4e86<\/font>\u5b83\u7684<font color=\"orange\">\u57fa\u7840\u5bf9\u8bdd<\/font>\u3001<font color=\"purple\">\u4ee3\u7801\u751f\u6210<\/font>\u4e43\u81f3<font color=\"teal\">\u8054\u7f51\u641c\u7d22<\/font>\u7b49<font color=\"brown\">\u5f3a\u5927\u529f\u80fd<\/font>\u3002\u867d\u7136\u5728<font color=\"darkgreen\">\u4e2d\u7aef\u786c\u4ef6<\/font>\u4e0a<font color=\"darkred\">\u6027\u80fd\u6709\u9650<\/font>&#xff0c;\u4f46\u8fd9<font color=\"navy\">\u65e0\u7591\u4e3a<\/font>\u5e7f\u5927AI\u7231\u597d\u8005\u548c\u5f00\u53d1\u8005<font color=\"olive\">\u6253\u5f00\u4e86<\/font>\u4e00\u6247<font color=\"darkcyan\">\u63a2\u7d22\u524d\u6cbf<\/font>\u5927\u6a21\u578b\u7684<font color=\"saddlebrown\">\u5927\u95e8<\/font>\u3002<\/p>\n<hr \/>\n<h3><font color=\"darkblue\">Q&amp;A \u95ee\u7b54\u73af\u8282<\/font><\/h3>\n<p>1. \u95ee&#xff1a;\u4e3a\u4ec0\u4e48\u6a21\u578b\u5728\u6211\u7535\u8111\u4e0a\u8fd0\u884c\u8fd9\u4e48\u6162&#xff1f; \u7b54&#xff1a; \u6a21\u578b\u8fd0\u884c\u901f\u5ea6<font color=\"darkmagenta\">\u4e3b\u8981\u53d6\u51b3<\/font>\u4e8e<font color=\"firebrick\">GPU\u6027\u80fd\u548c\u663e\u5b58<\/font>\u3002gpt-oss-20b \u662f\u4e00\u4e2a\u6709200\u4ebf\u53c2\u6570\u7684\u6a21\u578b&#xff0c;<font color=\"darkslategray\">\u5bf9\u8d44\u6e90\u8981\u6c42\u8f83\u9ad8<\/font>\u3002\u5728RTX 3050\u8fd9\u6837\u7684<font color=\"indigo\">\u5165\u95e8\u7ea7\/\u4e2d\u7aef<\/font>\u663e\u5361\u4e0a&#xff0c;<font color=\"blue\">\u63a8\u7406\u901f\u5ea6<\/font>\u81ea\u7136\u4f1a\u6bd4\u8f83\u6162\u3002Ollama\u4f1a\u81ea\u52a8<font color=\"red\">\u5229\u7528\u4f60\u7684GPU<\/font>&#xff0c;\u4f46\u5982\u679c<font color=\"green\">\u663e\u5b58\u4e0d\u8db3<\/font>&#xff0c;\u90e8\u5206\u6a21\u578b\u5c42\u4f1a<font color=\"orange\">\u52a0\u8f7d\u5230CPU\u548c\u5185\u5b58<\/font>\u4e2d&#xff0c;<font color=\"purple\">\u8fdb\u4e00\u6b65<\/font>\u62d6\u6162\u901f\u5ea6\u3002<\/p>\n<p>2. \u95ee&#xff1a;\u9664\u4e86gpt-oss&#xff0c;\u6211\u8fd8\u80fd\u7528Ollama\u8fd0\u884c\u54ea\u4e9b\u6a21\u578b&#xff1f; \u7b54&#xff1a; <font color=\"teal\">\u975e\u5e38\u591a<\/font>&#xff01;Ollama<font color=\"brown\">\u652f\u6301<\/font>\u76ee\u524d<font color=\"darkgreen\">\u51e0\u4e4e\u6240\u6709<\/font>\u4e3b\u6d41\u7684<font color=\"darkred\">\u5f00\u6e90\u6a21\u578b<\/font>&#xff0c;\u4f8b\u5982 Google \u7684 <font color=\"navy\">Gemma<\/font>&#xff0c;Meta \u7684 <font color=\"olive\">Llama 3<\/font>&#xff0c;Mistral AI \u7684 <font color=\"darkcyan\">Mistral<\/font> \u7b49\u3002\u4f60\u53ef\u4ee5\u5728<font color=\"saddlebrown\">Ollama\u5b98\u7f51<\/font>\u7684 \u201cModels\u201d \u9875\u9762<font color=\"darkmagenta\">\u67e5\u770b\u5b8c\u6574<\/font>\u7684\u6a21\u578b\u5e93\u3002<\/p>\n<p>3. \u95ee&#xff1a;\u8054\u7f51\u641c\u7d22\u529f\u80fd\u662f\u5982\u4f55\u5b9e\u73b0\u7684&#xff1f;\u9700\u8981\u989d\u5916\u914d\u7f6e\u5417&#xff1f; \u7b54&#xff1a; \u8fd9\u662f gpt-oss \u6a21\u578b<font color=\"firebrick\">\u672c\u8eab<\/font>\u5728Ollama\u6846\u67b6\u4e0b<font color=\"darkslategray\">\u96c6\u6210<\/font>\u7684\u529f\u80fd&#xff0c;<font color=\"indigo\">\u53ef\u80fd<\/font>\u5229\u7528\u4e86\u7c7b\u4f3c<font color=\"blue\">\u5de5\u5177\u8c03\u7528 (Tool Calling)<\/font> \u6216<font color=\"red\">\u51fd\u6570\u8c03\u7528 (Function Calling)<\/font> \u7684\u673a\u5236\u3002\u5f53\u4f60<font color=\"green\">\u63d0\u51fa<\/font>\u9700\u8981<font color=\"orange\">\u5916\u90e8\u4fe1\u606f<\/font>\u7684\u95ee\u9898\u65f6&#xff0c;\u6a21\u578b\u4f1a<font color=\"purple\">\u81ea\u52a8\u8c03\u7528<\/font>\u4e00\u4e2a<font color=\"teal\">\u5185\u7f6e\u7684\u641c\u7d22\u5de5\u5177<\/font>\u3002\u9664\u4e86<font color=\"brown\">\u767b\u5f55Ollama Hub\u8d26\u6237<\/font>\u5916&#xff0c;<font color=\"darkgreen\">\u901a\u5e38\u4e0d\u9700\u8981<\/font>\u4f60\u8fdb\u884c<font color=\"darkred\">\u989d\u5916\u914d\u7f6e<\/font>\u3002<\/p>\n<p>4. \u95ee&#xff1a;\u5982\u679c\u6211\u6ca1\u6709NVIDIA\u663e\u5361&#xff0c;\u8fd8\u80fd\u8fd0\u884c\u5417&#xff1f; \u7b54&#xff1a; <font color=\"navy\">\u53ef\u4ee5<\/font>\u3002Ollama<font color=\"olive\">\u652f\u6301\u7eafCPU<\/font>\u8fd0\u884c\u3002\u5b83\u4f1a<font color=\"darkcyan\">\u81ea\u52a8\u68c0\u6d4b<\/font>\u4f60\u662f\u5426\u6709<font color=\"saddlebrown\">\u517c\u5bb9\u7684GPU<\/font>&#xff0c;\u5982\u679c\u6ca1\u6709&#xff0c;\u5b83\u4f1a<font color=\"darkmagenta\">\u5b8c\u5168\u4f7f\u7528<\/font>\u4f60\u7684CPU\u548c\u7cfb\u7edf\u5185\u5b58\u6765<font color=\"firebrick\">\u8fd0\u884c\u6a21\u578b<\/font>\u3002\u5f53\u7136&#xff0c;<font color=\"darkslategray\">\u7eafCPU<\/font>\u8fd0\u884c\u7684\u901f\u5ea6\u4f1a<font color=\"indigo\">\u6bd4GPU\u6162\u5f97\u591a<\/font>\u3002<\/p>\n<p>5. \u95ee&#xff1a;\u6211\u53ef\u4ee5\u5fae\u8c03\u6216\u5b9a\u5236 gpt-oss \u6a21\u578b\u5417&#xff1f; \u7b54&#xff1a; <font color=\"blue\">\u53ef\u4ee5<\/font>\u3002\u8fd9\u6b63\u662f<font color=\"red\">\u5f00\u653e\u6743\u91cd\u6a21\u578b<\/font>\u7684<font color=\"green\">\u9b45\u529b\u6240\u5728<\/font>\u3002\u4f60\u53ef\u4ee5<font color=\"orange\">\u4f7f\u7528<\/font>\u81ea\u5df1\u7684\u6570\u636e\u96c6\u5bf9\u6a21\u578b\u8fdb\u884c<font color=\"purple\">\u5fae\u8c03 (fine-tuning)<\/font>\u3002\u5728Ollama\u4e2d&#xff0c;\u4f60\u8fd8\u53ef\u4ee5\u901a\u8fc7<font color=\"teal\">\u7f16\u5199 Modelfile<\/font> \u6765<font color=\"brown\">\u5b9a\u5236<\/font>\u6a21\u578b\u7684<font color=\"darkgreen\">\u7cfb\u7edf\u63d0\u793a\u8bcd (System Prompt)<\/font>\u3001<font color=\"darkred\">\u53c2\u6570<\/font>\u7b49&#xff0c;\u7136\u540e<font color=\"navy\">\u6784\u5efa\u4e00\u4e2a<\/font>\u5c5e\u4e8e\u4f60\u81ea\u5df1\u7684<font color=\"olive\">\u65b0\u6a21\u578b\u7248\u672c<\/font>\u3002<\/p>\n<p>6. \u95ee&#xff1a;\u5982\u4f55\u67e5\u770b\u6211\u7684 Open WebUI \u5bb9\u5668\u7684\u65e5\u5fd7 (Ubuntu)&#xff1f; \u7b54&#xff1a; \u5982\u679cOpen WebUI<font color=\"darkcyan\">\u65e0\u6cd5\u542f\u52a8<\/font>\u6216<font color=\"saddlebrown\">\u51fa\u73b0\u95ee\u9898<\/font>&#xff0c;\u4f60\u53ef\u4ee5<font color=\"darkmagenta\">\u4f7f\u7528Docker\u547d\u4ee4<\/font>\u67e5\u770b\u5176<font color=\"firebrick\">\u65e5\u5fd7<\/font>\u6765<font color=\"darkslategray\">\u6392\u67e5\u9519\u8bef<\/font>\u3002\u5728\u7ec8\u7aef\u4e2d\u6267\u884c&#xff1a;<\/p>\n<p>docker logs open-webui<\/p>\n<p>\u5982\u679c\u4f60\u60f3<font color=\"indigo\">\u5b9e\u65f6\u8ddf\u8e2a<\/font>\u65e5\u5fd7&#xff0c;\u53ef\u4ee5\u52a0\u4e0a -f \u9009\u9879&#xff1a;docker logs -f open-webui\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.2w\u6b21\uff0c\u70b9\u8d5e189\u6b21\uff0c\u6536\u85cf221\u6b21\u3002\u5728\u81ea\u5df1\u7535\u8111\u4e0a\u8dd1OpenAI\u7684\u6a21\u578b\uff0c\u73b0\u5728\u53d8\u5f97\u5f02\u5e38\u7b80\u5355\u4e86\u3002\u501f\u52a9Ollama\u8fd9\u4e2a\u201c\u795e\u5668\u201d\uff0c\u4f60\u53ea\u9700\u8981\u50cf\u7528Docker\u4e00\u6837\uff0c\u6572ollama pull\u548collama run\u4e24\u6761\u547d\u4ee4\uff0c\u5c31\u80fd\u628aOpenAI\u65b0\u53d1\u5e03\u7684\u5f00\u653e\u6743\u91cd\u6a21\u578bgpt-oss\u90e8\u7f72\u5728\u672c\u5730\u3002\u6574\u4e2a\u8fc7\u7a0b\u975e\u5e38\u987a\u6ed1\uff0c\u4f60\u4e0d\u4ec5\u80fd\u548c\u5b83\u804a\u5929\u3001\u8ba9\u5b83\u5199\u4ee3\u7801\uff0c\u751a\u81f3\u8fd8\u80fd\u8054\u7f51\u641c\u7d22\uff0c\u4f53\u9a8c\u76f8\u5f53\u5b8c\u6574\u3002<\/p>\n","protected":false},"author":2,"featured_media":52123,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[175,50,227,5202,51],"topic":[],"class_list":["post-52136","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-chatgpt","tag-50","tag-227","tag-5202","tag-51"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>OpenAI \u6700\u65b0\u5f00\u6e90\u6a21\u578b gpt-oss (Windows + Ollama\/ubuntu)\u672c\u5730\u90e8\u7f72\u8be6\u7ec6\u6559\u7a0b - \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\/52136.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OpenAI \u6700\u65b0\u5f00\u6e90\u6a21\u578b gpt-oss (Windows + Ollama\/ubuntu)\u672c\u5730\u90e8\u7f72\u8be6\u7ec6\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.2w\u6b21\uff0c\u70b9\u8d5e189\u6b21\uff0c\u6536\u85cf221\u6b21\u3002\u5728\u81ea\u5df1\u7535\u8111\u4e0a\u8dd1OpenAI\u7684\u6a21\u578b\uff0c\u73b0\u5728\u53d8\u5f97\u5f02\u5e38\u7b80\u5355\u4e86\u3002\u501f\u52a9Ollama\u8fd9\u4e2a\u201c\u795e\u5668\u201d\uff0c\u4f60\u53ea\u9700\u8981\u50cf\u7528Docker\u4e00\u6837\uff0c\u6572ollama pull\u548collama run\u4e24\u6761\u547d\u4ee4\uff0c\u5c31\u80fd\u628aOpenAI\u65b0\u53d1\u5e03\u7684\u5f00\u653e\u6743\u91cd\u6a21\u578bgpt-oss\u90e8\u7f72\u5728\u672c\u5730\u3002\u6574\u4e2a\u8fc7\u7a0b\u975e\u5e38\u987a\u6ed1\uff0c\u4f60\u4e0d\u4ec5\u80fd\u548c\u5b83\u804a\u5929\u3001\u8ba9\u5b83\u5199\u4ee3\u7801\uff0c\u751a\u81f3\u8fd8\u80fd\u8054\u7f51\u641c\u7d22\uff0c\u4f53\u9a8c\u76f8\u5f53\u5b8c\u6574\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/52136.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-11T02:37:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811023635-68995733ab06f.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=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/52136.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/52136.html\",\"name\":\"OpenAI \u6700\u65b0\u5f00\u6e90\u6a21\u578b gpt-oss (Windows + Ollama\/ubuntu)\u672c\u5730\u90e8\u7f72\u8be6\u7ec6\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-11T02:37:02+00:00\",\"dateModified\":\"2025-08-11T02:37:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/52136.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/52136.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/52136.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OpenAI \u6700\u65b0\u5f00\u6e90\u6a21\u578b gpt-oss (Windows + Ollama\/ubuntu)\u672c\u5730\u90e8\u7f72\u8be6\u7ec6\u6559\u7a0b\"}]},{\"@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":"OpenAI \u6700\u65b0\u5f00\u6e90\u6a21\u578b gpt-oss (Windows + Ollama\/ubuntu)\u672c\u5730\u90e8\u7f72\u8be6\u7ec6\u6559\u7a0b - \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\/52136.html","og_locale":"zh_CN","og_type":"article","og_title":"OpenAI \u6700\u65b0\u5f00\u6e90\u6a21\u578b gpt-oss (Windows + Ollama\/ubuntu)\u672c\u5730\u90e8\u7f72\u8be6\u7ec6\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.2w\u6b21\uff0c\u70b9\u8d5e189\u6b21\uff0c\u6536\u85cf221\u6b21\u3002\u5728\u81ea\u5df1\u7535\u8111\u4e0a\u8dd1OpenAI\u7684\u6a21\u578b\uff0c\u73b0\u5728\u53d8\u5f97\u5f02\u5e38\u7b80\u5355\u4e86\u3002\u501f\u52a9Ollama\u8fd9\u4e2a\u201c\u795e\u5668\u201d\uff0c\u4f60\u53ea\u9700\u8981\u50cf\u7528Docker\u4e00\u6837\uff0c\u6572ollama pull\u548collama run\u4e24\u6761\u547d\u4ee4\uff0c\u5c31\u80fd\u628aOpenAI\u65b0\u53d1\u5e03\u7684\u5f00\u653e\u6743\u91cd\u6a21\u578bgpt-oss\u90e8\u7f72\u5728\u672c\u5730\u3002\u6574\u4e2a\u8fc7\u7a0b\u975e\u5e38\u987a\u6ed1\uff0c\u4f60\u4e0d\u4ec5\u80fd\u548c\u5b83\u804a\u5929\u3001\u8ba9\u5b83\u5199\u4ee3\u7801\uff0c\u751a\u81f3\u8fd8\u80fd\u8054\u7f51\u641c\u7d22\uff0c\u4f53\u9a8c\u76f8\u5f53\u5b8c\u6574\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/52136.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-11T02:37:02+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250811023635-68995733ab06f.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/52136.html","url":"https:\/\/www.wsisp.com\/helps\/52136.html","name":"OpenAI \u6700\u65b0\u5f00\u6e90\u6a21\u578b gpt-oss (Windows + Ollama\/ubuntu)\u672c\u5730\u90e8\u7f72\u8be6\u7ec6\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-11T02:37:02+00:00","dateModified":"2025-08-11T02:37:02+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/52136.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/52136.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/52136.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"OpenAI \u6700\u65b0\u5f00\u6e90\u6a21\u578b gpt-oss (Windows + Ollama\/ubuntu)\u672c\u5730\u90e8\u7f72\u8be6\u7ec6\u6559\u7a0b"}]},{"@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\/52136","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=52136"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/52136\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/52123"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=52136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=52136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=52136"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=52136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}