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