[GH-ISSUE #6478] Add linux start command to docs #66114

Closed
opened 2026-05-04 00:01:49 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @bdytx5 on GitHub (Aug 23, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6478

nohup ollama serve &

Originally created by @bdytx5 on GitHub (Aug 23, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6478 nohup ollama serve &
GiteaMirror added the feature request label 2026-05-04 00:01:49 -05:00
Author
Owner

@rick-github commented on GitHub (Aug 23, 2024):

If the recommended way to install ollama is followed, ollama will be started automatically.

If the service is installed manually, ollama can be started on linux with sudo systemctl start ollama.

<!-- gh-comment-id:2307383146 --> @rick-github commented on GitHub (Aug 23, 2024): If the recommended way to install ollama is followed, ollama will be started automatically. If the service is installed manually, ollama can be started on linux with [`sudo systemctl start ollama`](https://github.com/ollama/ollama/blob/main/docs/linux.md#start-ollama).
Author
Owner

@jmorganca commented on GitHub (Aug 23, 2024):

Thanks @rick-github ! As Rick mentioned, the default uses systemd. Other ways are possible as well, but we try to keep focused on ollama serve

<!-- gh-comment-id:2307798636 --> @jmorganca commented on GitHub (Aug 23, 2024): Thanks @rick-github ! As Rick mentioned, the default uses systemd. Other ways are possible as well, but we try to keep focused on `ollama serve`
Author
Owner

@bdytx5 commented on GitHub (Aug 23, 2024):

In my case, I was using a container that did not support systemctl. Also, its a bit confusing what the difference between start and serve is?

<!-- gh-comment-id:2307917031 --> @bdytx5 commented on GitHub (Aug 23, 2024): In my case, I was using a container that did not support systemctl. Also, its a bit confusing what the difference between start and serve is?
Author
Owner

@rick-github commented on GitHub (Aug 23, 2024):

start and serve are synonyms for ollama, they do the same thing. If you are running ollama in a container, the act of starting the container (docker run or docker compose up) will start the server.

<!-- gh-comment-id:2307919277 --> @rick-github commented on GitHub (Aug 23, 2024): `start` and `serve` are synonyms for ollama, they do the same thing. If you are running ollama in a [container](https://hub.docker.com/r/ollama/ollama), the act of starting the container (`docker run` or `docker compose up`) will start the server.
Author
Owner

@bdytx5 commented on GitHub (Aug 24, 2024):

In my case, I don't have control over starting the container, as this was a vast ai instance. Also, I think it would make more sense to just have one start command?

<!-- gh-comment-id:2308523841 --> @bdytx5 commented on GitHub (Aug 24, 2024): In my case, I don't have control over starting the container, as this was a vast ai instance. Also, I think it would make more sense to just have one start command?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#66114