{"id":47433,"date":"2024-01-13T08:11:19","date_gmt":"2023-05-10T04:00:55","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-oracle-cloud-infrastructure-%e4%b8%8a%e8%bf%90%e8%a1%8c-hyperledger-fabric\/"},"modified":"2024-05-04T18:12:07","modified_gmt":"2024-05-04T10:12:07","slug":"%e5%9c%a8-oracle-cloud-infrastructure-%e4%b8%8a%e8%bf%90%e8%a1%8c-hyperledger-fabric","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-oracle-cloud-infrastructure-%e4%b8%8a%e8%bf%90%e8%a1%8c-hyperledger-fabric\/","title":{"rendered":"\u5728 Oracle Cloud Infrastructure \u4e0a\u8fd0\u884c Hyperledger Fabric"},"content":{"rendered":"<h1>\u9996\u5148<\/h1>\n<p>\u5728\u5e74\u5e95\u9605\u8bfb\u4e86\u4ee5\u4e0b\u5185\u5bb9\u540e\uff0c\u6211\u5bf9\u533a\u5757\u94fe\u4ea7\u751f\u4e86\u5174\u8da3\u3002<br \/>\n\u6bd4\u7279\u5e01\u548c\u533a\u5757\u94fe\uff1a\u652f\u6491\u52a0\u5bc6\u8d27\u5e01\u7684\u6280\u672f<br \/>\n\u4ece\u90a3\u65f6\u8d77\uff0c\u6211\u5f00\u59cb\u5728\u5de5\u4f5c\u4e2d\u4ee5\u53ca\u8eab\u8fb9\u7684\u4e91\u73af\u5883\u4e2d\u51c6\u5907 Hyperledger \u73af\u5883\u3002<\/p>\n<h1>OCI\u73af\u5883\u7684\u8bbe\u7f6e<\/h1>\n<p>\u8bf7\u53c2\u8003\u4ee5\u4e0b\u5185\u5bb9\u8bbe\u7f6eOCI\u73af\u5883\u3002<br \/>\n\u6559\u7a0b\uff1a\u5c1d\u8bd5\u4f7f\u7528Oracle Cloud Infrastructure<br \/>\n\u514d\u8d39\u8bd5\u7528\u73af\u5883\u5df2\u8db3\u591f\u3002\u53ef\u4f7f\u7528300\u7f8e\u5143\uff08\u7ea6\u5408\u4eba\u6c11\u5e0135,000\u5143\uff09\u621630\u5929\u3002<br \/>\n\u514d\u8d39\u8bd5\u7528 | Oracle Cloud<br \/>\n\uff08\u6ce8\u518c\u65f6\u9700\u8981\u63d0\u4f9b\u4fe1\u7528\u5361\u53f7\u548c\u7528\u4e8e\u672c\u4eba\u786e\u8ba4\u7684\u7535\u8bdd\u53f7\u7801\uff08\u901a\u8fc7\u77ed\u4fe1\u63a5\u6536\u8ba4\u8bc1\u7801\uff09\u3002<br \/>\n\u5982\u679c\u4e0d\u5347\u7ea7\u8d26\u6237\uff0c\u4e0d\u4f1a\u5bf9\u4fe1\u7528\u5361\u8fdb\u884c\u4efb\u4f55\u8d39\u7528\u3002\uff09<\/p>\n<h2>\u73af\u5883\u8bbe\u7f6e\u6982\u8ff0<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d7eb9913a08637a6a4009\/5-0.png\" alt=\"hl0001.PNG\" \/><\/div>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d7eb9913a08637a6a4009\/6-1.png\" alt=\"hl002.PNG\" \/><\/div>\n<h1>Hyperledger\u73af\u5883\u7684\u8bbe\u7f6e<\/h1>\n<p>\u6839\u636e\u4ee5\u4e0b\u6587\u4ef6\u8fdb\u884c\u8bbe\u7f6e\u3002<br \/>\n\u6b22\u8fce\u4f7f\u7528Hyperledger Fabric<br \/>\n\u524d\u63d0\u6761\u4ef6<\/p>\n<h3>\u5b89\u88c5cURL<\/h3>\n<p>cURL \u5df2\u7ecf\u4e0b\u8f7d\u4e86\u6700\u65b0\u7248\u3002<\/p>\n<pre class=\"post-pre\"><code>[opc@kokane-hl ~]$ sudo yum install -y curl\r\n(\u7701\u7565)\r\nPackage curl-7.29.0-42.el7_4.1.x86_64 already installed and latest version\r\n<\/code><\/pre>\n<h3>\u5b89\u88c5Docker<\/h3>\n<p>\u6211\u5c06\u4f7f\u7528\u4e0b\u9762\u7684\u53c2\u8003\u8fdb\u884c\u5b89\u88c5\uff0c\u5728\u5b58\u50a8\u5e93\u4e2d\u8fdb\u884c\u5b89\u88c5\u3002<br \/>\n\u83b7\u53d6 CentOS \u4e0a\u7684Docker CE\u3002<\/p>\n<h5>\u5378\u8f7d\u65e7\u7248\u672c<\/h5>\n<p>\u6ca1\u6709\u4ec0\u4e48\u7279\u522b\u7684\u3002<\/p>\n<pre class=\"post-pre\"><code>[opc@kokane-hl ~]$ sudo yum remove docker docker-common docker-selinux docker-engine\r\nLoaded plugins: fastestmirror, langpacks\r\nNo Match for argument: dockerdocker-commondocker-selinuxdocker-engine\r\nNo Packages marked for removal\r\n<\/code><\/pre>\n<h5>\u4e0d\u9700\u8981\u66f4\u65b0 yum-utils\u3001device-mapper\u548clvm2\u3002<\/h5>\n<pre class=\"post-pre\"><code>[opc@kokane-hl ~]$ sudo yum install -y yum-utils device-mapper-persistent-data lvm2\r\nLoaded plugins: fastestmirror, langpacks\r\nLoading mirror speeds from cached hostfile\r\n * base: mirror.us.oneandone.net\r\n * epel: dl.fedoraproject.org\r\n * extras: ftp.usf.edu\r\n * updates: repos-tx.psychz.net\r\nPackage yum-utils-1.1.31-42.el7.noarch already installed and latest version\r\nPackage device-mapper-persistent-data-0.7.0-0.1.rc6.el7.x86_64 already installed and latest version\r\nPackage 7:lvm2-2.02.171-8.el7.x86_64 already installed and latest version\r\nNothing to do\r\n<\/code><\/pre>\n<h5>\u6dfb\u52a0\u7a33\u5b9a\u7248\u5b58\u50a8\u5e93<\/h5>\n<pre class=\"post-pre\"><code>[opc@kokane-hl ~]$ sudo yum-config-manager --add-repo https:\/\/download.docker.co\r\nm\/linux\/centos\/docker-ce.repo\r\nLoaded plugins: fastestmirror, langpacks\r\nadding repo from: https:\/\/download.docker.com\/linux\/centos\/docker-ce.repo\r\ngrabbing file https:\/\/download.docker.com\/linux\/centos\/docker-ce.repo to \/etc\/yum.repos.d\/docker-ce.repo\r\nrepo saved to \/etc\/yum.repos.d\/docker-ce.repo\r\n<\/code><\/pre>\n<h5>\u66f4\u65b0 yum \u8f6f\u4ef6\u5305\u7d22\u5f15<\/h5>\n<p>\u51fa\u4e8e\u793c\u8c8c\u7684\u539f\u56e0\uff0c\u6211\u8fd8\u662f\u505a\u4e00\u4e0b\u3002<\/p>\n<pre class=\"post-pre\"><code>[opc@kokane-hl ~]$ sudo yum makecache fast\r\nLoaded plugins: fastestmirror, langpacks\r\nbase                                                     | 3.6 kB     00:00\r\ndocker-ce-stable                                         | 2.9 kB     00:00\r\nepel\/x86_64\/metalink                                     |  16 kB     00:00\r\nextras                                                   | 3.4 kB     00:00\r\nupdates                                                  | 3.4 kB     00:00\r\ndocker-ce-stable\/x86_64\/primary_db                         |  11 kB   00:00\r\nLoading mirror speeds from cached hostfile\r\n * base: mirror.us.oneandone.net\r\n * epel: dl.fedoraproject.org\r\n * extras: ftp.usf.edu\r\n * updates: repos-tx.psychz.net\r\nMetadata Cache Created\r\n<\/code><\/pre>\n<h5>Docker CE\u7684\u5b89\u88c5<\/h5>\n<pre class=\"post-pre\"><code>[opc@kokane-hl ~]$ sudo yum install -y docker-ce\r\n(\u7701\u7565)\r\nInstalled:\r\n  docker-ce.x86_64 0:17.12.0.ce-1.el7.centos\r\n\r\nDependency Installed:\r\n  container-selinux.noarch 2:2.33-1.git86f33cd.el7\r\n  libtool-ltdl.x86_64 0:2.4.2-22.el7_3\r\n\r\nComplete!\r\n<\/code><\/pre>\n<h5>\u542f\u52a8Docker CE\u5e76\u8fd0\u884chello-world\u8fdb\u884c\u9a8c\u8bc1\u3002<\/h5>\n<pre class=\"post-pre\"><code>[opc@kokane-hl ~]$ sudo systemctl start docker\r\n[opc@kokane-hl ~]$ sudo docker run hello-world\r\nUnable to find image 'hello-world:latest' locally\r\nlatest: Pulling from library\/hello-world\r\nca4f61b1923c: Pull complete\r\nDigest: sha256:66ef312bbac49c39a89aa9bcc3cb4f3c9e7de3788c944158df3ee0176d32b751\r\nStatus: Downloaded newer image for hello-world:latest\r\n\r\nHello from Docker!\r\nThis message shows that your installation appears to be working correctly.\r\n<\/code><\/pre>\n<p>\u5c06 OPC \u7528\u6237\u6dfb\u52a0\u5230 Docker \u7ec4\u4e2d\u3002<\/p>\n<pre class=\"post-pre\"><code>[opc@kokane-hl ~]$ sudo gpasswd -a opc docker\r\n[opc@kokane-hl ~]$ sudo sytemctl restart docker\r\n<\/code><\/pre>\n<h3>\u5b89\u88c5 Docker Compose<\/h3>\n<p>\u5b89\u88c5Docker Compose<\/p>\n<pre class=\"post-pre\"><code>[opc@kokane-hl ~]$ sudo curl -L https:\/\/github.com\/docker\/compose\/releases\/download\/1.18.0\/docker-compose-`uname -s`-`uname -m` -o \/usr\/local\/bin\/docker-compose\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100   617    0   617    0     0   1297      0 --:--:-- --:--:-- --:--:--  1301\r\n100 8280k  100 8280k    0     0  2729k      0  0:00:03  0:00:03 --:--:-- 3570k\r\n[opc@kokane-hl ~]$ sudo chmod +x \/usr\/local\/bin\/docker-compose\r\n[opc@kokane-hl ~]$ docker-compose --version\r\ndocker-compose version 1.18.0, build 8dd22a9\r\n<\/code><\/pre>\n<h3>\u5b89\u88c5Go\u8bed\u8a00<\/h3>\n<p>\u8bf7\u53c2\u8003\u8fd9\u4e9b\u6307\u5357\uff1a\u53c2\u8003Go\u7f16\u7a0b\u8bed\u8a00\u5728Linux\u3001Mac OS X\u3001FreeBSD\u7cfb\u7edf\u4e0a\u5b89\u88c5\u7684tarball\u5305\u3002<\/p>\n<h5>\u4e0b\u8f7d tarball \u6587\u4ef6<\/h5>\n<pre class=\"post-pre\"><code>[opc@kokane-hl ~]$ cd \/tmp\r\n[opc@kokane-hl tmp]$ wget https:\/\/dl.google.com\/go\/go1.9.2.linux-amd64.tar.gz\r\n--2018-01-20 04:01:07--  https:\/\/dl.google.com\/go\/go1.9.2.linux-amd64.tar.gz\r\n(\u7701\u7565)\r\n2018-01-20 04:01:11 (26.4 MB\/s) - \u2018go1.9.2.linux-amd64.tar.gz\u2019 saved [104247844\/104247844]\r\n<\/code><\/pre>\n<h5>\u5c06 tarball \u89e3\u538b\u5230 \/usr\/local\u3002<\/h5>\n<pre class=\"post-pre\"><code>[opc@kokane-hl tmp]$ sudo tar -C \/usr\/local -xzf go1.9.2.linux-amd64.tar.gz\r\n<\/code><\/pre>\n<h5>\u5728\u8fd9\u91cc\u6dfb\u52a0\u8def\u5f84<\/h5>\n<p>\u5df2\u5c06\u5176\u6dfb\u52a0\u81f3 .bash_profile\u3002<\/p>\n<pre class=\"post-pre\"><code>[opc@kokane-hl ~]$ vi $HOME\/.bash_profile\r\nPATH=$PATH:$HOME\/.local\/bin:$HOME\/bin:\/usr\/local\/go\/bin\r\nexport PATH\r\n[opc@kokane-hl ~]$ source $HOME\/.bash_profile\r\n<\/code><\/pre>\n<h5>\u786e\u8ba4\u542f\u52a8<\/h5>\n<pre class=\"post-pre\"><code>[opc@kokane-hl ~]$ go version\r\ngo version go1.9.2 linux\/amd64\r\n<\/code><\/pre>\n<h5>\u8a2d\u7f6e GOPATH<\/h5>\n<pre class=\"post-pre\"><code>[opc@kokane-hl ~]$ vi $HOME\/.bash_profile\r\nexport GOPATH=$HOME\/go\r\nexport PATH=$PATH:$GOPATH\/bin\r\n[opc@kokane-hl ~]$ source $HOME\/.bash_profile\r\n[opc@kokane-hl ~]$ echo $GOPATH\r\n\/home\/opc\/go\r\n<\/code><\/pre>\n<h3>\u7701\u7565\u4e86node.js\u73af\u5883\u7684\u5b89\u88c5\u3002<\/h3>\n<p>\u7531\u4e8e\u4f3c\u4e4e\u65e0\u6cd5\u5b8c\u6210\u5e94\u7528\u7a0b\u5e8f\u7684\u5f00\u53d1\u90e8\u5206\uff0c\u6240\u4ee5\u6211\u4f1a\u7701\u7565\u5b83\u3002<\/p>\n<h3>\u5b89\u88c5 Git<\/h3>\n<p>\u6211\u5e0c\u671b\u4e0b\u8f09\u201c\u793a\u4f8b\u8173\u672c\u201d\uff0c\u6240\u4ee5\u6211\u8981\u5b89\u88ddgit\u3002<br \/>\n\u958b\u59cb\u4f7f\u7528git 1.5 &#8211; \u5b89\u88ddGit\u3002<\/p>\n<pre class=\"post-pre\"><code>[opc@kokane-hl ~]$ sudo yum install -y git-all\r\n[opc@kokane-hl ~]$ git --version\r\ngit version 1.8.3.1\r\n<\/code><\/pre>\n<h5>\u4e0b\u8f7d\u9762\u6599\u6837\u54c1<\/h5>\n<p>\u8d85\u7ea7\u8d26\u672c\u9762\u6599\u793a\u4f8b<\/p>\n<pre class=\"post-pre\"><code>[opc@kokane-hl ~]$ mkdir -p $HOME\/github.com\/hyperledger\r\n[opc@kokane-hl ~]$ cd $HOME\/github.com\/hyperledger\r\ngit clone https:\/\/github.com\/hyperledger\/fabric-samples.git\r\nCloning into 'fabric-samples'...\r\nremote: Counting objects: 970, done.\r\nremote: Compressing objects: 100% (2\/2), done.\r\nremote: Total 970 (delta 0), reused 0 (delta 0), pack-reused 968\r\nReceiving objects: 100% (970\/970), 337.53 KiB | 0 bytes\/s, done.\r\nResolving deltas: 100% (383\/383), done.\r\n<\/code><\/pre>\n<h5>\u4e0b\u8f7d\u7279\u5b9a\u5e73\u53f0\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6<\/h5>\n<p>\u63a5\u7740\u4e0a\u8ff0\u5185\u5bb9\uff0c\u6211\u4eec\u5c06\u4e0b\u8f7ddocker\u955c\u50cf\u7b49\u3002<\/p>\n<pre class=\"post-pre\"><code>[opc@kokane-hl local]$ sudo su\r\n[root@kokane-hl local]$ mkdir -p \/usr\/local\/hyperledger\r\n[root@kokane-hl local]$ cd \/usr\/local\/hyperledger\r\n[root@kokane-hl hyperledger]# curl -sSL https:\/\/goo.gl\/byy2Qj | bash -s 1.0.5\r\n[root@kokane-hl hyperledger]# exit\r\n[opc@kokane-hl bin]$ vi $HOME\/.bash_profile\r\nexport PATH=$PATH:\/usr\/local\/hyperledger\/bin\r\n[opc@kokane-hl bin]$ source $HOME\/.bash_profile\r\n<\/code><\/pre>\n<p>\u67e5\u770bDocker\u955c\u50cf\u65f6\uff0c\u53ef\u4ee5\u770b\u5230\u4e00\u6392\u6392\u7684Hyperledger Fabric\u955c\u50cf\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@kokane-hl hyperledger]# docker images\r\nREPOSITORY                     TAG                 IMAGE ID            CREATED             SIZE\r\nhyperledger\/fabric-tools       latest              6a8993b718c8        6 weeks ago         1.33GB\r\nhyperledger\/fabric-tools       x86_64-1.0.5        6a8993b718c8        6 weeks ago         1.33GB\r\nhyperledger\/fabric-couchdb     latest              9a58db2d2723        6 weeks ago         1.5GB\r\nhyperledger\/fabric-couchdb     x86_64-1.0.5        9a58db2d2723        6 weeks ago         1.5GB\r\nhyperledger\/fabric-kafka       latest              b8c5172bb83c        6 weeks ago         1.29GB\r\nhyperledger\/fabric-kafka       x86_64-1.0.5        b8c5172bb83c        6 weeks ago         1.29GB\r\nhyperledger\/fabric-zookeeper   latest              68945f4613fc        6 weeks ago         1.32GB\r\nhyperledger\/fabric-zookeeper   x86_64-1.0.5        68945f4613fc        6 weeks ago         1.32GB\r\nhyperledger\/fabric-orderer     latest              368c78b6f03b        6 weeks ago         151MB\r\nhyperledger\/fabric-orderer     x86_64-1.0.5        368c78b6f03b        6 weeks ago         151MB\r\nhyperledger\/fabric-peer        latest              c2ab022f0bdb        6 weeks ago         154MB\r\nhyperledger\/fabric-peer        x86_64-1.0.5        c2ab022f0bdb        6 weeks ago         154MB\r\nhyperledger\/fabric-javaenv     latest              50890cc3f0cd        6 weeks ago         1.41GB\r\nhyperledger\/fabric-javaenv     x86_64-1.0.5        50890cc3f0cd        6 weeks ago         1.41GB\r\nhyperledger\/fabric-ccenv       latest              33feadb8f7a6        6 weeks ago         1.28GB\r\nhyperledger\/fabric-ccenv       x86_64-1.0.5        33feadb8f7a6        6 weeks ago         1.28GB\r\nhyperledger\/fabric-ca          latest              002c9089e464        6 weeks ago         238MB\r\nhyperledger\/fabric-ca          x86_64-1.0.5        002c9089e464        6 weeks ago         238MB\r\nhello-world                    latest              f2a91732366c        2 months ago        1.85kB\r\n<\/code><\/pre>\n<h1>\u7b2c\u4e00\u4e2a\u7f51\u7edc<\/h1>\n<p>\u6309\u7167\u6559\u7a0b\u7684\u6b65\u9aa4\uff0c\u8bd5\u7740\u64cd\u4f5c\u4e00\u4e0b\u3002<\/p>\n<h3>\u5efa\u7acb\u60a8\u7684\u7b2c\u4e00\u4e2a\u7f51\u7edc<\/h3>\n<p>\u6784\u5efa\u4f60\u7684\u7b2c\u4e00\u4e2a\u7f51\u7edc<\/p>\n<pre class=\"post-pre\"><code>[opc@kokane-hl ~]$ cd $HOME\/github.com\/hyperledger\/fabric-samples\/first-network\r\n[opc@kokane-hl first-network]$ .\/byfn.sh -m generate\r\nGenerating certs and genesis block for with channel 'mychannel' and CLI timeout of '10'\r\nContinue (y\/n)? y\r\nproceeding ...\r\n\/usr\/local\/hyperledger\/bin\/cryptogen\r\n\r\n##########################################################\r\n##### Generate certificates using cryptogen tool #########\r\n##########################################################\r\norg1.example.com\r\norg2.example.com\r\n\r\n\/usr\/local\/hyperledger\/bin\/configtxgen\r\n##########################################################\r\n#########  Generating Orderer Genesis block ##############\r\n##########################################################\r\n2018-01-20 06:51:43.653 GMT [common\/configtx\/tool] main -&gt; INFO 001 Loading configuration\r\n2018-01-20 06:51:43.682 GMT [common\/configtx\/tool] doOutputBlock -&gt; INFO 002 Generating genesis block\r\n2018-01-20 06:51:43.684 GMT [common\/configtx\/tool] doOutputBlock -&gt; INFO 003 Writing genesis block\r\n\r\n#################################################################\r\n### Generating channel configuration transaction 'channel.tx' ###\r\n#################################################################\r\n2018-01-20 06:51:43.713 GMT [common\/configtx\/tool] main -&gt; INFO 001 Loading configuration\r\n2018-01-20 06:51:43.716 GMT [common\/configtx\/tool] doOutputChannelCreateTx -&gt; INFO 002 Generating new channel configtx\r\n2018-01-20 06:51:43.716 GMT [common\/configtx\/tool] doOutputChannelCreateTx -&gt; INFO 003 Writing new channel tx\r\n\r\n#################################################################\r\n#######    Generating anchor peer update for Org1MSP   ##########\r\n#################################################################\r\n2018-01-20 06:51:43.749 GMT [common\/configtx\/tool] main -&gt; INFO 001 Loading configuration\r\n2018-01-20 06:51:43.752 GMT [common\/configtx\/tool] doOutputAnchorPeersUpdate -&gt; INFO 002 Generating anchor peer update\r\n2018-01-20 06:51:43.752 GMT [common\/configtx\/tool] doOutputAnchorPeersUpdate -&gt; INFO 003 Writing anchor peer update\r\n\r\n#################################################################\r\n#######    Generating anchor peer update for Org2MSP   ##########\r\n#################################################################\r\n2018-01-20 06:51:43.780 GMT [common\/configtx\/tool] main -&gt; INFO 001 Loading configuration\r\n2018-01-20 06:51:43.783 GMT [common\/configtx\/tool] doOutputAnchorPeersUpdate -&gt; INFO 002 Generating anchor peer update\r\n2018-01-20 06:51:43.783 GMT [common\/configtx\/tool] doOutputAnchorPeersUpdate -&gt; INFO 003 Writing anchor peer update\r\n\r\n[opc@kokane-hl first-network]$ .\/byfn.sh -m up\r\nStarting with channel 'mychannel' and CLI timeout of '10'\r\nContinue (y\/n)? y\r\nproceeding ...\r\nCreating peer0.org1.example.com ... done\r\nCreating cli ... done\r\nCreating peer0.org1.example.com ...\r\nCreating peer1.org1.example.com ...\r\nCreating orderer.example.com ...\r\nCreating peer1.org2.example.com ...\r\nCreating cli ...\r\n\r\n ____    _____      _      ____    _____\r\n\/ ___|  |_   _|    \/ \\    |  _ \\  |_   _|\r\n\\___ \\    | |     \/ _ \\   | |_) |   | |\r\n ___) |   | |    \/ ___ \\  |  _ &lt;    | |\r\n|____\/    |_|   \/_\/   \\_\\ |_| \\_\\   |_|\r\n\r\nBuild your first network (BYFN) end-to-end test\r\n\r\nChannel name : mychannel\r\nCreating channel...\r\n========= All GOOD, BYFN execution completed ===========\r\n\r\n(\u7701\u7565)\r\n _____   _   _   ____\r\n| ____| | \\ | | |  _ \\\r\n|  _|   |  \\| | | | | |\r\n| |___  | |\\  | | |_| |\r\n|_____| |_| \\_| |____\/\r\n<\/code><\/pre>\n<h1>\u603b\u7ed3<\/h1>\n<p>\u53ea\u8981\u6709\u4e00\u5957\u5f00\u53d1\u73af\u5883\uff0c\u50cfDocker\u3001Git\u548cGolang\u8fd9\u6837\u7684\u5de5\u5177\u5c31\u53ef\u4ee5\u8f83\u5bb9\u6613\u5730\u51c6\u5907\u597d\u73af\u5883\u3002\uff08\u6211\u8ba4\u4e3a\u8fd9\u4e00\u5207\u53d8\u5f97\u76f8\u5f53\u7b80\u5355\u4e86\uff0c\u8fd9\u5f97\u5f52\u529f\u4e8eDocker\u955c\u50cf\u7684\u51c6\u5907\u548cGitHub\u4e0a\u7684\u793a\u4f8b\u51c6\u5907\u5f97\u5f88\u5168\u3002\uff09<br \/>\n\u65e2\u7136\u5df2\u7ecf\u914d\u7f6e\u597d\u4e86\u73af\u5883\uff0c\u6211\u6253\u7b97\u4f7f\u7528\u5176\u4ed6\u6559\u7a0b\u548c\u8d44\u6e90\uff0c\u8fdb\u4e00\u6b65\u5b9e\u8df5\u548c\u63a2\u7d22\u3002<\/p>\n<p>\u5982\u679c\u4f5c\u4e3a\u5f00\u53d1\u73af\u5883\u4f7f\u7528\uff0c\u4ee5\u4e0b\u4e5f\u53ef\u80fd\u4f1a\u5f88\u65b9\u4fbf\u3002<br \/>\n\u6211\u8bd5\u7740\u7528\u201cZero to Blockchain\u201d\uff08Hyperledger Fabric\uff09\u7684\u89c6\u9891\u6559\u7a0b\uff0c\u4f7f\u7528\u4e00\u4e2a\u53ef\u4ee5\u8f7b\u677e\u6784\u5efa\u672c\u5730\u5f00\u53d1\u73af\u5883\u7684shell\u3002<\/p>\n<p>\u7136\u800c\uff0c\u5f53\u9700\u8981\u771f\u6b63\u90e8\u7f72\u65f6\uff0c\u7531\u4e8e\u5bf9\u9002\u5408\u8fd0\u884c\u7684\u73af\u5883\u4e0d\u592a\u4e86\u89e3\uff0c\u6211\u89c9\u5f97\u4ece\u5b9e\u9645\u89d2\u5ea6\u6765\u770b\uff0c\u4f7f\u7528\u4ee5\u4e0b\u4e91\u670d\u52a1\u6765\u8fdb\u884c\u90e8\u7f72\u53ef\u80fd\u662f\u5408\u7406\u7684\u9009\u62e9\u3002 \u533a\u5757\u94fe\u4e91\u670d\u52a1 | Oracle\u4e91<br \/>\nOracle\u533a\u5757\u94fe\u4e91\u670d\u52a1\u4ecb\u7ecd\u8d44\u6599<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148 \u5728\u5e74\u5e95\u9605\u8bfb\u4e86\u4ee5\u4e0b\u5185\u5bb9\u540e\uff0c\u6211\u5bf9\u533a\u5757\u94fe\u4ea7\u751f\u4e86\u5174\u8da3\u3002 \u6bd4\u7279\u5e01\u548c\u533a\u5757\u94fe\uff1a\u652f\u6491\u52a0\u5bc6\u8d27\u5e01\u7684\u6280\u672f \u4ece\u90a3\u65f6\u8d77\uff0c\u6211\u5f00\u59cb\u5728\u5de5 [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-47433","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728 Oracle Cloud Infrastructure \u4e0a\u8fd0\u884c Hyperledger Fabric - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728-oracle-cloud-infrastructure-\u4e0a\u8fd0\u884c-hyperledger-fabric\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728 Oracle Cloud Infrastructure \u4e0a\u8fd0\u884c Hyperledger Fabric\" \/>\n<meta property=\"og:description\" content=\"\u9996\u5148 \u5728\u5e74\u5e95\u9605\u8bfb\u4e86\u4ee5\u4e0b\u5185\u5bb9\u540e\uff0c\u6211\u5bf9\u533a\u5757\u94fe\u4ea7\u751f\u4e86\u5174\u8da3\u3002 \u6bd4\u7279\u5e01\u548c\u533a\u5757\u94fe\uff1a\u652f\u6491\u52a0\u5bc6\u8d27\u5e01\u7684\u6280\u672f \u4ece\u90a3\u65f6\u8d77\uff0c\u6211\u5f00\u59cb\u5728\u5de5 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728-oracle-cloud-infrastructure-\u4e0a\u8fd0\u884c-hyperledger-fabric\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-10T04:00:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-04T10:12:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d7eb9913a08637a6a4009\/5-0.png\" \/>\n<meta name=\"author\" content=\"\u6587, \u7fd4\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6587, \u7fd4\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-oracle-cloud-infrastructure-%e4%b8%8a%e8%bf%90%e8%a1%8c-hyperledger-fabric\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-oracle-cloud-infrastructure-%e4%b8%8a%e8%bf%90%e8%a1%8c-hyperledger-fabric\/\",\"name\":\"\u5728 Oracle Cloud Infrastructure \u4e0a\u8fd0\u884c Hyperledger Fabric - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-05-10T04:00:55+00:00\",\"dateModified\":\"2024-05-04T10:12:07+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-oracle-cloud-infrastructure-%e4%b8%8a%e8%bf%90%e8%a1%8c-hyperledger-fabric\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-oracle-cloud-infrastructure-%e4%b8%8a%e8%bf%90%e8%a1%8c-hyperledger-fabric\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-oracle-cloud-infrastructure-%e4%b8%8a%e8%bf%90%e8%a1%8c-hyperledger-fabric\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728 Oracle Cloud Infrastructure \u4e0a\u8fd0\u884c Hyperledger Fabric\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c\",\"name\":\"\u6587, \u7fd4\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g\",\"caption\":\"\u6587, \u7fd4\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/wenxiang\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-oracle-cloud-infrastructure-%e4%b8%8a%e8%bf%90%e8%a1%8c-hyperledger-fabric\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728 Oracle Cloud Infrastructure \u4e0a\u8fd0\u884c Hyperledger Fabric - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728-oracle-cloud-infrastructure-\u4e0a\u8fd0\u884c-hyperledger-fabric\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728 Oracle Cloud Infrastructure \u4e0a\u8fd0\u884c Hyperledger Fabric","og_description":"\u9996\u5148 \u5728\u5e74\u5e95\u9605\u8bfb\u4e86\u4ee5\u4e0b\u5185\u5bb9\u540e\uff0c\u6211\u5bf9\u533a\u5757\u94fe\u4ea7\u751f\u4e86\u5174\u8da3\u3002 \u6bd4\u7279\u5e01\u548c\u533a\u5757\u94fe\uff1a\u652f\u6491\u52a0\u5bc6\u8d27\u5e01\u7684\u6280\u672f \u4ece\u90a3\u65f6\u8d77\uff0c\u6211\u5f00\u59cb\u5728\u5de5 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728-oracle-cloud-infrastructure-\u4e0a\u8fd0\u884c-hyperledger-fabric\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-05-10T04:00:55+00:00","article_modified_time":"2024-05-04T10:12:07+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d7eb9913a08637a6a4009\/5-0.png"}],"author":"\u6587, \u7fd4","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6587, \u7fd4","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"6 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-oracle-cloud-infrastructure-%e4%b8%8a%e8%bf%90%e8%a1%8c-hyperledger-fabric\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-oracle-cloud-infrastructure-%e4%b8%8a%e8%bf%90%e8%a1%8c-hyperledger-fabric\/","name":"\u5728 Oracle Cloud Infrastructure \u4e0a\u8fd0\u884c Hyperledger Fabric - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-05-10T04:00:55+00:00","dateModified":"2024-05-04T10:12:07+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-oracle-cloud-infrastructure-%e4%b8%8a%e8%bf%90%e8%a1%8c-hyperledger-fabric\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-oracle-cloud-infrastructure-%e4%b8%8a%e8%bf%90%e8%a1%8c-hyperledger-fabric\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-oracle-cloud-infrastructure-%e4%b8%8a%e8%bf%90%e8%a1%8c-hyperledger-fabric\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728 Oracle Cloud Infrastructure \u4e0a\u8fd0\u884c Hyperledger Fabric"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c","name":"\u6587, \u7fd4","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g","caption":"\u6587, \u7fd4"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/wenxiang\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8-oracle-cloud-infrastructure-%e4%b8%8a%e8%bf%90%e8%a1%8c-hyperledger-fabric\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/47433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=47433"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/47433\/revisions"}],"predecessor-version":[{"id":99890,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/47433\/revisions\/99890"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=47433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=47433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=47433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}