ebiz commited on
Commit
6b19707
β€’
1 Parent(s): 650e63c
Files changed (1) hide show
  1. process_one.sh +7 -9
process_one.sh CHANGED
@@ -3,19 +3,17 @@
3
 
4
  echo "calling process one......!"
5
 
6
- sudo su
7
-
8
- sudo curl https://ollama.ai/install.sh | sh
9
 
10
  echo "ollama installed here..."
11
 
12
- sudo ollama serve &
13
  # nohup ollama serve > output.log 2>&1 &
14
- sudo mkdir -p /etc/systemd/system/ollama.service.d
15
- sudo echo "[Service]" >>/etc/systemd/system/ollama.service.d/environment.conf
16
- sudo echo "ollama served"
17
 
18
- sudo ollama run llama2 &
19
  # nohup ollama run llama2 > output.log 2>&1 &
20
 
21
- sudo echo "llama2 running"
 
3
 
4
  echo "calling process one......!"
5
 
6
+ curl https://ollama.ai/install.sh | sh
 
 
7
 
8
  echo "ollama installed here..."
9
 
10
+ ollama serve &
11
  # nohup ollama serve > output.log 2>&1 &
12
+ mkdir -p /etc/systemd/system/ollama.service.d
13
+ echo "[Service]" >>/etc/systemd/system/ollama.service.d/environment.conf
14
+ echo "ollama served"
15
 
16
+ ollama run llama2 &
17
  # nohup ollama run llama2 > output.log 2>&1 &
18
 
19
+ echo "llama2 running"