Qilan2 commited on
Commit
b0fc9ef
·
verified ·
1 Parent(s): 1425ee0

Create start_server2.sh

Browse files
Files changed (1) hide show
  1. start_server2.sh +23 -0
start_server2.sh ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # wget https://huggingface.co/datasets/Qilan2/st-server/raw/main/server10v.py -O /data/server10.py
3
+
4
+ # wget https://huggingface.co/datasets/Qilan2/st-server/raw/main/sbx/b.py -O /data/b.py
5
+ # # ls
6
+ # chmod +x /data/b.py /data/server10.py
7
+ # nohup python /data/server10.py > /data/server10.log 2>&1 &
8
+
9
+ # python /data/b.py
10
+
11
+ # # nohup python /data/b.py > /data/b.log 2>&1 &
12
+ # # tail -f /data/server10.log
13
+ source /opt/venv/bin/activate
14
+ nohup python /data/server.py > /data/server10.log 2>&1 &
15
+ python /data/b.py
16
+ # jupyter lab \
17
+ # --ip=0.0.0.0 \
18
+ # --port=7860 \
19
+ # --no-browser \
20
+ # --allow-root \
21
+ # --notebook-dir=/data \
22
+ # --NotebookApp.token='qilan' \
23
+ # --ServerApp.disable_check_xsrf=True