-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
# IPFS-Node-Installer | ||
![](https://gateway.ipns.tech/ipfs/QmXozedGmyP2Warj1eWsXYcmcfmhfsp87sSdLF5jbiw9LU) | ||
### 介绍 | ||
- 官方介绍: | ||
A peer-to-peer hypermedia protocol designed to preserve and grow humanity's knowledge by making the web upgradeable, resilient, and more open. | ||
- 简单介绍: | ||
IPFS是一个对等的分布式文件系统,它尝试为所有计算设备连接到同一个文件系统。在某些方面,IPFS类似于万维网,也可以被视作一个BitTorrent节点群、在同一个Git仓库中交换对象。 换种说法,IPFS提供了一个高吞吐量、按内容寻址的块存储模型,及与内容相关超链接。[11]这形成了一个广义的Merkle有向无环图(DAG)。IPFS结合了分布式散列表、鼓励块交换和一个自我认证的名字空间。IPFS没有单点故障,并且节点不需要相互信任。[12]分布式内容传递可以节约带宽,并防止HTTP方案可能遇到的DDoS攻击。 | ||
|
||
该文件系统可以通过多种方式访问,包括FUSE与HTTP。将本地文件添加到IPFS文件系统可使其面向全世界可用。文件表示基于其哈希,因此有利于缓存。文件的分发采用一个基于BitTorrent的协议。其他查看内容的用户也有助于将内容提供给网络上的其他人。 | ||
|
||
### 脚本 | ||
``` | ||
wget --no-check-certificate https://gateway.ipns.tech/ipns/install-sh.ipns.network/ipfs-autoinstall.sh -O ipfs-autoinstall.sh && bash ipfs-autoinstall.sh | ||
``` | ||
|
||
### 说明 | ||
此脚本适合所有带有Systemd 的 Linux发行版 | ||
优化项: | ||
- 自动部署服务化运行 | ||
- 优化了GC策略,降低磁盘性能损耗 | ||
- 优化了链接管理策略,在不影响性能的情况下提升内容寻迹速度 | ||
- 优化了引导节点和引入Peering节点,内容寻迹成功率非常高 | ||
- 安装后直接访问:HTTP://机器公网IP:5010/webui ,进入IPFS 的Web UI。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
# v1.0.5 | ||
# v1.0.6 | ||
echo=echo | ||
for cmd in echo /bin/echo; do | ||
$cmd >/dev/null 2>&1 || continue | ||
|