From 4c06449093cd3f3507ca41ce9a811ce8158011c5 Mon Sep 17 00:00:00 2001 From: asherli <444649358@qq.com> Date: Mon, 30 Sep 2024 14:54:13 +0800 Subject: [PATCH 1/3] use github url instead of osp --- ...3\272\351\223\276\350\277\207\347\250\213.md" | 2 +- 2.x/docs/console/console_of_java_sdk.md | 9 +++++---- 2.x/docs/installation.md | 2 +- 2.x/docs/manual/account.md | 16 +++++++++------- 2.x/docs/manual/distributed_storage.md | 2 +- 2.x/docs/manual/group_use_cases.md | 4 ++-- 2.x/docs/sdk/java_sdk/make_transaction.md | 2 +- 2.x/docs/sdk/java_sdk/quick_start.md | 2 +- 2.x/docs/tutorial/cdn.md | 6 +++--- 2.x/docs/tutorial/sdk_application.md | 2 +- 2.x/en/docs/manual/account.md | 2 +- 2.x/en/docs/tutorial/sdk_application.md | 2 +- 3.x/zh_CN/docs/develop/account.md | 4 ++-- 3.x/zh_CN/docs/develop/committee_usage.md | 4 ++-- 3.x/zh_CN/docs/develop/sdk/c_sdk/dylibs.md | 12 ++++++------ 3.x/zh_CN/docs/quick_start/air_installation.md | 4 ++-- 3.x/zh_CN/docs/tutorial/air/build_chain.md | 6 +++--- 3.x/zh_CN/docs/tutorial/air/storage_security.md | 2 +- 3.x/zh_CN/docs/tutorial/max/installation.md | 4 ++-- 3.x/zh_CN/docs/tutorial/pro/installation.md | 4 ++-- 20 files changed, 47 insertions(+), 44 deletions(-) diff --git "a/2.x/docs/articles/7_practice/\346\213\206\350\247\243build_chain.sh\350\247\243\350\257\273FISCO-BCOS\345\273\272\351\223\276\350\277\207\347\250\213.md" "b/2.x/docs/articles/7_practice/\346\213\206\350\247\243build_chain.sh\350\247\243\350\257\273FISCO-BCOS\345\273\272\351\223\276\350\277\207\347\250\213.md" index 59ec3e73d..314735300 100644 --- "a/2.x/docs/articles/7_practice/\346\213\206\350\247\243build_chain.sh\350\247\243\350\257\273FISCO-BCOS\345\273\272\351\223\276\350\277\207\347\250\213.md" +++ "b/2.x/docs/articles/7_practice/\346\213\206\350\247\243build_chain.sh\350\247\243\350\257\273FISCO-BCOS\345\273\272\351\223\276\350\277\207\347\250\213.md" @@ -29,7 +29,7 @@ bash build_chain.sh -l 127.0.0.1 -p 30300,20200,8545 [INFO] Downloading fisco-bcos binary from https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.9.0/fisco-bcos.tar.gz ... curl: (7) Failed to connect to github.com port 443: Connection refused ` -[INFO] Download speed is too low, try https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v2.9.0/fisco-bcos.tar.gz +[INFO] Download speed is too low, try https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.9.0/fisco-bcos.tar.gz 这里讲了我们去访问GitHub中下载FISCO-BCOS的压缩包,结果发现链接失败所以跳转到国内的码云中去下载 diff --git a/2.x/docs/console/console_of_java_sdk.md b/2.x/docs/console/console_of_java_sdk.md index f90e93cd9..d3c5a0d43 100644 --- a/2.x/docs/console/console_of_java_sdk.md +++ b/2.x/docs/console/console_of_java_sdk.md @@ -68,12 +68,13 @@ curl -#LO https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/downloa curl -#LO https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh && bash download_console.sh -v 0.6 ``` -```eval_rst + ### 配置控制台 - 区块链节点和证书的配置: diff --git a/2.x/docs/installation.md b/2.x/docs/installation.md index 9b32cde0f..b5b9b589c 100644 --- a/2.x/docs/installation.md +++ b/2.x/docs/installation.md @@ -69,7 +69,7 @@ curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.11.0/bui ```eval_rst .. note:: - - 如果因为网络问题导致长时间无法下载build_chain.sh脚本,请尝试 `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v2.11.0/build_chain.sh && chmod u+x build_chain.sh` + - 如果因为网络问题导致长时间无法下载build_chain.sh脚本,请尝试 `curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.11.0//build_chain.sh && chmod u+x build_chain.sh` ``` ![](./../images/installation/download_build_chain.gif) diff --git a/2.x/docs/manual/account.md b/2.x/docs/manual/account.md index 86513c939..8a27492e0 100644 --- a/2.x/docs/manual/account.md +++ b/2.x/docs/manual/account.md @@ -28,10 +28,11 @@ FISCO BCOS提供了脚本和Java SDK用以创建账户,同时也提供了Java curl -#LO https://raw.githubusercontent.com/FISCO-BCOS/console/master-2.0/tools/get_account.sh && chmod u+x get_account.sh && bash get_account.sh -h ``` -```eval_rst + 国密版本请使用下面的指令获取脚本 @@ -39,11 +40,12 @@ curl -#LO https://raw.githubusercontent.com/FISCO-BCOS/console/master-2.0/tools/ curl -#LO https://raw.githubusercontent.com/FISCO-BCOS/console/master-2.0/tools/get_gm_account.sh && chmod u+x get_gm_account.sh && bash get_gm_account.sh -h ``` -```eval_rst + 执行上面的指令,看到如下输出则下载到了正确的脚本,否则请重试。 ```bash diff --git a/2.x/docs/manual/distributed_storage.md b/2.x/docs/manual/distributed_storage.md index cc01be4dc..9408ff00f 100644 --- a/2.x/docs/manual/distributed_storage.md +++ b/2.x/docs/manual/distributed_storage.md @@ -253,7 +253,7 @@ cd ~/fisco curl -#LO https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh # 若因为网络问题导致长时间无法执行上面的命令,请尝试下面的命令: -https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/console/releases/v2.9.2/download_console.sh +https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh bash download_console.sh cp -n console/conf/config-example.toml console/conf/config.toml diff --git a/2.x/docs/manual/group_use_cases.md b/2.x/docs/manual/group_use_cases.md index 8345eba75..3537ad8ce 100644 --- a/2.x/docs/manual/group_use_cases.md +++ b/2.x/docs/manual/group_use_cases.md @@ -238,7 +238,7 @@ $ cd ~/fisco $ curl -#LO https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh && bash download_console.sh # 若因为网络问题导致长时间无法执行上面的命令,请尝试以下命令: -$ https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/console/releases/v2.9.2/download_console.sh && bash download_console.sh +$ https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh && bash download_console.sh # 进入控制台操作目录 $ cd console @@ -626,7 +626,7 @@ $ cd ~/fisco $ curl -#LO https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh && bash download_console.sh # 若因为网络问题导致长时间无法执行上面的命令,请尝试以下命令: -$ https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/console/releases/v2.9.2/download_console.sh && bash download_console.sh +$ https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh && bash download_console.sh ``` **配置控制台** diff --git a/2.x/docs/sdk/java_sdk/make_transaction.md b/2.x/docs/sdk/java_sdk/make_transaction.md index 5f136e677..38b43ad2b 100644 --- a/2.x/docs/sdk/java_sdk/make_transaction.md +++ b/2.x/docs/sdk/java_sdk/make_transaction.md @@ -24,7 +24,7 @@ $ mkdir -p ~/fisco && cd ~/fisco $ curl -#LO https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh # 若因为网络问题导致长时间无法执行以上命令,请尝试以下命令: -$ https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/console/releases/v2.9.2/download_console.sh +$ https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh $ bash download_console.sh ``` diff --git a/2.x/docs/sdk/java_sdk/quick_start.md b/2.x/docs/sdk/java_sdk/quick_start.md index d85512570..b124d9acc 100644 --- a/2.x/docs/sdk/java_sdk/quick_start.md +++ b/2.x/docs/sdk/java_sdk/quick_start.md @@ -111,7 +111,7 @@ $ mkdir -p ~/fisco && cd ~/fisco $ curl -#LO https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh # 若因为网络问题导致长时间无法执行以上命令,请尝试以下命令: -$ https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/console/releases/v2.9.2/download_console.sh +$ https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh $ bash download_console.sh $ cd ~/fisco/console diff --git a/2.x/docs/tutorial/cdn.md b/2.x/docs/tutorial/cdn.md index 28e271728..6cbec4c7e 100644 --- a/2.x/docs/tutorial/cdn.md +++ b/2.x/docs/tutorial/cdn.md @@ -51,9 +51,9 @@ FISCO BCOS国密版本需要使用TASSL生成国密版本的证书,部署工 FISCO BCOS在国密模式下使用sm2曲线和对应签名算法,在非国密场景使用secp256k1曲线和ecdsa签名算法。为方便用户提供了生成脚本,脚本生成私钥并以账户地址命名,支持PEM和PKCS12两种格式。详情请参考这里[https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/manual/account.html](https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/manual/account.html) -get_account.sh脚本依赖于openssl指令,用于生成secp256k1私钥,如果从GitHub下载失败,可以尝试镜像地址[https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_account.sh](https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_account.sh) +get_account.sh脚本依赖于openssl指令,用于生成secp256k1私钥,如果从GitHub下载失败,可以尝试镜像地址[https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_account.sh](https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_account.sh) -get_gm_account.sh脚本用于生成sm2私钥,依赖于TASSL。如果从GitHub下载失败,可以尝试镜像地址[https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_gm_account.sh](https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_gm_account.sh) +get_gm_account.sh脚本用于生成sm2私钥,依赖于TASSL。如果从GitHub下载失败,可以尝试镜像地址[https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_gm_account.sh](https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_gm_account.sh) ## 举例:使用国内镜像建链 @@ -66,7 +66,7 @@ get_gm_account.sh脚本用于生成sm2私钥,依赖于TASSL。如果从GitHub curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.11.0/build_chain.sh ``` -如果下载失败请尝试`curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v2.11.0/build_chain.sh` +如果下载失败请尝试`curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.11.0//build_chain.sh` ### 下载二进制程序 diff --git a/2.x/docs/tutorial/sdk_application.md b/2.x/docs/tutorial/sdk_application.md index b7fda41a3..e27fb4065 100644 --- a/2.x/docs/tutorial/sdk_application.md +++ b/2.x/docs/tutorial/sdk_application.md @@ -387,7 +387,7 @@ $ tar -zxf asset-app.tar.gz ```eval_rst .. note:: - - 如果因为网络问题导致长时间无法下载,请尝试将`199.232.28.133 raw.githubusercontent.com`追加到`/etc/hosts`中,或者请尝试 `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/asset-app.tar.gz` + - 如果因为网络问题导致长时间无法下载,请尝试将`199.232.28.133 raw.githubusercontent.com`追加到`/etc/hosts`中,或者请尝试 `curl -#LO https://gitee.com/FISCO-BCOS/console/raw/master/tools/asset-app.tar.gz` ``` ![](../../images/tutorial/download_asset.png) diff --git a/2.x/en/docs/manual/account.md b/2.x/en/docs/manual/account.md index 43e8d1bbe..061181d2a 100644 --- a/2.x/en/docs/manual/account.md +++ b/2.x/en/docs/manual/account.md @@ -27,7 +27,7 @@ curl -#LO https://raw.githubusercontent.com/FISCO-BCOS/console/master-2.0/tools/ ```eval_rst .. note:: - If the get_account.sh script cannot be downloaded for a long time due to network problems, try `curl -#LO https://gitee.com/FISCO-BCOS/console/raw/master-2.0/tools/get_account.sh && chmod u+x get_account.sh && bash get_account.sh -h` - - Please use `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/tassl-1.0.2/tassl.tar.gz`, and place in `~/.fisco/tassl` + - Please use `curl -#LO https://gitee.com/FISCO-BCOS/console/raw/master/tools/tassl-1.0.2/tassl.tar.gz`, and place in `~/.fisco/tassl` ``` If you use guomi version fisco, please execute below command to get `get_gm_account.sh` diff --git a/2.x/en/docs/tutorial/sdk_application.md b/2.x/en/docs/tutorial/sdk_application.md index 568d5e5b6..e740c190f 100644 --- a/2.x/en/docs/tutorial/sdk_application.md +++ b/2.x/en/docs/tutorial/sdk_application.md @@ -324,7 +324,7 @@ $ tar -zxf asset-app.tar.gz ```eval_rst .. note:: - - If the asset-app.tar.gz cannot be downloaded for a long time due to network problems, try `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/asset-app.tar.gz` + - If the asset-app.tar.gz cannot be downloaded for a long time due to network problems, try `curl -#LO https://gitee.com/FISCO-BCOS/console/raw/master/tools/asset-app.tar.gz` ``` The directory structure of the asset-app project is as follows: diff --git a/3.x/zh_CN/docs/develop/account.md b/3.x/zh_CN/docs/develop/account.md index c8564169e..17281a42a 100644 --- a/3.x/zh_CN/docs/develop/account.md +++ b/3.x/zh_CN/docs/develop/account.md @@ -30,7 +30,7 @@ curl -#LO https://raw.githubusercontent.com/FISCO-BCOS/console/master/tools/get_ ```eval_rst .. note:: - - 如果因为网络问题导致长时间无法下载,请尝试 `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_account.sh && chmod u+x get_account.sh && bash get_account.sh -h` + - 如果因为网络问题导致长时间无法下载,请尝试 `curl -#LO https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_account.sh && chmod u+x get_account.sh && bash get_account.sh -h` ``` 国密版本请使用下面的指令获取脚本 @@ -41,7 +41,7 @@ curl -#LO https://raw.githubusercontent.com/FISCO-BCOS/console/master/tools/get_ ```eval_rst .. note:: - - 如果因为网络问题导致长时间无法下载,请尝试 `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_gm_account.sh && chmod u+x get_gm_account.sh && bash get_gm_account.sh -h` + - 如果因为网络问题导致长时间无法下载,请尝试 `curl -#LO https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_gm_account.sh && chmod u+x get_gm_account.sh && bash get_gm_account.sh -h` ``` 执行上面的指令,看到如下输出则下载到了正确的脚本,否则请重试。 diff --git a/3.x/zh_CN/docs/develop/committee_usage.md b/3.x/zh_CN/docs/develop/committee_usage.md index f9337a6ed..af6524a6f 100644 --- a/3.x/zh_CN/docs/develop/committee_usage.md +++ b/3.x/zh_CN/docs/develop/committee_usage.md @@ -33,7 +33,7 @@ FISCO BCOS Air版的建链部署工具详情请参考:[Air版部署工具](../ ## 如果使用-A选项,则开启权限设置,并且随机生成一个账户地址,作为初始化治理委员的唯一admin账户 bash build_chain.sh -l 127.0.0.1:4 -o nodes -A -[INFO] Downloading fisco-bcos binary from https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.0.0/fisco-bcos-linux-x86_64.tar.gz ... +[INFO] Downloading fisco-bcos binary from https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.0.0/fisco-bcos-linux-x86_64.tar.gz ... ######################################################################## 100.0% [INFO] Generate ca cert successfully! Processing IP:127.0.0.1 Total:4 @@ -42,7 +42,7 @@ Processing IP:127.0.0.1 Total:4 [INFO] Generate nodes/127.0.0.1/node1/conf cert successful! [INFO] Generate nodes/127.0.0.1/node2/conf cert successful! [INFO] Generate nodes/127.0.0.1/node3/conf cert successful! -[INFO] Downloading get_account.sh from https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_account.sh... +[INFO] Downloading get_account.sh from https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_account.sh... ######################################################################## 100.0% [INFO] Generate uuid success: 4cf39d8a-9f9f-43d0-baa4-3b89d6c9e013 [INFO] Generate uuid success: 16d14ff1-b3f0-4104-8b3e-1bb5faf0ee12 diff --git a/3.x/zh_CN/docs/develop/sdk/c_sdk/dylibs.md b/3.x/zh_CN/docs/develop/sdk/c_sdk/dylibs.md index 3740fb7e7..5d38e8af3 100644 --- a/3.x/zh_CN/docs/develop/sdk/c_sdk/dylibs.md +++ b/3.x/zh_CN/docs/develop/sdk/c_sdk/dylibs.md @@ -10,19 +10,19 @@ - bcos-c-sdk.dll # windows dll - [github下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/bcos-c-sdk.dll) - - [CDN下载](https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/c-sdk/releases/v3.0.1/bcos-c-sdk.dll) + - [CDN下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download//v3.0.1/bcos-c-sdk.dll) - bcos-c-sdk.lib # windows dll symbol - [github下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/bcos-c-sdk.lib) - - [CDN下载](https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/c-sdk/releases/v3.0.1/bcos-c-sdk.lib) + - [CDN下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download//v3.0.1/bcos-c-sdk.lib) - libbcos-c-sdk-aarch64.so # linux arm64 - [github下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/libbcos-c-sdk-aarch64.so) - - [CDN下载](https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/c-sdk/releases/v3.0.1/libbcos-c-sdk-aarch64.so) + - [CDN下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download//v3.0.1/libbcos-c-sdk-aarch64.so) - libbcos-c-sdk.so # linux x64 - [github下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/libbcos-c-sdk.so) - - [CDN下载](https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/c-sdk/releases/v3.0.1/libbcos-c-sdk.so) + - [CDN下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download//v3.0.1/libbcos-c-sdk.so) - libbcos-c-sdk-aarch64.dylib # mac m1 - [github下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/libbcos-c-sdk-aarch64.dylib) - - [CDN下载](https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/c-sdk/releases/v3.0.1/libbcos-c-sdk-aarch64.dylib) + - [CDN下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download//v3.0.1/libbcos-c-sdk-aarch64.dylib) - libbcos-c-sdk.dylib # mac x64 - [github下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download/v3.0.1/libbcos-c-sdk.dylib) - - [CDN下载](https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/c-sdk/releases/v3.0.1/libbcos-c-sdk.dylib) + - [CDN下载](https://github.com/FISCO-BCOS/bcos-c-sdk/releases/download//v3.0.1/libbcos-c-sdk.dylib) diff --git a/3.x/zh_CN/docs/quick_start/air_installation.md b/3.x/zh_CN/docs/quick_start/air_installation.md index 38aa7ac88..8ebb9debc 100644 --- a/3.x/zh_CN/docs/quick_start/air_installation.md +++ b/3.x/zh_CN/docs/quick_start/air_installation.md @@ -49,7 +49,7 @@ sudo yum install -y curl openssl openssl-devel wget ```eval_rst .. note:: - 如果因为网络问题导致长时间无法下载build_chain.sh脚本,请尝试 curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.2.0/build_chain.sh && chmod u+x build_chain.sh + 如果因为网络问题导致长时间无法下载build_chain.sh脚本,请尝试 curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.2.0/build_chain.sh && chmod u+x build_chain.sh ``` ```shell @@ -60,7 +60,7 @@ cd ~ && mkdir -p fisco && cd fisco curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.2.0/build_chain.sh && chmod u+x build_chain.sh # Note: 若访问git网速太慢,可尝试如下命令下载建链脚本: -curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.2.0/build_chain.sh && chmod u+x build_chain.sh +curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.2.0/build_chain.sh && chmod u+x build_chain.sh ``` ### 第三步. 搭建4节点非国密联盟链 diff --git a/3.x/zh_CN/docs/tutorial/air/build_chain.md b/3.x/zh_CN/docs/tutorial/air/build_chain.md index 5fc34b689..940a8abab 100644 --- a/3.x/zh_CN/docs/tutorial/air/build_chain.md +++ b/3.x/zh_CN/docs/tutorial/air/build_chain.md @@ -30,7 +30,7 @@ FISCO BCOS提供了`build_chain.sh`脚本帮助用户快速搭建FISCO BCOS联 curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.2.0/build_chain.sh && chmod u+x build_chain.sh # Note: 若访问git网速太慢,可尝试如下命令下载建链脚本: -curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.2.0/build_chain.sh && chmod u+x build_chain.sh +curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.2.0/build_chain.sh && chmod u+x build_chain.sh # 键入bash build_chain.sh -h展示脚本用法及参数 $ bash build_chain.sh @@ -178,7 +178,7 @@ docker run -d --rm --name ${nodePath} -v ${nodePath}:/data --network=host -w=/da ```shell $ bash build_chain.sh -l 127.0.0.1:4 -A -[INFO] Downloading fisco-bcos binary from https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.2.0/fisco-bcos-macOS-x86_64.tar.gz ... +[INFO] Downloading fisco-bcos binary from https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.2.0/fisco-bcos-macOS-x86_64.tar.gz ... [INFO] Generate ca cert successfully! Processing IP:127.0.0.1 Total:4 [INFO] Generate ./nodes/127.0.0.1/sdk cert successful! @@ -186,7 +186,7 @@ Processing IP:127.0.0.1 Total:4 [INFO] Generate ./nodes/127.0.0.1/node1/conf cert successful! [INFO] Generate ./nodes/127.0.0.1/node2/conf cert successful! [INFO] Generate ./nodes/127.0.0.1/node3/conf cert successful! -[INFO] Downloading get_account.sh from https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/tools/get_account.sh... +[INFO] Downloading get_account.sh from https://gitee.com/FISCO-BCOS/console/raw/master/tools/get_account.sh... ============================================================== [INFO] fisco-bcos Path : bin/fisco-bcos [INFO] Auth Mode : true diff --git a/3.x/zh_CN/docs/tutorial/air/storage_security.md b/3.x/zh_CN/docs/tutorial/air/storage_security.md index a7e4de837..2e868e5e4 100644 --- a/3.x/zh_CN/docs/tutorial/air/storage_security.md +++ b/3.x/zh_CN/docs/tutorial/air/storage_security.md @@ -30,7 +30,7 @@ curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.2.0/buil ```eval_rst .. note:: - - 如果因为网络问题导致长时间无法下载build_chain.sh脚本,请尝试 `curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.2.0/build_chain.sh && chmod u+x build_chain.sh` + - 如果因为网络问题导致长时间无法下载build_chain.sh脚本,请尝试 `curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.2.0/build_chain.sh && chmod u+x build_chain.sh` ``` 部署四个节点: diff --git a/3.x/zh_CN/docs/tutorial/max/installation.md b/3.x/zh_CN/docs/tutorial/max/installation.md index 455d68825..cdc2354a6 100644 --- a/3.x/zh_CN/docs/tutorial/max/installation.md +++ b/3.x/zh_CN/docs/tutorial/max/installation.md @@ -45,7 +45,7 @@ brew install curl docker docker-compose python3 wget ```eval_rst .. note:: - 部署工具 ``BcosBuilder`` 配置和使用请参考 `这里 <./max_builder.html>`_ - - 若从github下载部署工具 ``BcosBuilder`` 网速太慢,请尝试: curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.2.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz + - 若从github下载部署工具 ``BcosBuilder`` 网速太慢,请尝试: curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.2.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz ``` ```shell @@ -56,7 +56,7 @@ mkdir -p ~/fisco && cd ~/fisco curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.2.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz # Note: 若网速太慢,可尝试如下命令下载部署脚本: -curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.2.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz +curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.2.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz # 安装构建工具依赖包 cd BcosBuilder && pip3 install -r requirements.txt diff --git a/3.x/zh_CN/docs/tutorial/pro/installation.md b/3.x/zh_CN/docs/tutorial/pro/installation.md index 5f92c0e76..294ebd86b 100644 --- a/3.x/zh_CN/docs/tutorial/pro/installation.md +++ b/3.x/zh_CN/docs/tutorial/pro/installation.md @@ -41,7 +41,7 @@ brew install curl docker docker-compose python3 wget ```eval_rst .. note:: - 部署工具 ``BcosBuilder`` 配置和使用请参考 `这里 <./pro_builder.html>`_ - - 若从github下载部署工具 ``BcosBuilder`` 网速太慢,请尝试: curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.2.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz + - 若从github下载部署工具 ``BcosBuilder`` 网速太慢,请尝试: curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.2.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz ``` ```shell @@ -52,7 +52,7 @@ mkdir -p ~/fisco && cd ~/fisco curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.2.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz # Note: 若网速太慢,可尝试如下命令下载部署脚本: -curl -#LO https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/FISCO-BCOS/FISCO-BCOS/releases/v3.2.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz +curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v3.2.0/BcosBuilder.tgz && tar -xvf BcosBuilder.tgz # 安装构建工具依赖包 cd BcosBuilder && pip3 install -r requirements.txt From 123411cf0db70925286882e51a7e1be927bfdd02 Mon Sep 17 00:00:00 2001 From: asherli <444649358@qq.com> Date: Mon, 30 Sep 2024 14:56:38 +0800 Subject: [PATCH 2/3] remove useless note --- 2.x/docs/console/console_of_java_sdk.md | 9 ++++----- 2.x/docs/manual/account.md | 10 ++++------ 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/2.x/docs/console/console_of_java_sdk.md b/2.x/docs/console/console_of_java_sdk.md index d3c5a0d43..72957b74d 100644 --- a/2.x/docs/console/console_of_java_sdk.md +++ b/2.x/docs/console/console_of_java_sdk.md @@ -68,13 +68,12 @@ curl -#LO https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/downloa curl -#LO https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh && bash download_console.sh -v 0.6 ``` - +``` ### 配置控制台 - 区块链节点和证书的配置: diff --git a/2.x/docs/manual/account.md b/2.x/docs/manual/account.md index 8a27492e0..6263ab410 100644 --- a/2.x/docs/manual/account.md +++ b/2.x/docs/manual/account.md @@ -28,11 +28,10 @@ FISCO BCOS提供了脚本和Java SDK用以创建账户,同时也提供了Java curl -#LO https://raw.githubusercontent.com/FISCO-BCOS/console/master-2.0/tools/get_account.sh && chmod u+x get_account.sh && bash get_account.sh -h ``` - +``` 国密版本请使用下面的指令获取脚本 @@ -40,12 +39,11 @@ TODO: 目前gitee限流,gitee也无法下载 先注释 curl -#LO https://raw.githubusercontent.com/FISCO-BCOS/console/master-2.0/tools/get_gm_account.sh && chmod u+x get_gm_account.sh && bash get_gm_account.sh -h ``` - +``` 执行上面的指令,看到如下输出则下载到了正确的脚本,否则请重试。 ```bash From f76763aeab18ab1eb14348ec34a36bdfe97eaf20 Mon Sep 17 00:00:00 2001 From: asherli <444649358@qq.com> Date: Mon, 21 Oct 2024 14:13:46 +0800 Subject: [PATCH 3/3] add download tutorial --- 2.x/docs/installation.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/2.x/docs/installation.md b/2.x/docs/installation.md index b5b9b589c..c960c5bf4 100644 --- a/2.x/docs/installation.md +++ b/2.x/docs/installation.md @@ -85,6 +85,11 @@ curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.11.0/bui - 其中-g表示生成国密配置,-G表示使用国密SSL连接 ``` +```eval_rst +.. note:: + - 若下载fisco-bcos二进制或get_account.sh脚本失败,建议手动访问github release页面获取最新二进制,并使用-e命令指定节点 +``` + ```bash bash build_chain.sh -l 127.0.0.1:4 -p 30300,20200,8545 ```