0% found this document useful (0 votes)
134 views9 pages

Ollama Installation Guide

This document provides a step-by-step guide for installing Ollama and Open Web UI, including downloading necessary software like Docker and setting up the environment on both Mac and Windows systems. It outlines commands for running the Open Web UI and troubleshooting installation issues. Additionally, it includes instructions for pulling a lightweight model after installation.

Uploaded by

tara.wietecha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
134 views9 pages

Ollama Installation Guide

This document provides a step-by-step guide for installing Ollama and Open Web UI, including downloading necessary software like Docker and setting up the environment on both Mac and Windows systems. It outlines commands for running the Open Web UI and troubleshooting installation issues. Additionally, it includes instructions for pulling a lightweight model after installation.

Uploaded by

tara.wietecha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

A Step-by-Step Guide for Ollama and

Open Web UI Installation


By Yvonne Leung, PhD

College of Professional Studies

Northeastern University

1
STEP 1 Download Ollama directly
https://ollama.com/download

1. Select your OS system


2. If you have a mac, select Apple Silicon
(M chips) or Intel chip)

2
STEP 2 Download Docker Desktop
▪ Docker is your resource
manager
▪ Contain ollama + web ui
within your system
▪ Download:
https://www.docker.com
/products/docker-
desktop/
▪ Open it on your
computer

3
1. Go to your search bar Activate the Windows Subsystem for Linus
*****Windows need one extra step:
For details please watch: Windows Setup

3. Check Windows Subsystem for Linux

2. Type “Turn Windows features on or off”


STEP 3 Run Open WebUI (Mac Users)

• Go to Application -> Terminal


• Copy and paste this line in
terminal:
docker run -d -p 3000:8080 --add
host=host.docker.internal:host-
gateway -v open-
webui:/app/backend/data --name
open-webui --restart always
ghcr.io/open-webui/open-
webui:main
See Documentation: https://github.com/open-webui/open-webui

5 5
For GPU support (Windows Users)
In your search bar, type command prompt,
and then copy and paste:

docker run -d -p 3000:8080 --gpus=all -v


ollama:/root/.ollama -v open-
webui:/app/backend/data --name open-
webui --restart always ghcr.io/open-
webui/open-webui:ollama

Reference:
▪ https://www.gpu-mart.com/blog/how-
to-install-and-use-ollama-webui-on-
windows

See Documentation: https://github.com/open-webui/open-webui


6
STEP 4 Open Docker Desktop and Click Port(s) 3000:8080
Trouble Shooting
If something goes wrong, remove the existing Docker container and volume, and then start the
installation process again.
1. Stop and Remove the Container:
docker stop open-webui
docker rm open-webui
2. Remove the Docker Volume:
docker volume rm open-webui
3. Remove the WebUI image from the Docker Destop
4. Reinstall Open WebUI: Run the original Docker command to reinstall Open WebUI:
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-
webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-
webui:main
This will give you a fresh installation of Open WebUI.
After reinstalling, you can set up your admin password and other configurations as needed.

8
STEP 5 Pull (download) a light-weight model
In your Terminal/ Command Prompt, type:

ollama pull phi4-mini

New model phi-4


https://huggingface.co/microsoft/phi-4

You might also like