{"id":10412,"date":"2025-04-18T17:59:06","date_gmt":"2025-04-18T09:59:06","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/10412.html"},"modified":"2025-04-18T17:59:06","modified_gmt":"2025-04-18T09:59:06","slug":"%e6%9c%8d%e5%8a%a1%e5%99%a8ubuntu22-04%e7%b3%bb%e7%bb%9f%e4%b8%8b-ollama%e7%9a%84%e8%af%a6%e7%bb%86%e9%83%a8%e7%bd%b2%e5%ae%89%e8%a3%85%e5%92%8c%e6%90%ad%e9%85%8dopen_webui%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/10412.html","title":{"rendered":"\u670d\u52a1\u5668Ubuntu22.04\u7cfb\u7edf\u4e0b ollama\u7684\u8be6\u7ec6\u90e8\u7f72\u5b89\u88c5\u548c\u642d\u914dopen_webui\u4f7f\u7528"},"content":{"rendered":"<\/p>\n<h4>\u670d\u52a1\u5668Ubuntu22.04\u7cfb\u7edf\u4e0b ollama\u7684\u8be6\u7ec6\u90e8\u7f72\u5b89\u88c5\u548c\u642d\u914dopen_webui\u4f7f\u7528<\/h4>\n<ul>\n<li>\u4e00\u3001ubuntu\u548cdocker\u57fa\u672c\u73af\u5883\u914d\u7f6e<\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>\n<ul>\n<li>\n<ul>\n<li>1.\u66f4\u65b0\u5305\u5217\u8868&#xff1a;<\/li>\n<li>2. \u5b89\u88c5docker\u4f9d\u8d56<\/li>\n<li>3. \u6dfb\u52a0docker\u5bc6\u94a5<\/li>\n<li>4.\u6dfb\u52a0\u963f\u91cc\u4e91docker\u8f6f\u4ef6\u6e90<\/li>\n<li>5.\u5b89\u88c5docker<\/li>\n<li>6.\u5b89\u88c5\u5b8c\u6210docker\u6d4b\u8bd5<\/li>\n<li>7. docker\u914d\u7f6e\u56fd\u5185\u955c\u50cf\u6e90<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u4e8c\u3001\u5b89\u88c5\u82f1\u4f1f\u8fbe\u663e\u5361\u9a71\u52a8<\/li>\n<li>\n<ul>\n<li>1.\u4f7f\u7528 Apt \u5b89\u88c5<\/li>\n<\/ul>\n<\/li>\n<li>\u4e09\u3001\u4f7f\u7528docker\u5b89\u88c5ollama<\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>\n<ul>\n<li>\n<ul>\n<li>1. \u4f7f\u7528docker\u62c9\u53d6ollama\u955c\u50cf<\/li>\n<li>2.\u4f7f\u7528docker\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u542f\u52a8 Ollama \u5bb9\u5668<\/li>\n<li>3.\u4f7f\u7528ollama\u4e0b\u8f7d\u6a21\u578b<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u56db\u3001\u4f7f\u7528docker\u5b89\u88c5open-webui<\/li>\n<li>\n<ul>\n<li>\n<ul>\n<li>\n<ul>\n<li>\n<ul>\n<li>1. docker\u90e8\u7f72ollama web ui<\/li>\n<li>2.\u6ce8\u518c\u8d26\u53f7<\/li>\n<li>3.\u6210\u529f\u8fdb\u5165&#xff1a;<\/li>\n<li>4. \u804a\u5929\u754c\u9762<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>\u4e00\u3001ubuntu\u548cdocker\u57fa\u672c\u73af\u5883\u914d\u7f6e<\/h2>\n<h6>1.\u66f4\u65b0\u5305\u5217\u8868&#xff1a;<\/h6>\n<ul>\n<li>\u6253\u5f00\u7ec8\u7aef&#xff0c;\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/li>\n<\/ul>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt-get<\/span> update<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> upgrade<\/p>\n<p>\u66f4\u65b0\u65f6\u95f4\u8f83\u957f&#xff0c;\u8bf7\u8010\u5fc3\u7b49\u5f85<\/p>\n<h6>2. \u5b89\u88c5docker\u4f9d\u8d56<\/h6>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt-get<\/span> <span class=\"token function\">install<\/span> ca-certificates <span class=\"token function\">curl<\/span> gnupg lsb-release<\/p>\n<h6>3. \u6dfb\u52a0docker\u5bc6\u94a5<\/h6>\n<p><span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-fsSL<\/span> http:\/\/mirrors.aliyun.com\/docker-ce\/linux\/ubuntu\/gpg <span class=\"token operator\">|<\/span> <span class=\"token function\">sudo<\/span> apt-key <span class=\"token function\">add<\/span> &#8211;<\/p>\n<h6>4.\u6dfb\u52a0\u963f\u91cc\u4e91docker\u8f6f\u4ef6\u6e90<\/h6>\n<p><span class=\"token function\">sudo<\/span> add-apt-repository <span class=\"token string\">&#034;deb [arch&#061;amd64] http:\/\/mirrors.aliyun.com\/docker-ce\/linux\/ubuntu <span class=\"token variable\"><span class=\"token variable\">$(<\/span>lsb_release <span class=\"token parameter variable\">-cs<\/span><span class=\"token variable\">)<\/span><\/span> stable&#034;<\/span><\/p>\n<h6>5.\u5b89\u88c5docker<\/h6>\n<p><span class=\"token function\">apt-get<\/span> <span class=\"token function\">install<\/span> docker-ce docker-ce-cli containerd.i<\/p>\n<h6>6.\u5b89\u88c5\u5b8c\u6210docker\u6d4b\u8bd5<\/h6>\n<p><span class=\"token function\">docker<\/span> <span class=\"token parameter variable\">-v<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095903-680222676111e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h6>7. docker\u914d\u7f6e\u56fd\u5185\u955c\u50cf\u6e90<\/h6>\n<ul>\n<li>7.1 \u7f16\u8f91\u914d\u7f6e\u6587\u4ef6<\/li>\n<\/ul>\n<p><span class=\"token function\">vi<\/span> \/etc\/docker\/daemon.json<\/p>\n<p>\u6309i\u8fdb\u5165\u7f16\u8f91\u6a21\u5f0f<\/p>\n<p>\u52a0\u5165\u4ee5\u4e0b\u5185\u5bb9&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string\">&#034;registry-mirrors&#034;<\/span><span class=\"token builtin class-name\">:<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.mirrors.ustc.edu.cn&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/hub-mirror.c.163.com&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.m.daocloud.io&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/ghcr.io&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/mirror.baidubce.com&#034;<\/span>,<br \/>\n    <span class=\"token string\">&#034;https:\/\/docker.nju.edu.cn&#034;<\/span><br \/>\n  <span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u6309ESC\u952e\u9000\u51fa\u7f16\u8f91\u6a21\u5f0f&#xff0c;\u63a5\u7740\u8f93\u5165:wq&#xff0c;\u4fdd\u5b58\u5e76\u9000\u51fa<\/p>\n<ul>\n<li>7.2 \u91cd\u65b0\u52a0\u8f7ddocker<\/li>\n<\/ul>\n<p><span class=\"token function\">sudo<\/span> systemctl daemon-reload<\/p>\n<ul>\n<li>7.3 \u91cd\u542fdocker<\/li>\n<\/ul>\n<p><span class=\"token function\">sudo<\/span> systemctl restart <span class=\"token function\">docker<\/span><\/p>\n<h2>\u4e8c\u3001\u5b89\u88c5\u82f1\u4f1f\u8fbe\u663e\u5361\u9a71\u52a8<\/h2>\n<h3>1.\u4f7f\u7528 Apt \u5b89\u88c5<\/h3>\n<ul>\n<li>\u914d\u7f6e\u5b58\u50a8\u5e93<\/li>\n<\/ul>\n<p><span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-fsSL<\/span> https:\/\/nvidia.github.io\/libnvidia-container\/gpgkey <span class=\"token punctuation\">\\\\<\/span><br \/>\n    <span class=\"token operator\">|<\/span> <span class=\"token function\">sudo<\/span> gpg <span class=\"token parameter variable\">&#8211;dearmor<\/span> <span class=\"token parameter variable\">-o<\/span> \/usr\/share\/keyrings\/nvidia-container-toolkit-keyring.gpg<br \/>\n<span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-s<\/span> <span class=\"token parameter variable\">-L<\/span> https:\/\/nvidia.github.io\/libnvidia-container\/stable\/deb\/nvidia-container-toolkit.list <span class=\"token punctuation\">\\\\<\/span><br \/>\n    <span class=\"token operator\">|<\/span> <span class=\"token function\">sed<\/span> <span class=\"token string\">&#039;s#deb https:\/\/#deb [signed-by&#061;\/usr\/share\/keyrings\/nvidia-container-toolkit-keyring.gpg] https:\/\/#g&#039;<\/span> <span class=\"token punctuation\">\\\\<\/span><br \/>\n    <span class=\"token operator\">|<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> \/etc\/apt\/sources.list.d\/nvidia-container-toolkit.list<\/p>\n<ul>\n<li>\u66f4\u65b0\u5305\u5217\u8868<\/li>\n<\/ul>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt-get<\/span> update<\/p>\n<ul>\n<li>\u5b89\u88c5 NVIDIA Container Toolkit \u8f6f\u4ef6\u5305<\/li>\n<\/ul>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt-get<\/span> <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> nvidia-container-toolkit<\/p>\n<ul>\n<li>\u914d\u7f6e Docker \u4ee5\u4f7f\u7528 Nvidia \u9a71\u52a8\u7a0b\u5e8f<\/li>\n<\/ul>\n<p><span class=\"token function\">sudo<\/span> nvidia-ctk runtime configure <span class=\"token parameter variable\">&#8211;runtime<\/span><span class=\"token operator\">&#061;<\/span>docker<\/p>\n<ul>\n<li>\u91cd\u65b0\u542f\u52a8docker<\/li>\n<\/ul>\n<p><span class=\"token function\">sudo<\/span> systemctl restart <span class=\"token function\">docker<\/span><\/p>\n<h2>\u4e09\u3001\u4f7f\u7528docker\u5b89\u88c5ollama<\/h2>\n<h6>1. \u4f7f\u7528docker\u62c9\u53d6ollama\u955c\u50cf<\/h6>\n<p><span class=\"token function\">docker<\/span> pull ollama\/ollama:latest<\/p>\n<p>\u56fd\u5185\u955c\u50cf<\/p>\n<p><span class=\"token function\">docker<\/span> pull dhub.kubesre.xyz\/ollama\/ollama:latest<\/p>\n<h6>2.\u4f7f\u7528docker\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u542f\u52a8 Ollama \u5bb9\u5668<\/h6>\n<p><span class=\"token function\">docker<\/span> run <span class=\"token parameter variable\">-d<\/span> <span class=\"token parameter variable\">&#8211;gpus<\/span><span class=\"token operator\">&#061;<\/span>all <span class=\"token parameter variable\">&#8211;restart<\/span><span class=\"token operator\">&#061;<\/span>always <span class=\"token parameter variable\">-v<\/span> \/root\/project\/docker\/ollama:\/root\/project\/.ollama <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">11434<\/span>:11434 <span class=\"token parameter variable\">&#8211;name<\/span> ollama ollama\/ollama<\/p>\n<p>\u4f7follama\u4fdd\u6301\u6a21\u578b\u52a0\u8f7d\u5728\u5185\u5b58&#xff08;\u663e\u5b58&#xff09;\u4e2d<\/p>\n<ul>\n<li>\u53c2\u8003\u6587\u7ae0 ollama\u5982\u4f55\u4fdd\u6301\u6a21\u578b\u52a0\u8f7d\u5728\u5185\u5b58&#xff08;\u663e\u5b58&#xff09;\u4e2d\u6216\u7acb\u5373\u5378\u8f7d<\/li>\n<li>\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/li>\n<\/ul>\n<p><span class=\"token function\">docker<\/span> run <span class=\"token parameter variable\">-d<\/span> <span class=\"token parameter variable\">&#8211;gpus<\/span><span class=\"token operator\">&#061;<\/span>all <span class=\"token parameter variable\">-e<\/span> <span class=\"token assign-left variable\">OLLAMA_KEEP_ALIVE<\/span><span class=\"token operator\">&#061;<\/span>-1  <span class=\"token parameter variable\">-v<\/span> \/root\/project\/docker\/ollama:\/root\/.ollama <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">11434<\/span>:11434 <span class=\"token parameter variable\">&#8211;name<\/span> ollama ollama\/ollama<\/p>\n<h6>3.\u4f7f\u7528ollama\u4e0b\u8f7d\u6a21\u578b<\/h6>\n<ul>\n<li>\u8fd9\u91cc\u793a\u4f8b\u4e0b\u8f7d\u963f\u91cc\u7684\u901a\u4e49\u5343\u95ee<\/li>\n<\/ul>\n<p><span class=\"token function\">docker<\/span> <span class=\"token builtin class-name\">exec<\/span> <span class=\"token parameter variable\">-it<\/span> ollama ollama run qwen2<\/p>\n<ul>\n<li>\n<p>\u8fd0\u884c\u6548\u679c\u5982\u56fe&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095903-680222676accf.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u6a21\u578b\u5e93<\/p>\n<\/li>\n<\/ul>\n<table>\n<tr>\u6a21\u578b\u53c2\u6570\u6570\u91cf\u5927\u5c0f\u4e0b\u8f7d\u65b9\u5f0f<\/tr>\n<tbody>\n<tr>\n<td>Llama 2<\/td>\n<td>7B<\/td>\n<td>3.8GB<\/td>\n<td>docker exec -it ollama ollama run llama2<\/td>\n<\/tr>\n<tr>\n<td>Mistral<\/td>\n<td>7B<\/td>\n<td>4.1GB<\/td>\n<td>docker exec -it ollama ollama run mistral<\/td>\n<\/tr>\n<tr>\n<td>Dolphin Phi<\/td>\n<td>2.7B<\/td>\n<td>1.6GB<\/td>\n<td>docker exec -it ollama ollama run dolphin-phi<\/td>\n<\/tr>\n<tr>\n<td>Phi-2<\/td>\n<td>2.7B<\/td>\n<td>1.7GB<\/td>\n<td>docker exec -it ollama ollama run phi<\/td>\n<\/tr>\n<tr>\n<td>Neural Chat<\/td>\n<td>7B<\/td>\n<td>4.1GB<\/td>\n<td>docker exec -it ollama ollama run neural-chat<\/td>\n<\/tr>\n<tr>\n<td>Starling<\/td>\n<td>7B<\/td>\n<td>4.1GB<\/td>\n<td>docker exec -it ollama ollama run starling-lm<\/td>\n<\/tr>\n<tr>\n<td>Code Llama<\/td>\n<td>7B<\/td>\n<td>3.8GB<\/td>\n<td>docker exec -it ollama ollama run codellama<\/td>\n<\/tr>\n<tr>\n<td>Llama 2 Uncensored<\/td>\n<td>7B<\/td>\n<td>3.8GB<\/td>\n<td>docker exec -it ollama ollama run llama2-uncensored<\/td>\n<\/tr>\n<tr>\n<td>Llama 2<\/td>\n<td>13B<\/td>\n<td>7.3GB<\/td>\n<td>docker exec -it ollama ollama run llama2:13b<\/td>\n<\/tr>\n<tr>\n<td>Llama 2<\/td>\n<td>70B<\/td>\n<td>39GB<\/td>\n<td>docker exec -it ollama ollama run llama2:70b<\/td>\n<\/tr>\n<tr>\n<td>Orca Mini<\/td>\n<td>3B<\/td>\n<td>1.9GB<\/td>\n<td>docker exec -it ollama ollama run orca-mini<\/td>\n<\/tr>\n<tr>\n<td>Vicuna<\/td>\n<td>7B<\/td>\n<td>3.8GB<\/td>\n<td>docker exec -it ollama ollama run vicuna<\/td>\n<\/tr>\n<tr>\n<td>LLaVA<\/td>\n<td>7B<\/td>\n<td>4.5GB<\/td>\n<td>docker exec -it ollama ollama run llava<\/td>\n<\/tr>\n<tr>\n<td>Gemma<\/td>\n<td>2B<\/td>\n<td>1.4GB<\/td>\n<td>docker exec -it ollama ollama run gemma:2b<\/td>\n<\/tr>\n<tr>\n<td>Gemma<\/td>\n<td>7B<\/td>\n<td>4.8GB<\/td>\n<td>docker exec -it ollama ollama run gemma:7b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u56db\u3001\u4f7f\u7528docker\u5b89\u88c5open-webui<\/h2>\n<h6>1. docker\u90e8\u7f72ollama web ui<\/h6>\n<p>\u67e5\u770b\u81ea\u5df1\u670d\u52a1\u5668\u7684\u4e1a\u52a1\u7aef\u53e3&#xff0c;\u6211\u4eec\u8fd9\u91cc\u662f30131-30140 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095903-6802226779efe.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> main\u7248\u672c<\/p>\n<p><span class=\"token function\">docker<\/span> run <span class=\"token parameter variable\">-d<\/span> <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">30131<\/span>:8080 <span class=\"token parameter variable\">&#8211;gpus<\/span> all &#8211;add-host<span class=\"token operator\">&#061;<\/span>host.docker.internal:host-gateway <span class=\"token parameter variable\">-v<\/span> open-webui:\/app\/backend\/data <span class=\"token parameter variable\">&#8211;name<\/span> open-webui <span class=\"token parameter variable\">&#8211;restart<\/span> always ghcr.nju.edu.cn\/open-webui\/open-webui:main<\/p>\n<p>cuda\u7248\u672c<\/p>\n<p><span class=\"token function\">docker<\/span> run <span class=\"token parameter variable\">-d<\/span> <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">30131<\/span>:8080 <span class=\"token parameter variable\">&#8211;gpus<\/span> all &#8211;add-host<span class=\"token operator\">&#061;<\/span>host.docker.internal:host-gateway <span class=\"token parameter variable\">-v<\/span> open-webui:\/app\/backend\/data <span class=\"token parameter variable\">&#8211;name<\/span> open-webui <span class=\"token parameter variable\">&#8211;restart<\/span> always ghcr.nju.edu.cn\/open-webui\/open-webui:cuda<\/p>\n<ul>\n<li>\u5b89\u88c5\u6210\u529f\u540e&#xff0c;\u53ef\u4ee5\u5728\u53e6\u4e00\u53f0\u8ba1\u7b97\u673a\u8fdb\u884c\u8bbf\u95ee&#xff0c;\u5982\u4e0b&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095903-680222678483e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/li>\n<\/ul>\n<h6>2.\u6ce8\u518c\u8d26\u53f7<\/h6>\n<ul>\n<li>\u9ed8\u8ba4\u7b2c\u4e00\u4e2a\u8d26\u53f7\u662f\u7ba1\u7406\u5458 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095903-68022267f1b56.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/li>\n<\/ul>\n<h6>3.\u6210\u529f\u8fdb\u5165&#xff1a;<\/h6>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095904-6802226811328.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h6>4. \u804a\u5929\u754c\u9762<\/h6>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095904-6802226841140.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\/20250418095904-68022268cceff.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1w\u6b21\uff0c\u70b9\u8d5e31\u6b21\uff0c\u6536\u85cf70\u6b21\u3002\u670d\u52a1\u5668Ubuntu22.04\u7cfb\u7edf\u4e0b ollama\u7684\u8be6\u7ec6\u90e8\u7f72\u5b89\u88c5\u548c\u642d\u914dopen_webui\u4f7f\u7528_ubuntu\u5b89\u88c5ollama<\/p>\n","protected":false},"author":2,"featured_media":10404,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[175,347,51],"topic":[],"class_list":["post-10412","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-chatgpt","tag-llama","tag-51"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u670d\u52a1\u5668Ubuntu22.04\u7cfb\u7edf\u4e0b ollama\u7684\u8be6\u7ec6\u90e8\u7f72\u5b89\u88c5\u548c\u642d\u914dopen_webui\u4f7f\u7528 - \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\/10412.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u670d\u52a1\u5668Ubuntu22.04\u7cfb\u7edf\u4e0b ollama\u7684\u8be6\u7ec6\u90e8\u7f72\u5b89\u88c5\u548c\u642d\u914dopen_webui\u4f7f\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1w\u6b21\uff0c\u70b9\u8d5e31\u6b21\uff0c\u6536\u85cf70\u6b21\u3002\u670d\u52a1\u5668Ubuntu22.04\u7cfb\u7edf\u4e0b ollama\u7684\u8be6\u7ec6\u90e8\u7f72\u5b89\u88c5\u548c\u642d\u914dopen_webui\u4f7f\u7528_ubuntu\u5b89\u88c5ollama\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/10412.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:59:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095903-680222676111e.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\/10412.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/10412.html\",\"name\":\"\u670d\u52a1\u5668Ubuntu22.04\u7cfb\u7edf\u4e0b ollama\u7684\u8be6\u7ec6\u90e8\u7f72\u5b89\u88c5\u548c\u642d\u914dopen_webui\u4f7f\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T09:59:06+00:00\",\"dateModified\":\"2025-04-18T09:59:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/10412.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/10412.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/10412.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u670d\u52a1\u5668Ubuntu22.04\u7cfb\u7edf\u4e0b ollama\u7684\u8be6\u7ec6\u90e8\u7f72\u5b89\u88c5\u548c\u642d\u914dopen_webui\u4f7f\u7528\"}]},{\"@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":"\u670d\u52a1\u5668Ubuntu22.04\u7cfb\u7edf\u4e0b ollama\u7684\u8be6\u7ec6\u90e8\u7f72\u5b89\u88c5\u548c\u642d\u914dopen_webui\u4f7f\u7528 - \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\/10412.html","og_locale":"zh_CN","og_type":"article","og_title":"\u670d\u52a1\u5668Ubuntu22.04\u7cfb\u7edf\u4e0b ollama\u7684\u8be6\u7ec6\u90e8\u7f72\u5b89\u88c5\u548c\u642d\u914dopen_webui\u4f7f\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1w\u6b21\uff0c\u70b9\u8d5e31\u6b21\uff0c\u6536\u85cf70\u6b21\u3002\u670d\u52a1\u5668Ubuntu22.04\u7cfb\u7edf\u4e0b ollama\u7684\u8be6\u7ec6\u90e8\u7f72\u5b89\u88c5\u548c\u642d\u914dopen_webui\u4f7f\u7528_ubuntu\u5b89\u88c5ollama","og_url":"https:\/\/www.wsisp.com\/helps\/10412.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T09:59:06+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418095903-680222676111e.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\/10412.html","url":"https:\/\/www.wsisp.com\/helps\/10412.html","name":"\u670d\u52a1\u5668Ubuntu22.04\u7cfb\u7edf\u4e0b ollama\u7684\u8be6\u7ec6\u90e8\u7f72\u5b89\u88c5\u548c\u642d\u914dopen_webui\u4f7f\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T09:59:06+00:00","dateModified":"2025-04-18T09:59:06+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/10412.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/10412.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/10412.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u670d\u52a1\u5668Ubuntu22.04\u7cfb\u7edf\u4e0b ollama\u7684\u8be6\u7ec6\u90e8\u7f72\u5b89\u88c5\u548c\u642d\u914dopen_webui\u4f7f\u7528"}]},{"@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\/10412","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=10412"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/10412\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/10404"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=10412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=10412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=10412"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=10412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}