docs: add customization section in linux.md (#7709)
This commit is contained in:
parent
4759d879f2
commit
b42a596425
1 changed files with 16 additions and 1 deletions
|
@ -112,6 +112,21 @@ sudo systemctl status ollama
|
||||||
> https://www.amd.com/en/support/linux-drivers for best support of your Radeon
|
> https://www.amd.com/en/support/linux-drivers for best support of your Radeon
|
||||||
> GPU.
|
> GPU.
|
||||||
|
|
||||||
|
## Customizing
|
||||||
|
|
||||||
|
To customize the installation of Ollama, you can edit the systemd service file or the environment variables by running:
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo systemctl edit ollama
|
||||||
|
```
|
||||||
|
|
||||||
|
Alternatively, create an override file manually in `/etc/systemd/system/ollama.service.d/override.conf`:
|
||||||
|
|
||||||
|
```ini
|
||||||
|
[Service]
|
||||||
|
Environment="OLLAMA_DEBUG=1"
|
||||||
|
```
|
||||||
|
|
||||||
## Updating
|
## Updating
|
||||||
|
|
||||||
Update Ollama by running the install script again:
|
Update Ollama by running the install script again:
|
||||||
|
@ -129,7 +144,7 @@ sudo tar -C /usr -xzf ollama-linux-amd64.tgz
|
||||||
|
|
||||||
## Installing specific versions
|
## Installing specific versions
|
||||||
|
|
||||||
Use `OLLAMA_VERSION` environment variable with the install script to install a specific version of Ollama, including pre-releases. You can find the version numbers in the [releases page](https://github.com/ollama/ollama/releases).
|
Use `OLLAMA_VERSION` environment variable with the install script to install a specific version of Ollama, including pre-releases. You can find the version numbers in the [releases page](https://github.com/ollama/ollama/releases).
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue