区块链Fisco Bcos3.0 console控制台的独立安装

兰涛 lands

在进行下述操作之前请先完成第一章的 centos 环境安装

并且保证系统有 java8 环境(sudo apt install openjdk-8-jdk

下载控制台

1
2
3
#
cd ~/fisco && curl - #LO https://gitee.com/FISCO-BCOS/console/raw/master/tools/download_console.sh
bash download_console.sh

配置文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[cryptoMaterial]

certPath = "conf" # The certification path
disableSsl = "false" # Communication with nodes without SSL
useSMCrypto = "true" # RPC SM crypto type

# The following configurations take the certPath by default if commented
# caCert = "conf/ca.crt" # CA cert file path
# sslCert = "conf/sdk.crt" # SSL cert file path
# sslKey = "conf/sdk.key" # SSL key file path

# The following configurations take the sm certPath by default if commented
# caCert = "conf/sm_ca.crt" # SM CA cert file path
# sslCert = "conf/sm_sdk.crt" # SM SSL cert file path
# sslKey = "conf/sm_sdk.key" # SM SSL key file path
# enSslCert = "conf/sm_ensdk.crt" # SM encryption cert file path
# enSslKey = "conf/sm_ensdk.key" # SM ssl cert file path

[network]
messageTimeout = "10000"
defaultGroup="group0" # 默认链接的群组
peers=["10.10.141.57:20200"] # RPC地址集 控制台与区块链的链接是通过RPC链接的。网关是用于节点与节点之间共识用的

[account]
keyStoreDir = "account" # The directory to load/store the account file, default is "account"
# accountFilePath = "" # The account file path (default load from the path specified by the keyStoreDir)
accountFileFormat = "pem" # The storage format of account file (Default is "pem", "p12" as an option)

# accountAddress = "" # The transactions sending account address
# Default is a randomly generated account
# The randomly generated account is stored in the path specified by the keyStoreDir

# password = "" # The password used to load the account file

[threadPool]
# threadPoolSize = "16" # The size of the thread pool to process message callback
# Default is the number of cpu cores

复制 RPC 证书

将 rpc 服务的证书复制到 console/conf 下

  • 标题: 区块链Fisco Bcos3.0 console控制台的独立安装
  • 作者: 兰涛
  • 创建于 : 2023-11-25 16:38:16
  • 更新于 : 2024-01-26 09:53:39
  • 链接: https://lands.work/9d06d8b3/
  • 版权声明: 本文章采用 CC BY-NC-SA 4.0 进行许可。
评论
此页目录
区块链Fisco Bcos3.0 console控制台的独立安装