curl -fsSL https://ollama.com/install.sh | sh
service ollama start
ollama run llama2
mkdir -p /etc/systemd/system/ollama.service.d
echo “[Service]” >>/etc/systemd/system/ollama.service.d/environment.conf
echo “Environment=OLLAMA_HOST=0.0.0.0:11434”
>>/etc/systemd/system/ollama.service.d/environment.conf
systemctl daemon-reload
systemctl restart ollama