From c63c9b5c8ad9f587e6d7fcbaf025d2a1bd69e8a2 Mon Sep 17 00:00:00 2001 From: ItzCrazyKns Date: Wed, 3 Jul 2024 21:02:21 +0530 Subject: [PATCH] feat(readme): update ollama guide --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index acd11f5..9e7f7d8 100644 --- a/README.md +++ b/README.md @@ -111,11 +111,7 @@ If you're encountering an Ollama connection error, it is likely due to the backe 3. **Linux Users - Expose Ollama to Network:** - - Serve Ollama over your network with the command: - - ```bash - OLLAMA_HOST=0.0.0.0 ollama serve - ``` + - Inside `/etc/systemd/system/ollama.service`, you need to add `Environment="OLLAMA_HOST=0.0.0.0"`. Then restart Ollama by `systemctl restart ollama`. For more information see [Ollama docs](https://github.com/ollama/ollama/blob/main/docs/faq.md#setting-environment-variables-on-linux) - Ensure that the port (default is 11434) is not blocked by your firewall.