在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ipfs/go-ipfs开源软件地址:https://github.com/ipfs/go-ipfs开源编程语言:Go 63.9%开源软件介绍:go-ipfsWhat is IPFS?IPFS is a global, versioned, peer-to-peer filesystem. It combines good ideas from previous systems such as Git, BitTorrent, Kademlia, SFS, and the Web. It is like a single BitTorrent swarm, exchanging git objects. IPFS provides an interface as simple as the HTTP web, but with permanence built-in. You can also mount the world at /ipfs. For more info see: https://docs.ipfs.io/introduction/overview/ Before opening an issue, consider using one of the following locations to ensure you are opening your thread in the right place:
Next milestonesTable of Contents
Security IssuesThe IPFS protocol and its implementations are still in heavy development. This means that there may be problems in our protocols, or there may be mistakes in our implementations. And -- though IPFS is not production-ready yet -- many people are already running nodes in their machines. So we take security vulnerabilities very seriously. If you discover a security issue, please bring it to our attention right away! If you find a vulnerability that may affect live deployments -- for example, by exposing a remote execution exploit -- please send your report privately to [email protected]. Please DO NOT file a public issue. If the issue is a protocol weakness that cannot be immediately exploited or something not yet deployed, just discuss it openly. InstallThe canonical download instructions for IPFS are over at: https://docs.ipfs.io/guides/guides/install/. It is highly recommended you follow those instructions if you are not interested in working on IPFS development. System RequirementsIPFS can run on most Linux, macOS, and Windows systems. We recommend running it on a machine with at least 2 GB of RAM and 2 CPU cores (go-ipfs is highly parallel). On systems with less memory, it may not be completely stable. If your system is resource-constrained, we recommend:
DockerMore info on how to run go-ipfs inside docker can be found here. Native Linux package managersArchLinux# pacman -Syu go-ipfs NixWith the purely functional package manager Nix you can install go-ipfs like this:
You can also install the Package by using its attribute name, which is also SolusIn solus, go-ipfs is available in the main repository as go-ipfs.
You can also install it through the Solus software center. openSUSEOther package managersGuixGNU's functional package manager, Guix, also provides a go-ipfs package:
SnapWith snap, in any of the supported Linux distributions:
The snap sets
If you want something more sophisticated to escape the snap confinement, we recommend using a different method to install macOS package managersMacPortsThe package ipfs currently points to go-ipfs and is being maintained.
NixIn macOS you can use the purely functional package manager Nix:
You can also install the Package by using its attribute name, which is also HomebrewA Homebrew formula ipfs is maintained too.
Windows package managersChocolateyPS> choco install ipfs ScoopScoop provides PS> scoop bucket add extras
PS> scoop install go-ipfs Install prebuilt binariesFrom there:
You can also download go-ipfs from this project's GitHub releases page if you are unable to access dist.ipfs.io: Build from Sourcego-ipfs's build system requires Go and some standard POSIX build tools:
To build without GCC, build with Install GoIf you need to update: Download latest version of Go. You'll need to add Go's bin directories to your
(If you run into trouble, see the Go install instructions). Download and Compile IPFS
Alternatively, you can run NOTE: If you get an error along the lines of "fatal error: stdlib.h: No such file or directory", you're missing a C compiler. Either re-run Cross CompilingCompiling for a different platform is as simple as running:
OpenSSLTo build go-ipfs with OpenSSL support, append Note: OpenSSL requires CGO support and, by default, CGO is disabled when cross-compiling. To cross-compile with OpenSSL support, you must:
Troubleshooting
Updating go-ipfsUsing ipfs-updateIPFS has an updating tool that can be accessed through Downloading IPFS builds using IPFSList the available versions of go-ipfs:
Then, to view available builds for a version from the previous command ($VERSION):
To download a given build of a version:
Getting StartedUsageTo start using IPFS, you must first initialize IPFS's config files on your
system, this is done with Some things to tryBasic proof of 'ipfs working' locally:
TroubleshootingIf you have previously installed IPFS before and you are running into problems getting a newer version to work, try deleting (or backing up somewhere else) your IPFS config directory (~/.ipfs by default) and rerunning Please direct general questions and help requests to our forum or our IRC channel (freenode #ipfs). If you believe you've found a bug, check the issues list and, if you don't see your problem there, either come talk to us on IRC (freenode #ipfs) or file an issue of your own! Packages
Listing of the main packages used in the IPFS ecosystem. There are also three specifications worth linking here: |
请发表评论