tech:note_ipfs

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:note_ipfs [2025/05/01 01:56] Jean-Baptistetech:note_ipfs [2025/05/14 12:23] (Version actuelle) Jean-Baptiste
Ligne 1: Ligne 1:
 <!DOCTYPE markdown> <!DOCTYPE markdown>
 +{{tag>P2P Web3}}
  
 # Notes IPFS # Notes IPFS
  
 +Voir :
 +  * https://www.abyssproject.net/2019/01/installation-dun-serveur-ipfs-sous-debian-9-et-mise-a-jour/ 
 +  * https://blog.ineat-group.com/2022/09/ipfs-le-protocole-qui-decentralise-vos-fichiers/
 +  * https://www.run2web3.com/blog/blockchain/comment-creer-un-site-web-decentralise-avec-ipfs-et-ethereum/
 +  * https://www.youtube.com/watch?v=7MGMkGq60VU
 +  * https://www.reddit.com/r/ipfs/comments/thpgt1/a_mostly_complete_guide_to_hosting_a_public_ipfs/
 +  * 
  
-https://www.abyssproject.net/2019/01/installation-dun-serveur-ipfs-sous-debian-9-et-mise-a-jour/  +Voir aussi 
-https://blog.ineat-group.com/2022/09/ipfs-le-protocole-qui-decentralise-vos-fichiers+* SecureScuttleButt (SSB) 
-https://www.run2web3.com/blog/blockchain/comment-creer-un-site-web-decentralise-avec-ipfs-et-ethereum/ +* meshtastic 
-https://www.youtube.com/watch?v=7MGMkGq60VU+https://dat-ecosystem.org
 + 
 + 
 +[IPFS] [Hyphanet] 
 +HTTP over[Tor] [I2P] [Yggdrasil] 
 +[Gemini over Tor]
  
 Interface d'admin Interface d'admin
 http://127.0.0.1:5001 http://127.0.0.1:5001
 +
 passerelle  passerelle 
 http://127.0.0.1:8080 http://127.0.0.1:8080
  
  
 +## Install
 +
 +''/etc/systemd/system/ipfs.service''
 +~~~ini
 +[Unit]
 +Description=IPFS Daemon
 +After=syslog.target network.target remote-fs.target nss-lookup.target
 +
 +[Service]
 +Type=simple
 +ExecStart=/home/ipfs/go/bin/ipfs daemon --init --migrate
 +User=jibe
 +
 +[Install]
 +WantedBy=multi-user.target
 +~~~
 +
 +Pour IPFessay
 +''ipfs daemon --writable''
 +
 +## Utilisation
 +
 +~~~
 ipfs add ./pages/test/gpl-3.txt ipfs add ./pages/test/gpl-3.txt
  
Ligne 28: Ligne 65:
  
 ipfs dag stat QmNW8yLgaibACBJrKkwi1ZaW7bdEYVGmyQxwNSYs7PrPnV ipfs dag stat QmNW8yLgaibACBJrKkwi1ZaW7bdEYVGmyQxwNSYs7PrPnV
 +~~~
  
  
Ligne 35: Ligne 72:
  
  
 +~~~bash
 mkdir _site mkdir _site
 echo "hello world" > _site/index.html echo "hello world" > _site/index.html
Ligne 43: Ligne 80:
 ipfs files ls -l ipfs files ls -l
  
-https://ipfs.io/ipfs/<CID> p+https://ipfs.io/ipfs/<CID> 
 +~~~ 
 + 
 + 
 + 
 +  * http://localhost:8080/ipfs/bafybeifb6742coe6pd23izkqiyyezxbmcfhlubik5bibz3nlcxij6dhscu 
 +  * http://bafybeifb6742coe6pd23izkqiyyezxbmcfhlubik5bibz3nlcxij6dhscu.ipfs.localhost:8080/ 
 + 
 +~~~ 
 +ipfs resolve -r /ipfs/bafybeidatpz2hli6fgu3zul5woi27ujesdf5o5a7bu622qj6ugharciwjq/locales/de-DE/status.json: 
 +~~~ 
 + 
 +## Err 
 + 
 +### Err 404 page not found (API) 
 + 
 +Solution : 
 + 
 +http://127.0.0.1:5001/webui 
 +et non pas http://127.0.0.1:5001 
 + 
 + 
 +### failed to sufficiently increase receive buffer size 
  
  
 +~~~
 +# systemctl status ipfs
 +failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 7168 kiB, got: 416 kiB).
 +~~~
  
-http://localhost:8080/ipfs/bafybeifb6742coe6pd23izkqiyyezxbmcfhlubik5bibz3nlcxij6dhscu +Solution 
-http://bafybeifb6742coe6pd23izkqiyyezxbmcfhlubik5bibz3nlcxij6dhscu.ipfs.localhost:8080/+~~~bash 
 +sysctl -w net.core.rmem_max=2500000 
 +~~~
  
  
tech/note_ipfs.1746057383.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki