Private LLM and AI
Run your own AI models with Ollama and Open WebUI
Articles
ChatGPT on Linux: Desktop App, Codex CLI and Local AI Models
You can use ChatGPT on Linux in four ways. In any browser at chatgpt.com. With the official ChatGPT desktop app for Linux, which OpenAI offers as a preview for Ubuntu...
How to call the Ollama API from curl, Python or n8n (including the OpenAI-compatible endpoint)?
Ollama has a built-in HTTP API on port 11434. Your own scripts, n8n workflows and apps can send questions to your private model with plain HTTP requests. Ollama also...
How to check that Ollama is using the GPU (and fix slow CPU-only answers)?
If Ollama answers slowly on a GPU server, it is probably running the model on the CPU. You can see this in one command and, in most cases, fix it in a few minutes.
1....
How to fix Open WebUI cannot connect to Ollama?
When Open WebUI shows no models or a connection error, it cannot reach the Ollama API. Almost always the cause is that Ollama only listens on 127.0.0.1, while Open...
How to install Ollama on Ubuntu and run your first private LLM?
Ollama runs open large language models (Llama, Mistral, Gemma, Qwen and many others) on your own server. Your prompts and documents stay on the server; nothing is sent...
How to install Open WebUI with Docker and connect it to Ollama?
Open WebUI is a self-hosted chat interface, similar to ChatGPT, that talks to your own Ollama server. You get accounts, chat history, document upload and a model...
How to make Ollama reachable from other machines (OLLAMA_HOST) safely?
By default Ollama listens on 127.0.0.1:11434, so only programs on the same server can talk to it. To use it from your laptop, another server or a container, you can...
How to move Ollama models to another disk (OLLAMA_MODELS)?
Ollama stores downloaded models in /usr/share/ollama/.ollama/models. A single model can take from a few GB to several tens of GB, so the system disk can fill up...
How to update and back up Open WebUI without losing your chats?
Open WebUI releases updates often. Because your chats, users and settings live in a Docker volume, you can replace the container with a newer image without losing...
How to update or uninstall Ollama on Linux?
Ollama is updated often, with support for new models and GPU fixes. On Linux you update it by running the install script again. This guide also shows how to remove...