用户工具

站点工具


development:fabric

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
development:fabric [2020/02/09 13:40] madsdevelopment:fabric [2023/11/10 12:13] (当前版本) – 外部编辑 127.0.0.1
行 1: 行 1:
 ====== Hyperledger Fabric ====== ====== Hyperledger Fabric ======
 +
 ==== 1 Go ==== ==== 1 Go ====
 === 1.1 下载安装 === === 1.1 下载安装 ===
行 11: 行 12:
 cd /usr/local/go cd /usr/local/go
 ls ls
 +</code>
 +
 +也可以用以下命令安装(ubuntu系统)
 +<code>
 +mkdir /usr/local/go
 +cd /usr/local/go
 +wget https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz
 </code> </code>
  
行 31: 行 39:
 </code> </code>
  
-最后配置GOBIN,并将GOBIN添加至环境变量中。+配置GOBIN,并将GOBIN添加至环境变量中。
 <code> <code>
 export GOBIN=$GOROOT/bin export GOBIN=$GOROOT/bin
行 37: 行 45:
 </code> </code>
  
 +最后在终端中输入如下命令,使环境变量生效:
 +<code>
 +source .profile
 +</code>
 ==== 2 docker ==== ==== 2 docker ====
 === 2.1 安装docker === === 2.1 安装docker ===
行 149: 行 161:
 ==== 4 references ==== ==== 4 references ====
 https://golang.google.cn/doc/install https://golang.google.cn/doc/install
 +
 https://mirrors.tuna.tsinghua.edu.cn/help/docker-ce https://mirrors.tuna.tsinghua.edu.cn/help/docker-ce
 +
 https://www.runoob.com/docker/ubuntu-docker-install.html https://www.runoob.com/docker/ubuntu-docker-install.html
 +
 https://hlf.readthedocs.io/en/latest/prereqs.html https://hlf.readthedocs.io/en/latest/prereqs.html
development/fabric.1581226845.txt.gz · 最后更改: 2023/11/10 12:12 (外部编辑)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki