linux一键启动长安链
在linux服务器上输入如下脚本,即可一键启动,测试长安链
curl -sSL https://docs.chainmaker.org.cn/scripts/bootstrap.sh | bash -s -- 2.3.0 2.3.0 -t
参数说明:
@param 2.3.0 长安链版本
@param 2.3.0 长安链CA版本
@param -t 发送一些测试交易
tips:
- 默认启用 12301/12302/12303/12304 11301/11302/11303/11304端口,请提前准备好。
- 需gcc7.3+编译环境
- 需go 16+环境
- 需输入长安链仓库的用户名密码
需要输入2遍用户名密码:
可以在 https://git.chainmaker.org.cn/ 网站注册账号。
最终结果:
# 查看使用帮助
curl -sSL https://docs.chainmaker.org.cn/scripts/bootstrap.sh | bash -s -- -h