Skip to content

Commit

Permalink
Create ollama.md
Browse files Browse the repository at this point in the history
  • Loading branch information
leandromonaco committed May 10, 2024
1 parent 5ae324f commit f45eae6
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions src/AI/ollama.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

https://ollama.com

Install WSL `wsl --install` (setup admin credentials)

Run Linux on Windows
`wsl`

Update Ubuntu (admin credentials needed)
`sudo apt update`
`sudo apt upgrade -y`

Install Ollama
`curl -fsSL https://ollama.com/install.sh | sh`

Run Ollama
`ollama serve`

Check if Ollama is properly installed
http://localhost:11434

Pull LLM
`ollama pull llama2`

Run LLM
`ollama run llama2`


Run Open WebUI

`docker run -d -p 3000:8080 -e OLLAMA_BASE_URL=http://localhost:11434 -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main`

0 comments on commit f45eae6

Please sign in to comment.