generated from Meekdai/Gmeek-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
一,安装依赖
- 安装java(推荐14,实测11也可用)
apt install -y default-jdk- 获取控制台并返回fisco目录
cd ~/fisco && curl -LO https://github.com/FISCO-BCOS/console/releases/download/v2.9.2/download_console.sh && bash download_console.sh
:::tip{title="提示"}
如无法连接到github,则使用 cd ~/fisco && curl -#LO https://gitee.com/FISCO-BCOS/console/raw/master-2.0/tools/download_console.sh && bash download_console.sh
:::
- 拷贝控制台配置文件
若节点未采用默认端口,请将文件中的20200替换成节点对应的channel端口。
cp -n console/conf/config-example.toml console/conf/config.toml- 配置控制台证书
cp -r nodes/127.0.0.1/sdk/* console/conf/二,启动并使用控制台
- 启动
cd ~/fisco/console && bash start.sh
:::tip{title="提示"}
合约存储在console/contracts/solidity/文件夹中
:::
至此,控制台搭建完毕
本文链接源自https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/installation.html#id8


