Skip to content

Instantly share code, notes, and snippets.

@alexishida
Last active February 2, 2026 16:42
Show Gist options
  • Select an option

  • Save alexishida/0a035eacb0d4c7b23a540323268e1050 to your computer and use it in GitHub Desktop.

Select an option

Save alexishida/0a035eacb0d4c7b23a540323268e1050 to your computer and use it in GitHub Desktop.
Ollama - open-webui Instalation
curl -fsSL https://ollama.com/install.sh | sh
# https://ollama.com/library
ollama run llama3.2:1b
ip addr show docker0 | grep "inet "
sudo mkdir -p /etc/systemd/system/ollama.service.d
echo -e "[Service]\nEnvironment=\"OLLAMA_HOST=0.0.0.0\"" | sudo tee /etc/systemd/system/ollama.service.d/override.conf
sudo systemctl daemon-reload
sudo systemctl restart ollama
ss -tulpn | grep 11434
docker run -d \
--name open-webui \
--restart=always \
-p 3030:8080 \
-e OLLAMA_BASE_URL=http://172.17.0.1:11434 \
-v /storage/open-webui:/app/data \
-v /etc/localtime:/etc/localtime:ro \
ghcr.io/open-webui/open-webui:main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment