tech:note_ipfs
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| tech:note_ipfs [2025/05/07 08:53] – Jean-Baptiste | tech:note_ipfs [2025/05/14 12:23] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| + | {{tag> | ||
| + | |||
| + | # Notes IPFS | ||
| + | |||
| + | Voir : | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * | ||
| + | |||
| + | Voir aussi : | ||
| + | * SecureScuttleButt (SSB) | ||
| + | * meshtastic | ||
| + | * https:// | ||
| + | |||
| + | |||
| + | [IPFS] [Hyphanet] | ||
| + | HTTP over: [Tor] [I2P] [Yggdrasil] | ||
| + | [Gemini over Tor] | ||
| + | |||
| + | Interface d' | ||
| + | http:// | ||
| + | |||
| + | passerelle | ||
| + | http:// | ||
| + | |||
| + | |||
| + | ## Install | ||
| + | |||
| + | ''/ | ||
| + | ~~~ini | ||
| + | [Unit] | ||
| + | Description=IPFS Daemon | ||
| + | After=syslog.target network.target remote-fs.target nss-lookup.target | ||
| + | |||
| + | [Service] | ||
| + | Type=simple | ||
| + | ExecStart=/ | ||
| + | User=jibe | ||
| + | |||
| + | [Install] | ||
| + | WantedBy=multi-user.target | ||
| + | ~~~ | ||
| + | |||
| + | Pour IPFessay | ||
| + | '' | ||
| + | |||
| + | ## Utilisation | ||
| + | |||
| + | ~~~ | ||
| + | ipfs add ./ | ||
| + | |||
| + | i$ ipfs add ./ | ||
| + | added QmNW8yLgaibACBJrKkwi1ZaW7bdEYVGmyQxwNSYs7PrPnV gpl-3.txt | ||
| + | 34.34 KiB / 34.34 KiB [=================================================================================================================================================================================] 100.00% | ||
| + | |||
| + | |||
| + | |||
| + | ipfs config --json Experimental.FilestoreEnabled true | ||
| + | systemctl restart ipfs | ||
| + | ipfs filestore ls | ||
| + | |||
| + | ipfs dag stat QmNW8yLgaibACBJrKkwi1ZaW7bdEYVGmyQxwNSYs7PrPnV | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | https:// | ||
| + | |||
| + | |||
| + | |||
| + | ~~~bash | ||
| + | mkdir _site | ||
| + | echo "hello world" > _site/ | ||
| + | |||
| + | ipfs add -r _site --to-files / | ||
| + | |||
| + | ipfs files ls -l | ||
| + | |||
| + | https:// | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | * http:// | ||
| + | * http:// | ||
| + | |||
| + | ~~~ | ||
| + | ipfs resolve -r / | ||
| + | ~~~ | ||
| + | |||
| + | ## Err | ||
| + | |||
| + | ### Err 404 page not found (API) | ||
| + | |||
| + | Solution : | ||
| + | |||
| + | http:// | ||
| + | et non pas http:// | ||
| + | |||
| + | |||
| + | ### 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). | ||
| + | ~~~ | ||
| + | |||
| + | Solution | ||
| + | ~~~bash | ||
| + | sysctl -w net.core.rmem_max=2500000 | ||
| + | ~~~ | ||
| + | |||
