建设房产网站,无锡网站推广优化费用,山东建设工程招标网官方网站,营销策划公司怎么收费参考链接
Ubuntu上IPFS环境搭建 - 简书
下载安装包
下载地址#xff1a;https://dist.ipfs.io/#go-ipfs页面会自动根据你的操作系统提供适合的下载安装包#xff0c;所以需要在Ubuntu环境下点开上面那个链接#xff0c;网页自动识别当前的平台并提供对应的版本#xff0c…参考链接
Ubuntu上IPFS环境搭建 - 简书
下载安装包
下载地址https://dist.ipfs.io/#go-ipfs页面会自动根据你的操作系统提供适合的下载安装包所以需要在Ubuntu环境下点开上面那个链接网页自动识别当前的平台并提供对应的版本点击下载按钮即可将压缩包上传至指定的路径下使用命令进行解压 tar xvfz go-ipfs_v0.4.15_linux-amd64.tar.gz 进入解压后的文件夹 cd go-ipfs此刻/usr/local/bin 文件夹下面已经存在ipfs可执行程序进行简单的验证ipfs version #查看版本 ipfs help #查看帮助文档
$ tar xvfz go-ipfs_v0.4.15_linux-amd64.tar.gz
go-ipfs/build-log
go-ipfs/install.sh
go-ipfs/ipfs
go-ipfs/LICENSE
go-ipfs/README.md$ cd go-ipfs
$ sudo mv ipfs /usr/local/bin/ipfs
$ ipfs version #查看版本
ipfs version 0.4.15
$ ipfs help #查看帮助文档USAGEipfs - Global p2p merkle-dag filesystem.ipfs [--configconfig | -c] [--debugdebug | -D] [--helphelp] [-hh] [--locallocal | -L] [--apiapi] command ...SUBCOMMANDSBASIC COMMANDSinit Initialize ipfs local configurationadd path Add a file to IPFScat ref Show IPFS object dataget ref Download IPFS objectsls ref List links from an objectrefs ref List hashes of links from an objectDATA STRUCTURE COMMANDSblock Interact with raw blocks in the datastoreobject Interact with raw dag nodesfiles Interact with objects as if they were a unix filesystemdag Interact with IPLD documents (experimental)ADVANCED COMMANDSdaemon Start a long-running daemon processmount Mount an IPFS read-only mountpointresolve Resolve any type of namename Publish and resolve IPNS nameskey Create and list IPNS name keypairsdns Resolve DNS linkspin Pin objects to local storagerepo Manipulate the IPFS repositorystats Various operational statsp2p Libp2p stream mountingfilestore Manage the filestore (experimental)NETWORK COMMANDSid Show info about IPFS peersbootstrap Add or remove bootstrap peersswarm Manage connections to the p2p networkdht Query the DHT for values or peersping Measure the latency of a connectiondiag Print diagnosticsTOOL COMMANDSconfig Manage configurationversion Show ipfs version informationupdate Download and apply go-ipfs updatescommands List all available commandsUse ipfs command --help to learn more about each command.ipfs uses a repository in the local file system. By default, the repo islocated at ~/.ipfs. To change the repo location, set the $IPFS_PATHenvironment variable:export IPFS_PATH/path/to/ipfsrepoEXIT STATUSThe CLI will exit with one of the following values:0 Successful execution.1 Failed executions.项目配置
创建IPFS节点 ipfs init查看节点id ipfs id启动节点服务器 ipfs daemon 主要用于节点之间互传文件
相关图片 参考链接
演示IPFS的一个完整的流程以及针对部分概念的详解_CHYabc123456hh的博客-CSDN博客