Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
d8842b4d
"vscode:/vscode.git/clone" did not exist on "2cb1842852edbf44f00a9823a69cd6074c6a03ab"
Commit
d8842b4d
authored
Nov 16, 2023
by
Michael Yang
Browse files
update faq
parent
585f9c01
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
docs/faq.md
docs/faq.md
+4
-4
No files found.
docs/faq.md
View file @
d8842b4d
...
@@ -32,11 +32,11 @@ Create a `systemd` drop-in directory and set `Environment=OLLAMA_HOST`
...
@@ -32,11 +32,11 @@ Create a `systemd` drop-in directory and set `Environment=OLLAMA_HOST`
```
bash
```
bash
mkdir
-p
/etc/systemd/system/ollama.service.d
mkdir
-p
/etc/systemd/system/ollama.service.d
echo
"
[Service]
"
>>
/etc/systemd/system/ollama.service.d/environment.conf
echo
'
[Service]
'
>>
/etc/systemd/system/ollama.service.d/environment.conf
```
```
```
bash
```
bash
echo
"
Environment=OLLAMA_HOST=0.0.0.0:11434"
>>
/etc/systemd/system/ollama.service.d/environment.conf
echo
'
Environment=
"
OLLAMA_HOST=0.0.0.0:11434"
'
>>
/etc/systemd/system/ollama.service.d/environment.conf
```
```
Reload
`systemd`
and restart Ollama:
Reload
`systemd`
and restart Ollama:
...
@@ -59,7 +59,7 @@ OLLAMA_ORIGINS=http://192.168.1.1:*,https://example.com ollama serve
...
@@ -59,7 +59,7 @@ OLLAMA_ORIGINS=http://192.168.1.1:*,https://example.com ollama serve
On Linux:
On Linux:
```
bash
```
bash
echo
"
Environment=OLLAMA_ORIGINS=http://129.168.1.1:*,https://example.com"
>>
/etc/systemd/system/ollama.service.d/environment.conf
echo
'
Environment=
"
OLLAMA_ORIGINS=http://129.168.1.1:*,https://example.com"
'
>>
/etc/systemd/system/ollama.service.d/environment.conf
```
```
Reload
`systemd`
and restart Ollama:
Reload
`systemd`
and restart Ollama:
...
@@ -118,7 +118,7 @@ HTTPS_PROXY=http://proxy.example.com ollama serve
...
@@ -118,7 +118,7 @@ HTTPS_PROXY=http://proxy.example.com ollama serve
On Linux:
On Linux:
```
bash
```
bash
echo
"
Environment=HTTPS_PROXY=https://proxy.example.com"
>>
/etc/systemd/system/ollama.service.d/environment.conf
echo
'
Environment=
"
HTTPS_PROXY=https://proxy.example.com"
'
>>
/etc/systemd/system/ollama.service.d/environment.conf
```
```
Reload
`systemd`
and restart Ollama:
Reload
`systemd`
and restart Ollama:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment