Created
May 19, 2025 19:15
-
-
Save Manojbhat09/001ab594d5653a2a26baafd25a6210ea to your computer and use it in GitHub Desktop.
Ollama settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir /home/mbhat/.ollama/models | |
ln -s /mnt/k/ollama_models /home/mbhat/.ollama/models | |
export OLLAMA_MODELS=/mnt/k/ollama_models | |
sudo nano /etc/resolv.conf | |
nameserver 8.8.8.8 | |
nameserver 1.1.1.1 | |
sudo ufw allow 11434/tcp | |
export OLLAMA_FLASH_ATTENTION=1 | |
export OLLAMA_HOST=0.0.0.0:11434 | |
export OLLAMA_ORIGINS="*" | |
export OLLAMA_KEEP_ALIVE=-1 | |
ollama serve |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment