Install Ollama on Ubuntu
- curl -fsSL https://ollama.com/install.sh | sh
- Verify: ollama --version
- Start service: sudo systemctl enable ollama && sudo systemctl start ollama
- Pull a model: ollama pull llama3.1
- Run: ollama run llama3.1
- Optional: expose API with ollama serve (default port 11434)
- For remote access, bind behind nginx or SSH tunnel — do not expose publicly without auth
Back to catalog