mirror of https://github.com/ollama/ollama.git
Merge 7536f697ab
into bc71278670
This commit is contained in:
commit
1cd53b57f1
|
@ -209,7 +209,7 @@ Refer to the section [above](#how-do-i-configure-ollama-server) for how to set e
|
|||
## Where are models stored?
|
||||
|
||||
- macOS: `~/.ollama/models`
|
||||
- Linux: `/usr/share/ollama/.ollama/models`
|
||||
- Linux: `/var/lib/ollama/.ollama/models`
|
||||
- Windows: `C:\Users\%username%\.ollama\models`
|
||||
|
||||
### How do I set them to a different location?
|
||||
|
|
|
@ -60,7 +60,7 @@ sudo tar -C /usr -xzf ollama-linux-arm64.tgz
|
|||
Create a user and group for Ollama:
|
||||
|
||||
```shell
|
||||
sudo useradd -r -s /bin/false -U -m -d /usr/share/ollama ollama
|
||||
sudo useradd -r -s /bin/false -U -m -d /var/lib/ollama ollama
|
||||
sudo usermod -a -G ollama $(whoami)
|
||||
```
|
||||
|
||||
|
@ -187,7 +187,7 @@ sudo rm $(which ollama)
|
|||
Remove the downloaded models and Ollama service user and group:
|
||||
|
||||
```shell
|
||||
sudo rm -r /usr/share/ollama
|
||||
sudo rm -r /var/lib/ollama
|
||||
sudo userdel ollama
|
||||
sudo groupdel ollama
|
||||
```
|
||||
|
|
|
@ -116,7 +116,7 @@ trap install_success EXIT
|
|||
configure_systemd() {
|
||||
if ! id ollama >/dev/null 2>&1; then
|
||||
status "Creating ollama user..."
|
||||
$SUDO useradd -r -s /bin/false -U -m -d /usr/share/ollama ollama
|
||||
$SUDO useradd -r -s /bin/false -U -m -d /var/lib/ollama ollama
|
||||
fi
|
||||
if getent group render >/dev/null 2>&1; then
|
||||
status "Adding ollama user to render group..."
|
||||
|
|
Loading…
Reference in New Issue