Ollama
Store mode in external hardisk
https://github.com/ollama/ollama/issues/2322
export OLLAMA_MODELS=/path/to/my/disk/models
export OLLAMA_MODELS=/media/amiya/Elements/ollama/models
./ollama serve
Resume download
https://github.com/ollama/ollama/issues/695
export OLLAMA_NOPRUNE=true ollama serve
Deepseek
https://ollama.com/library/deepseek-r1:1.5b
1.1 GB
ollama run deepseek-r1:1.5b
Ubuntu Stop and start
sudo service ollama stop
sudo service ollama start
sudo systemctl edit ollama.service
[Service]
Environment="OLLAMA_MODELS=/media/amiya/Elements/ollama/models"
sudo systemctl daemon-reload
sudo systemctl restart ollama