18c81758 by 周伟奇

Update README.md

1 parent b0e4531d
Showing 1 changed file with 12 additions and 0 deletions
...@@ -20,17 +20,23 @@ ...@@ -20,17 +20,23 @@
20 ## 2.服务部署 20 ## 2.服务部署
21 21
22 ### 2.1 授权管理 22 ### 2.1 授权管理
23
23 - 获取服务器信息,发给授权人员生成授权文件(已有授权文件忽略此步骤) 24 - 获取服务器信息,发给授权人员生成授权文件(已有授权文件忽略此步骤)
25
24 ``` 26 ```
25 bin/control.sh systeminfo 27 bin/control.sh systeminfo
26 ``` 28 ```
29
27 - 授权文件更新 30 - 授权文件更新
31
28 ``` 32 ```
29 bin/control.sh update_license /path_to/xxx.secret 33 bin/control.sh update_license /path_to/xxx.secret
30 ``` 34 ```
31 35
32 ### 2.2 配置文件 36 ### 2.2 配置文件
37
33 - 编辑`configs/settings.sh` 38 - 编辑`configs/settings.sh`
39
34 ``` 40 ```
35 # 日志目录 41 # 日志目录
36 LOG_BASE_DIR=${BASE_DIR}/logs 42 LOG_BASE_DIR=${BASE_DIR}/logs
...@@ -52,21 +58,27 @@ TRITON_GPUS=0 ...@@ -52,21 +58,27 @@ TRITON_GPUS=0
52 ``` 58 ```
53 59
54 ### 2.3 启动 60 ### 2.3 启动
61
55 ``` 62 ```
56 bin/control.sh start all 63 bin/control.sh start all
57 ``` 64 ```
58 65
59 ### 2.4 停止 66 ### 2.4 停止
67
60 ``` 68 ```
61 bin/control.sh stop all 69 bin/control.sh stop all
62 ``` 70 ```
63 71
64 ### 2.5 重启 72 ### 2.5 重启
73
65 - 重启后端服务,适用于只更新了授权文件 74 - 重启后端服务,适用于只更新了授权文件
75
66 ``` 76 ```
67 bin/control.sh restart backend 77 bin/control.sh restart backend
68 ``` 78 ```
79
69 - 重启所有,适用于更新了repo文件夹 80 - 重启所有,适用于更新了repo文件夹
81
70 ``` 82 ```
71 bin/control.sh restart all 83 bin/control.sh restart all
72 ``` 84 ```
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!