Skip to content

Commit bec246e

Browse files
committed
Site updated: 2019-01-30 17:59:37
1 parent b0c76ca commit bec246e

File tree

13 files changed

+40
-60
lines changed

13 files changed

+40
-60
lines changed

2019/01/26/hello-cpc/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ <h1 class="post-title" itemprop="name headline">hello,cpc</h1>
555555
</div>
556556

557557

558-
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 强力驱动</div>
558+
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 提供</div>
559559

560560

561561

2019/01/26/hyperledger fabric1.4/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ <h2 id="下载源码"><a href="#下载源码" class="headerlink" title="下载
630630
</div>
631631

632632

633-
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 强力驱动</div>
633+
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 提供</div>
634634

635635

636636

about/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ <h1 class="post-title" itemprop="name headline">about</h1>
412412
</div>
413413

414414

415-
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 强力驱动</div>
415+
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 提供</div>
416416

417417

418418

archives/2019/01/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ <h2 class="post-title">
467467
</div>
468468

469469

470-
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 强力驱动</div>
470+
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 提供</div>
471471

472472

473473

archives/2019/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ <h2 class="post-title">
467467
</div>
468468

469469

470-
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 强力驱动</div>
470+
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 提供</div>
471471

472472

473473

archives/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ <h2 class="post-title">
467467
</div>
468468

469469

470-
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 强力驱动</div>
470+
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 提供</div>
471471

472472

473473

categories/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ <h1 class="post-title" itemprop="name headline">categories</h1>
408408
</div>
409409

410410

411-
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 强力驱动</div>
411+
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 提供</div>
412412

413413

414414

index.html

+28-48
Original file line numberDiff line numberDiff line change
@@ -341,53 +341,26 @@ <h1 class="post-title" itemprop="name headline">
341341

342342

343343

344-
<h1 id="hyperledger-fabric部署搭建"><a href="#hyperledger-fabric部署搭建" class="headerlink" title="hyperledger fabric部署搭建"></a>hyperledger fabric部署搭建</h1><h2 id="服务器准备"><a href="#服务器准备" class="headerlink" title="服务器准备"></a>服务器准备</h2><ul>
345-
<li>CentOS7.3以上</li>
346-
</ul>
347-
<h2 id="环境准备"><a href="#环境准备" class="headerlink" title="环境准备"></a>环境准备</h2><ol>
348-
<li>安装git&amp;wget&amp;vim</li>
349-
</ol>
350-
<p><code>yum install -y git wget vim</code></p>
351-
<ol start="2">
352-
<li>安装docker </li>
353-
</ol>
354-
<p>docker版本需要17.06.2-ce以上</p>
355-
<p><code>yum install -y docker</code></p>
356-
<p>启动docker</p>
357-
<p><code>service docker start</code></p>
358-
<ol start="3">
359-
<li>安装docker-compose</li>
360-
</ol>
361-
<p>docker-compose版本需要1.14以上</p>
362-
<p><code>sudo curl -L &quot;https://github.com/docker/compose/releases/download/1.23.0/docker-compose-$(uname -s)-$(uname -m)&quot; -o /usr/local/bin/docker-compose</code></p>
363-
<p><code>sudo chmod +x /usr/local/bin/docker-compose</code></p>
364-
<p><code>sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose</code></p>
365-
<ol start="4">
366-
<li>安装go</li>
367-
</ol>
368-
<p>go版本需要1.10以上</p>
369-
<p><code>wget https://dl.google.com/go/go1.11.5.linux-amd64.tar.gz</code></p>
370-
<p><code>tar zxvf go1.11.5.linux-amd64.tar.gz -C /usr/local</code></p>
371-
<p><code>vim /etc/profile</code></p>
372-
<p>末尾加入如下环境<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">export PATH=$PATH:/usr/local/go/bin</span><br><span class="line">export GOROOT=/usr/local/go </span><br><span class="line">export GOPATH=/root/go</span><br><span class="line">export PATH=$PATH:$GOROOT/bin</span><br></pre></td></tr></table></figure></p>
373-
<p><code>source /etc/profile</code></p>
374-
<ol start="5">
375-
<li><p>检查环境</p>
376-
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">git version 1.8.3.1 </span><br><span class="line">Docker version 1.13.1, build 07f3374/1.13.1 </span><br><span class="line">docker-compose version 1.23.0, build c8524dc1 </span><br><span class="line">go version go1.11.5 linux/amd64</span><br></pre></td></tr></table></figure>
377-
</li>
378-
<li><p>设置docker代理</p>
379-
</li>
380-
</ol>
381-
<p><a href="https://cr.console.aliyun.com/cn-hangzhou/mirrors" target="_blank" rel="noopener">阿里云代理地址</a><br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line">sudo mkdir -p /etc/docker</span><br><span class="line">sudo tee /etc/docker/daemon.json &lt;&lt;-&apos;EOF&apos;</span><br><span class="line"></span><br><span class="line">&#123;</span><br><span class="line"> &quot;registry-mirrors&quot;: [&quot;你的阿里云代理地址&quot;]</span><br><span class="line">&#125;</span><br><span class="line">EOF</span><br><span class="line"></span><br><span class="line">sudo systemctl daemon-reload</span><br><span class="line">sudo systemctl restart docker</span><br></pre></td></tr></table></figure></p>
382-
<h2 id="下载源码"><a href="#下载源码" class="headerlink" title="下载源码"></a>下载源码</h2><p><strong>创建文件夹目录</strong>:</p>
383-
<p><code>mkdir go/src/github.com/hyperledger -p</code></p>
384-
<p><code>cd go/src/github.com/hyperledger</code></p>
385-
<p><strong>下载源码</strong>:</p>
386-
<p><code>git clone -b release-1.4 https://github.com/hyperledger/fabric.git</code></p>
387-
<p><code>git clone -b release-1.4 https://github.com/hyperledger/fabric-samples.git</code></p>
388-
<p>如果bootstrap脚本执行不了,或者报错可以直接进入 <a href="https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric/linux-amd64-1.4.0/hyperledger-fabric-linux-amd64-1.4.0.tar.gz" target="_blank" rel="noopener">下载链接</a> 下载后导入到相应的位置。</p>
344+
hyperledger fabric部署搭建服务器准备
345+
CentOS7.3以上
389346

