chatbot-hf / process_one.sh
ebiz
changes
6b19707
raw
history blame
411 Bytes
#!/usr/bin/bash
echo "calling process one......!"
curl https://ollama.ai/install.sh | sh
echo "ollama installed here..."
ollama serve &
# nohup ollama serve > output.log 2>&1 &
mkdir -p /etc/systemd/system/ollama.service.d
echo "[Service]" >>/etc/systemd/system/ollama.service.d/environment.conf
echo "ollama served"
ollama run llama2 &
# nohup ollama run llama2 > output.log 2>&1 &
echo "llama2 running"