{"id":15380,"date":"2024-05-18T08:47:04","date_gmt":"2024-05-18T06:47:04","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=15380"},"modified":"2024-05-18T08:51:14","modified_gmt":"2024-05-18T06:51:14","slug":"ollama-mit-gui-unter-linux-nutzen","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2024\/05\/18\/ollama-mit-gui-unter-linux-nutzen\/","title":{"rendered":"Open WebUI &#8211; Ollama mit GUI unter Linux nutzen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/linux-bibel.at\/index.php\/2024\/05\/10\/ollama-ki-unter-linux-lokal-nutzen\/\" data-type=\"post\" data-id=\"15277\">Ollama<\/a> l\u00e4sst sich auch mit grafischer Oberfl\u00e4che unter Linux nutzen, die Software nennt sich Open WebUI. Zur Installation nutzen Sie <a href=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/10\/docker-anwendungen-und-systeme-unter-linux-virtualisieren-isolieren\/\" data-type=\"post\" data-id=\"2174\">Docker<\/a> oder <a href=\"https:\/\/linux-bibel.at\/index.php\/2023\/10\/07\/podman-alternative-zu-docker-unter-linux\/\" data-type=\"post\" data-id=\"9996\">Podman<\/a>. Ollama installieren Sie wie am ersten Link und lassen es via Systemd laufen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wie Sie Docker nutzen, lesen Sie unter oben genannten Link, Podman nutzen Sie auf dieselbe Art &#8211; Podman wird jedoch weiterentwickelt, w\u00e4hrend Docker (<em>bis auf die Docker Registry<\/em>) so gesehen tot ist.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wollen wir erst einmal das WebUI-Image herunterladen:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-colibri-color-1-color\">Docker:<\/mark><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker pull ghcr.io\/open-webui<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-colibri-color-1-color\">Podman:<\/mark><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>podman pull ghcr.io\/open-webui<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt k\u00f6nnen wir Open WebUI starten:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>podman run -d --network=host -e OLLAMA_BASE_URL=http:\/\/127.0.0.1:11434 -v open-webui:\/app\/backend\/data --name\nopen-webui --restart always open-webui<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>docker run -d --network=host -e OLLAMA_BASE_URL=http:\/\/127.0.0.1:11434 -v open-webui:\/app\/backend\/data --name\nopen-webui --restart always open-webui<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Mit einem:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker ps -a\npodman ps -a<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">l\u00e4sst sich pr\u00fcfen, ob die Software l\u00e4uft:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui.jpeg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-1024x300.jpeg\" alt=\"\" class=\"wp-image-15381\" style=\"width:647px;height:auto\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-1024x300.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-1536x450.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-150x44.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-300x88.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-768x225.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui.jpeg 1992w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt \u00f6ffnen Sie den Webbrowser mit der Adresse <a href=\"http:\/\/127.0.0.1:8080\" target=\"_blank\" rel=\"noreferrer noopener\">127.0.0.1:8080<\/a>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-1-scaled.jpeg\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-1-1024x575.jpeg\" alt=\"\" class=\"wp-image-15382\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-1-1024x575.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-1-1536x862.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-1-2048x1149.jpeg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-1-150x84.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-1-300x168.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-1-768x431.jpeg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Sie klicken auf den Schalter &#8222;<strong>Sign up<\/strong>&#8222;, geben Ihre Mail-Adresse an und erstellen ein Passwort f\u00fcr den Admin-Account:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-2-scaled.jpeg\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-2-1024x575.jpeg\" alt=\"\" class=\"wp-image-15383\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-2-1024x575.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-2-1536x862.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-2-2048x1149.jpeg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-2-150x84.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-2-300x168.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-2-768x431.jpeg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Schon finden Sie sich in Ihrer lokalen grafischen Oberfl\u00e4che f\u00fcr Ihre KI wieder. Oben mittig links klicken Sie auf den Pfeil &#8222;<strong>Select a model<\/strong>&#8220; und w\u00e4hlen das bereits aktive llama2 und k\u00f6nnen schon los chatten:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-3-scaled.jpeg\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-3-1024x575.jpeg\" alt=\"\" class=\"wp-image-15384\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-3-1024x575.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-3-1536x862.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-3-2048x1149.jpeg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-3-150x84.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-3-300x168.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-3-768x431.jpeg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u00dcber die Liste links \u2192 <em>Modelfiles<\/em> k\u00f6nnen Sie weitere Sprachmodelle, Bildgeneratoren und so weiter und so fort installieren:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-4-scaled.jpeg\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-4-1024x575.jpeg\" alt=\"\" class=\"wp-image-15385\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-4-1024x575.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-4-1536x862.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-4-2048x1149.jpeg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-4-150x84.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-4-300x168.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2024\/05\/webui-4-768x431.jpeg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Bei meinem Test war die Seite allerdings gerade nicht erreichbar :). Die volle Dokumentation zur Software finden Sie unter <a href=\"https:\/\/docs.openwebui.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Open WebUI<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Schlie\u00dfen Sie den Browser-Tab &#8211; beendet sich auch die laufende KI. M\u00f6chten Sie Open WebUI wieder los werden:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>podman stop open-webui\ndocker stop open-webui<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>podman rm -f open-webui\ndocker rm -f open-webui<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>podman volume rm open-webui\ndocker volume rm open-webui<\/code><\/pre>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"15380\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">6    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"15380\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Ollama l\u00e4sst sich auch mit grafischer Oberfl\u00e4che unter Linux nutzen, die Software nennt sich Open WebUI. Zur Installation nutzen Sie Docker oder Podman. Ollama installieren Sie wie am ersten Link und lassen es via Systemd laufen. Wie Sie Docker nutzen, lesen Sie unter oben genannten Link, Podman nutzen Sie auf dieselbe Art &#8211; Podman wird [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":15384,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[628],"tags":[698],"class_list":["post-15380","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kuenstliche-intelligenz","tag-kuenstliche-intelligenz"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/15380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=15380"}],"version-history":[{"count":2,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/15380\/revisions"}],"predecessor-version":[{"id":15388,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/15380\/revisions\/15388"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/15384"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=15380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=15380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=15380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}