From 3f372b7deda3d59bde6049c2082fb6df3784e098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=B8=E9=9B=81?= Date: Tue, 8 Aug 2023 17:33:26 +0800 Subject: [PATCH] docs ssl --- funasr/runtime/docs/SDK_tutorial.md | 33 +++---------------------- funasr/runtime/docs/SDK_tutorial_zh.md | 34 +++----------------------- 2 files changed, 7 insertions(+), 60 deletions(-) diff --git a/funasr/runtime/docs/SDK_tutorial.md b/funasr/runtime/docs/SDK_tutorial.md index 2784d575f..48eadfd32 100644 --- a/funasr/runtime/docs/SDK_tutorial.md +++ b/funasr/runtime/docs/SDK_tutorial.md @@ -155,42 +155,15 @@ sudo bash funasr-runtime-deploy-offline-cpu-zh.sh update --decode_thread_num 32 sudo bash funasr-runtime-deploy-offline-cpu-zh.sh update --workspace /root/funasr-runtime-resources ``` - -## Detailed Configuration of Server Startup Process - -### Select FunASR Docker image -We recommend choosing to use our latest released image, but you can also choose historical versions. - -```text -[1/5] - Getting the list of docker images, please wait a few seconds. - [DONE] - - Please choose the Docker image. - 1) registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-cpu-0.1.0 - Enter your choice, default(1): - You have chosen the Docker image: registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-cpu-0.1.0 -``` - - -### Set the port provided by the host for FunASR -Set the host port provided to Docker, which is 10095 by default. Please make sure that this port is available. - -```text -[2/5] - Please input the opened port in the host used for FunASR server. - Setting the opened host port [1-65535], default(10095): - The port of the host is 10095 - The port in Docker for FunASR server is 10095 -``` - ### Set SSL SSL verification is enabled by default. If you need to disable it, you can set it when starting. ```shell -sudo bash funasr-runtime-deploy-offline-cpu-zh.sh --ssl 0 +sudo bash funasr-runtime-deploy-online-cpu-zh.sh update --ssl 0 ``` + + ## Contact Us If you encounter any problems during use, please join our user group for feedback. diff --git a/funasr/runtime/docs/SDK_tutorial_zh.md b/funasr/runtime/docs/SDK_tutorial_zh.md index f023b7059..94a947910 100644 --- a/funasr/runtime/docs/SDK_tutorial_zh.md +++ b/funasr/runtime/docs/SDK_tutorial_zh.md @@ -157,40 +157,14 @@ sudo bash funasr-runtime-deploy-offline-cpu-zh.sh update --decode_thread_num 32 sudo bash funasr-runtime-deploy-offline-cpu-zh.sh update --workspace /root/funasr-runtime-resources ``` +### 关闭SSL证书 -## 服务端启动过程配置详解 - -### 选择FunASR Docker镜像 -推荐选择1)使用我们的最新发布版镜像,也可选择历史版本。 -```text -[1/5] - Getting the list of docker images, please wait a few seconds. - [DONE] - - Please choose the Docker image. - 1) registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-cpu-0.1.0 - Enter your choice, default(1): - You have chosen the Docker image: registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-cpu-0.1.0 -``` - - -### 设置宿主机提供给FunASR的端口 -设置提供给Docker的宿主机端口,默认为10095。请保证此端口可用。 -```text -[2/5] - Please input the opened port in the host used for FunASR server. - Setting the opened host port [1-65535], default(10095): - The port of the host is 10095 - The port in Docker for FunASR server is 10095 -``` - -### 设置SSL - -默认开启SSL校验,如果需要关闭,可以在启动时设置 ```shell -sudo bash funasr-runtime-deploy-offline-cpu-zh.sh --ssl 0 +sudo bash funasr-runtime-deploy-online-cpu-zh.sh update --ssl 0 ``` + + ## 联系我们 在您使用过程中,如果遇到问题,欢迎加入用户群进行反馈