1.启动fabric-ca
fabric-ca编译时遇到问题
1>go get下载缓慢或者毫无反应
$ cd $GOPATH/src/github.com/hyperledger
$ git clone https://github.com/hyperledger/fabric-ca.git
2>编译出错 make –
将go语言从1.9.2升级到1.10.4,问题解决
3>将项目推到重做时,将/opt/app/fabric-ca/server中所有的东西删掉,只留下应用程序fabric-ca-server和fabric-ca-client。
4>7054端口也要停掉(解除占用)。
1、lsof -i:端口号 用于查看某一端口的占用情况,比如查看8000端口使用情况,lsof -i:8000
2、netstat -tunlp |grep 端口号,用于查看指定的端口号的进程情况,如查看8000端口的情况,netstat -tunlp |grep 8000
netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name