blockchain-explorer搭建区块链浏览器平台

源码地址
https://github.com/hyperledger/blockchain-explorer
借鉴网址:
https://blog.csdn.net/github_39365240/article/details/82381011
https://www.jianshu.com/p/eac679b2e871

安装postsql
https://blog.csdn.net/wang1144/article/details/53424043
https://blog.csdn.net/weixin_39077573/article/details/78148049
ubuntu14.04

sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main"
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql-9.6

错误解决:
https://stackoverflow.com/questions/52174042/error-in-hyperledger-explorer-configuration

清理日志
初始化数据库
/usr/pgsql-9.6/bin/postgresql96-setup initdb
以命令行方式删除:
dropdb fabricexplorer
以SQL方法删除:
DROP DATABASE fabricexplorer;

你可能感兴趣的:(hyperledger)