Update oli

This commit is contained in:
2026-08-06 01:10:14 +00:00
parent 40bb2f9dc9
commit 59b1569641
+13 -6
View File
@@ -1,14 +1,11 @@
#!/bin/bash #!/bin/bash
##OLLAMA
##DEPS/REQS ##DEPS/REQS
sudo apt install curl git snap python3 pip pipx docker.io sudo apt install curl git snap python3 pip pipx docker.io
##REPO/PKG MANAGER INSTALL ##REPO/PKG MANAGER INSTALL
#snap install ollama #snap install ollama
#snap install ollama-webui #snap install ollama-webui
#snap install open-webui
#pip install open-webui --break-system-packages
##MANUAL INSTALL ##MANUAL INSTALL
curl -fsSL https://ollama.com/install.sh | sh curl -fsSL https://ollama.com/install.sh | sh
ollama serve ollama serve
@@ -16,13 +13,23 @@ ollama serve
ollama run llama3.2 ollama run llama3.2
curl -LsSf https://astral.sh/uv/install.sh | sh curl -LsSf https://astral.sh/uv/install.sh | sh
##OPEN-WEBUI
##PIP INSTALL
#pip install open-webui --break-system-packages
#open-webui serve
##UVX
#curl -LsSf https://astral.sh/uv/install.sh | sh
#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
##OPEN-TERMINAL ##OPEN-TERMINAL
##BAREMETAL (PIP) ##PIP
#pip install open-terminal #pip install open-terminal
#open-terminal run --host 0.0.0.0 --port 8000 --api-key open-terminal-api-key #open-terminal run --host 0.0.0.0 --port 8000 --api-key open-terminal-api-key
##UVX ##UVX
#uvx open-terminal run --host 0.0.0.0 --port 8000 --api-key open-terminal-api-key #uvx open-terminal run --host 0.0.0.0 --port 8000 --api-key open-terminal-api-key
##DOCKER CONTAINED ##DOCKER
sudo docker run -d --name open-terminal --restart unless-stopped -p 8000:8000 -v open-terminal:/home -e OPEN_TERMINAL_API_KEY=open-terminal-api-key ghcr.io/open-webui/open-terminal sudo docker run -d --name open-terminal --restart unless-stopped -p 8000:8000 -v open-terminal:/home -e OPEN_TERMINAL_API_KEY=open-terminal-api-key ghcr.io/open-webui/open-terminal
##OPEN-INTERPRETER ##OPEN-INTERPRETER