Files
Oli/oli
T

45 lines
1.6 KiB
Bash
Raw Normal View History

2026-04-14 20:27:13 +00:00
#!/bin/bash
2026-08-06 01:10:14 +00:00
##OLLAMA
2026-06-28 21:05:39 +00:00
##DEPS/REQS
2026-08-06 00:11:47 +00:00
sudo apt install curl git snap python3 pip pipx docker.io
2026-06-28 21:05:39 +00:00
##REPO/PKG MANAGER INSTALL
2026-04-14 20:27:13 +00:00
#snap install ollama
#snap install ollama-webui
2026-06-28 21:05:39 +00:00
##MANUAL INSTALL
2026-07-30 12:40:23 +00:00
curl -fsSL https://ollama.com/install.sh | sh
ollama serve
2026-06-28 21:05:39 +00:00
#sudo systemctl status ollama
2026-07-30 12:40:23 +00:00
ollama run llama3.2
curl -LsSf https://astral.sh/uv/install.sh | sh
2026-08-06 00:55:48 +00:00
2026-08-06 01:10:14 +00:00
##OPEN-WEBUI
##PIP INSTALL
#pip install open-webui --break-system-packages
#open-webui serve
##UVX
2026-08-06 01:39:03 +00:00
curl -LsSf https://astral.sh/uv/install.sh | sh
2026-08-06 01:10:14 +00:00
#DATA_DIR=~/.open-webui uvx --python 3.11 open-webui@latest serve
##DOCKER INSTALL
#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
2026-07-18 20:18:31 +00:00
##OPEN-TERMINAL
2026-08-06 01:10:14 +00:00
##PIP
2026-08-05 23:11:33 +00:00
#pip install open-terminal
2026-08-06 00:55:48 +00:00
#open-terminal run --host 0.0.0.0 --port 8000 --api-key open-terminal-api-key
##UVX
#uvx open-terminal run --host 0.0.0.0 --port 8000 --api-key open-terminal-api-key
2026-08-06 01:10:14 +00:00
##DOCKER
2026-08-06 04:13:00 +00:00
sudo docker run -d --name open-terminal --restart unless-stopped -p 8000:8000 -v open-terminal:/home -e OPEN_TERMINAL_MULTI_USER=false -e OPEN_TERMINAL_API_KEY=open-terminal-api-key ghcr.io/open-webui/open-terminal
##DOCKER MULTI-USER
#sudo docker run -d --name open-terminal --restart unless-stopped -p 8000:8000 -v open-terminal:/home -e OPEN_TERMINAL_MULTI_USER=true -e OPEN_TERMINAL_API_KEY=open-terminal-api-key ghcr.io/open-webui/open-terminal
2026-08-06 00:55:48 +00:00
2026-07-18 20:18:31 +00:00
##OPEN-INTERPRETER
#pip install open-interpreter
2026-06-28 21:05:39 +00:00
2026-07-30 12:56:14 +00:00
##INSTALL OL TO BIN
chmod +x ol; sudo cp ol /usr/local/bin/
2026-06-28 21:05:39 +00:00
##RUN
2026-07-01 06:37:53 +00:00
DATA_DIR=~/.open-webui .local/bin/uvx --python 3.11 open-webui@latest serve --port 8088