Zack Saadioui
8/27/2024
1
2
bash
curl -fsSL https://ollama.com/install.sh | sh
1
2
bash
brew install ollama
1
2
bash
ollama pull llama3
1
2
bash
ollama run llama3
1
2
bash
ollama list
1
2
bash
launchctl setenv OLLAMA_HOST "0.0.0.0"
1
2
bash
systemctl edit ollama.service
1
[Service]
1
2
bash
Environment="OLLAMA_HOST=0.0.0.0"
1
2
3
bash
systemctl daemon-reload
systemctl restart ollama
1
OLLAMA_HOST
1
OLLAMA_MODELS
1
OLLAMA_KEEP_ALIVE
1
2
bash
docker run -d -p 11434:11434 ollama/ollama
1
http://localhost:11434
Copyright © Arsturn 2025