Install Ollama on Ubuntu

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

Back to catalog