BCSkill (Block chain skill )
区块链中文技术社区

只讨论区块链底层技术
遵守一切相关法律政策!

ubuntu搭建个人WDCP

1. 下载wdcP

wget http://dl.wdlinux.cn/files/lanmp_v3.tar.gz

2. 解压

tar -xzvf lanmp_v3.tar.gz

3. 编译

sudo sh lanmp.sh

如果出现以下错误

编译中,开始报错:81: [: !=: unexpected operator 类似这样的编译错误,各种操作符不允许,不识别!

解决此问题的方法

sudo dpkg-reconfigure dash


选择 <NO>
然后再次编译,这个过程会很长,大概15分钟的样子~

OK,这个时候测试一下:
浏览器输入http://本地ip:8080
访问后台

默认用户名: admin
默认密码: wdlinux.cn

创建默认的genesis.json

创建genesis.json文件

 nodeos --extract-genesis-json genesis.json

打印genesis-json

--print-genesis-json

response_content_length >= 0: Invalid content-length response

EOS版本更新到 1.0.9+

root@iZ2zea5mjpcmz9m17k56daZ:~# cleos create account eosio eosio.token EOS5M2sNqDPZtQoBcRMnPQEnY1MJaVtdWWPx7A3UpcLgtzdLusFVW
420867ms thread-0   main.cpp:2756                 main                 ] Failed with error: Assert Exception (10)
response_content_length >= 0: Invalid content-length response

打开 keosd 的config.ini ubuntu的位置在 ~/eosio-wallet
修改(旧版添加) http-validate-host = false

如果此处无创建config.ini,则keosd可能加载的 ~/.local/share/eosio/nodeos/config/config.ini种的配置,修改此文件种的 http-validate-host = false
修改文件后pkill keosd 重启nodeos
github issues

EOS memo 最大字节数

不能超过256字节

Error 3050003: eosio_assert_message assertion failure
Error Details:
assertion failure with message: memo has more than 256 bytes