390-
347+
环境准备
348+
安装git&amp;wget&amp;vim
349+
350+
yum install -y git wget vim
351+
352+
安装docker
353+
354+
docker版本需要17.06.2-ce以上
355+
yum install -y do
356+
...
357+
<!--noindex-->
358+
<div class="post-button text-center">
359+
<a class="btn" href="/2019/01/26/hyperledger fabric1.4/#more" rel="contents">
360+
阅读全文 &raquo;
361+
</a>
362+
</div>
363+
<!--/noindex-->
391364

392365

393366
</div>
@@ -526,8 +499,15 @@ <h1 class="post-title" itemprop="name headline">
526499

527500

528501

529-
530502

503+
504+
<!--noindex-->
505+
<div class="post-button text-center">
506+
<a class="btn" href="/2019/01/26/hello-cpc/#more" rel="contents">
507+
阅读全文 &raquo;
508+
</a>
509+
</div>
510+
<!--/noindex-->
531511

532512

533513
</div>
@@ -696,7 +676,7 @@ <h1 class="post-title" itemprop="name headline">
696676
</div>
697677

698678

699-
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 强力驱动</div>
679+
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 提供</div>
700680

701681

702682

schedule/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ <h1 class="post-title" itemprop="name headline">schedule</h1>
408408
</div>
409409

410410

411-
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 强力驱动</div>
411+
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 提供</div>
412412

413413

414414

tags/fabric/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ <h2 class="post-title">
412412
</div>
413413

414414

415-
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 强力驱动</div>
415+
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 提供</div>
416416

417417

418418

tags/hyperledger/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ <h2 class="post-title">
412412
</div>
413413

414414

415-
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 强力驱动</div>
415+
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 提供</div>
416416

417417

418418

tags/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ <h1 class="post-title" itemprop="name headline">标签</h1>
415415
</div>
416416

417417

418-
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 强力驱动</div>
418+
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 提供</div>
419419

420420

421421

tags/test/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ <h2 class="post-title">
412412
</div>
413413

414414

415-
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 强力驱动</div>
415+
<div class="powered-by"><a class="theme-link" target="_blank" href="#">ChaoxCpc</a> 提供</div>
416416

417417

418418

0 commit comments

Comments
 (0)