摘要:
因为缺乏系统,所以使用docker镜像模拟生成多个系统,用于练习集群的安装。 查看已有镜像 下载镜像: docker pull 镜像名:版本 修改版本 docker tag 原镜像:版本 镜像名 (如果不指定版本号的话,自动当作latest,后续使用时,不再需要版本号了) 查看容器 停止全部容器 删 阅读全文
posted @ 2017-08-01 17:50
猫不急
阅读(320)
评论(0)
推荐(0)
摘要:
因为缺乏系统,所以使用docker镜像模拟生成多个系统,用于练习集群的安装。 查看已有镜像 下载镜像: docker pull 镜像名:版本 修改版本 docker tag 原镜像:版本 镜像名 (如果不指定版本号的话,自动当作latest,后续使用时,不再需要版本号了) 查看容器 停止全部容器 删 阅读全文
posted @ 2017-08-01 17:50
猫不急
阅读(320)
评论(0)
推荐(0)
摘要:
生成对称密钥 执行以下命令,会在当前用户的.ssh目录下生成id_rsa和id_rsa_pub两个文件。 root用户:/root/.ssh 普通用户:/home/[username]/.ssh 配置被管理机器的免密 第一种方式: 可以直接将公钥写入authorized_keys文件中 第二种方式: 阅读全文
posted @ 2017-07-31 09:22
猫不急
阅读(244)
评论(0)
推荐(0)
摘要:
https://github.com/pingcap/docs-cn https://github.com/pingcap/docs-cn/blob/master/op-guide/binary-deployment.md TIDB推荐使用ansible安装 https://docs.ansible 阅读全文
posted @ 2017-07-26 14:19
猫不急
阅读(248)
评论(0)
推荐(0)
摘要:
看到一篇elasticssearch+kibanna的文章,觉得很好,不过例子是python的,所以使用java自己安装一下: https://mp.weixin.qq.com/s?__biz=MjM5MTYwMjI3Mw==&mid=2652095419&idx=1&sn=68f107ca6632 阅读全文
posted @ 2017-07-20 14:28
猫不急
阅读(754)
评论(0)
推荐(0)
摘要:
尝试使用fabric-sdk-java来连接fabric区块链。 fabric的安装可参考 http://www.cnblogs.com/maobuji/p/7204446.html 环境准备: JDK1.8、IDEA(带有maven,支持jdk1.8的就可以) IDEA插件安装: 需要安装Prot 阅读全文
posted @ 2017-07-19 16:41
猫不急
阅读(12194)
评论(1)
推荐(0)
摘要:
安装文档位置: https://github.com/hyperledger/fabric fabric代码托管地址 https://hyperledger-fabric.readthedocs.io/en/latest/ 在线文档地址 https://github.com/hyperledger/ 阅读全文
posted @ 2017-07-19 10:38
猫不急
阅读(5848)
评论(1)
推荐(0)
摘要:
chaincode:一种类似于智能合约的代码,通过执行这个代码与账本交互。chaincode存储在节点上 transaction:一次chaincode的运行过程 contract:满足某个条件下,将要运行的transaction block ledger:区块账本 存储于文件系统中。 存储于pee 阅读全文
posted @ 2017-07-05 15:08
猫不急
阅读(930)
评论(1)
推荐(0)
摘要:
参考资料 http://www.bubuko.com/infodetail-2092748.html http://www.ithao123.cn/content-11117437.html http://blog.csdn.net/remote_roamer/article/details/624 阅读全文
posted @ 2017-07-03 17:55
猫不急
阅读(373)
评论(0)
推荐(0)
摘要:
参考资料 由于fabric采用go语言编写,故需要安装go环境。 安装要求: Java VM version 8 or later. Eclipse 4.6 (Neon) or later. 1. JDK安装1.8以上+Eclipse 安装过程省略 2.安装go环境 https://golang.o 阅读全文
posted @ 2017-06-30 18:16
猫不急
阅读(614)
评论(0)
推荐(0)
摘要:
在进行镜像安装前,提供了一个sample脚本的下载,可以使用该脚本进行容器的启停。这里对该脚本进行分析。 fabric/release/linux-amd64/network_setup.sh 脚本提供了四个参数项目, 第一个:up down restart参数:可以进行容器的启停,这里主要关注up 阅读全文
posted @ 2017-06-29 14:54
猫不急
阅读(830)
评论(0)
推荐(0)
|