Safeguard for noexec

We may have users that run into problems with our current
payload model, so this gives us an escape valve.
This commit is contained in:
Daniel Hiltgen
2024-03-28 14:26:17 -07:00
parent 10ed1b6292
commit 0a74cb31d5
2 changed files with 19 additions and 3 deletions

View File

@@ -76,3 +76,10 @@ install script which version to install.
```sh
curl -fsSL https://ollama.com/install.sh | OLLAMA_VERSION="0.1.29" sh
```
## Linux tmp noexec
If your system is configured with the "noexec" flag where Ollama stores its
temporary executable files, you can specify an alternate location by setting
OLLAMA_TMPDIR to a location writable by the user ollama runs as. For example
OLLAMA_TMPDIR=/usr/share/ollama/