Add Llama bash installation script
This commit is contained in:
parent
91b271910f
commit
604523ba1f
9
BashScripts/install-ollama.sh
Normal file
9
BashScripts/install-ollama.sh
Normal file
@ -0,0 +1,9 @@
|
||||
# Make sure script is ran as root
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
exec sudo /bin/bash "$0" "$@"
|
||||
fi
|
||||
|
||||
curl -fsSL https://ollama.com/install.sh | sh
|
||||
ollama serve
|
||||
|
||||
# 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
|
Loading…
x
Reference in New Issue
Block a user