{"id":8205,"date":"2021-12-05T00:01:07","date_gmt":"2021-12-04T15:01:07","guid":{"rendered":"https:\/\/pandanote.info\/?p=8205"},"modified":"2022-05-04T22:30:26","modified_gmt":"2022-05-04T13:30:26","slug":"fedora-35%e3%81%a7%e7%a8%bc%e5%83%8d%e3%81%99%e3%82%8bipfs%e3%81%ae%e3%83%8e%e3%83%bc%e3%83%89%e3%82%92%e7%ab%8b%e3%81%a1%e4%b8%8a%e3%81%92%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82","status":"publish","type":"post","link":"https:\/\/pandanote.info\/?p=8205","title":{"rendered":"Fedora 35\u3067\u7a3c\u50cd\u3059\u308bIPFS\u306e\u30ce\u30fc\u30c9\u3092\u7acb\u3061\u4e0a\u3052\u3066\u307f\u305f\u3002"},"content":{"rendered":"<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>Tezos\u3084NFT\u306e\u6587\u732e\u3092\u3044\u304f\u3064\u304b\u8aad\u3093\u3067\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u9014\u4e2d\u3067\u300cIPFS\u300d\u3068\u3044\u3046\u30ad\u30fc\u30ef\u30fc\u30c9\u304c\u76ee\u306b\u5165\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3082\u3046\u5c11\u3057\u8abf\u3079\u3066\u307f\u308b\u3068\u3001IPFS\u3068\u306f\u60d1\u661f\u9593(InterPlanetary(!))\u306e\u5206\u6563\u578b\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u5206\u6563\u578b\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306a\u306e\u3067\u3001\u516c\u958b\u3057\u3066\u3082\u3088\u3044\u30b3\u30f3\u30c6\u30f3\u30c4\u3067\u3042\u308c\u3070\u7f6e\u304f\u3053\u3068\u304c\u3067\u304d\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u3001\u96d1\u306a\u8aac\u660e\u3067\u3057\u305f\u3002\ud83d\ude47<\/p>\n<p>IPFS\u306fIPFS\u306a\u308a\u306b\u9762\u767d\u305d\u3046\u3060\u3068\u601d\u3063\u305f\u306e\u3067\u3001Tezos\u3084NFT\u306e\u3053\u3068\u306f\u3044\u3063\u305f\u3093\u3061\u3087\u3063\u3068\u8107\u306b\u7f6e\u3044\u3066\u3001\u624b\u5143\u306b\u3042\u308bFedora 35\u306ePC\u3067IPFS\u306e\u30ce\u30fc\u30c9\u3092\u7acb\u3061\u4e0a\u3052\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>IPFS\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<h3>dnf\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u53ef\u80fd\u304b\u5426\u304b\u306e\u78ba\u8a8d<\/h3>\n<p>Fedora\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u307e\u305a\u6700\u521d\u306bdnf\u30b3\u30de\u30f3\u30c9\u3067IPFS\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u304b\u8a66\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u3059\u308b\u3068\u2026<\/p>\n<div class=\"code\">\n[panda@pandanote.info ~]$ sudo dnf install ipfs<br \/>\n[sudo] panda \u306e\u30d1\u30b9\u30ef\u30fc\u30c9:<br \/>\n\u30e1\u30bf\u30c7\u30fc\u30bf\u306e\u671f\u9650\u5207\u308c\u306e\u6700\u7d42\u78ba\u8a8d: 1:19:05 \u6642\u9593\u524d\u306e 2021\u5e7412\u670802\u65e5 15\u664228\u520643\u79d2 \u306b\u5b9f\u65bd\u3057\u307e\u3057\u305f\u3002<br \/>\n\u4e00\u81f4\u3057\u305f\u5f15\u6570\u304c\u3042\u308a\u307e\u305b\u3093: ipfs<br \/>\n\u30a8\u30e9\u30fc: \u4e00\u81f4\u3059\u308b\u3082\u306e\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093: ipfs<\/div>\n<p>&nbsp;<\/p>\n<p>IPFS\u306b\u95a2\u9023\u3059\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u306a\u3055\u305d\u3046\u306a\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n<h3>tarball\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>dnf\u30b3\u30de\u30f3\u30c9\u3092\u7528\u3044\u3066\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u78ba\u8a8d\u3055\u308c\u305f\u3068\u3053\u308d\u3067\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>IPFS\u306e\u30b5\u30a4\u30c8\u304b\u3089tarball\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\n<div class=\"code\">\n[panda@pandanote.info ~]$ wget https:\/\/dist.ipfs.io\/go-ipfs\/v0.10.0\/go-ipfs_v0.10.0_linux-amd64.tar.gz<br \/>\n&#45;&#45;2021-12-02 17:15:45&#45;&#45;  https:\/\/dist.ipfs.io\/go-ipfs\/v0.10.0\/go-ipfs_v0.10.0_linux-amd64.tar.gz<br \/>\ndist.ipfs.io (dist.ipfs.io) \u3092DNS\u306b\u554f\u3044\u3042\u308f\u305b\u3066\u3044\u307e\u3059&#8230; 2602:fea2:3::1, 209.94.78.1<br \/>\ndist.ipfs.io (dist.ipfs.io)|2602:fea2:3::1|:443 \u306b\u63a5\u7d9a\u3057\u3066\u3044\u307e\u3059&#8230; \u63a5\u7d9a\u3057\u307e\u3057\u305f\u3002<br \/>\nHTTP \u306b\u3088\u308b\u63a5\u7d9a\u8981\u6c42\u3092\u9001\u4fe1\u3057\u307e\u3057\u305f\u3001\u5fdc\u7b54\u3092\u5f85\u3063\u3066\u3044\u307e\u3059&#8230; 200 OK<br \/>\n\u9577\u3055: 26156481 (25M) [application\/gzip]<br \/>\n`go-ipfs_v0.10.0_linux-amd64.tar.gz&#8217; \u306b\u4fdd\u5b58\u4e2d<br \/>\n&nbsp;<br \/>\ngo-ipfs_v0.10.0_lin 100%[===================>]  24.94M  1.76MB\/s \u6642\u9593 19s<br \/>\n&nbsp;<br \/>\n2021-12-02 17:16:04 (1.32 MB\/s) &#8211; `go-ipfs_v0.10.0_linux-amd64.tar.gz&#8217; \u3078\u4fdd\u5b58\u5b8c\u4e86 [26156481\/26156481]<br \/>\n&nbsp;<br \/>\n[panda@pandanote.info ~]$ ls -l<br \/>\n\u5408\u8a08 25544<br \/>\n-rw-r&#8211;r&#8211;. 1 panda panda 26156481 12\u6708  2 17:15 go-ipfs_v0.10.0_linux-amd64.tar.gz<\/div>\n<p>&nbsp;<\/li>\n<li>tarball\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u3067\u304d\u305f\u3089\u3001tar\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u5c55\u958b\u3057\u307e\u3059\u3002\n<div class=\"code\">\n[panda@pandanote.info ~]$ tar zxvf go-ipfs_v0.10.0_linux-amd64.tar.gz<br \/>\ngo-ipfs\/LICENSE<br \/>\ngo-ipfs\/LICENSE-APACHE<br \/>\ngo-ipfs\/LICENSE-MIT<br \/>\ngo-ipfs\/README.md<br \/>\ngo-ipfs\/install.sh<br \/>\ngo-ipfs\/ipfs<\/div>\n<p>&nbsp;<\/li>\n<li>go-ipfs\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u3067\u304d\u307e\u3059\u306e\u3067\u3001\u305d\u306e\u4e0b\u306b\u3042\u308binstall.sh\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\n<div class=\"code\">\n[panda@pandanote.info ~]$ cd go-ipfs\/<br \/>\n[panda@pandanote.info go-ipfs]$ ls<br \/>\nLICENSE  LICENSE-APACHE  LICENSE-MIT  README.md  install.sh  ipfs<br \/>\n[panda@pandanote.info go-ipfs]$ ls -l<br \/>\n\u5408\u8a08 60568<br \/>\n-rw-r&#8211;r&#8211;. 1 panda panda      508 10\u6708  2 02:37 LICENSE<br \/>\n-rw-r&#8211;r&#8211;. 1 panda panda      520 10\u6708  2 02:37 LICENSE-APACHE<br \/>\n-rw-r&#8211;r&#8211;. 1 panda panda     1046 10\u6708  2 02:37 LICENSE-MIT<br \/>\n-rw-r&#8211;r&#8211;. 1 panda panda      467 10\u6708  2 02:37 README.md<br \/>\n-rwxr-xr-x. 1 panda panda      852 10\u6708  2 02:37 install.sh<br \/>\n-rwxr-xr-x. 1 panda panda 61998400 10\u6708  2 02:37 ipfs<br \/>\n[panda@pandanote.info go-ipfs]$ sudo sh .\/install.sh<br \/>\n[sudo] panda \u306e\u30d1\u30b9\u30ef\u30fc\u30c9:<br \/>\nMoved .\/ipfs to \/usr\/local\/bin<\/div>\n<p>&nbsp;\n<\/li>\n<li>\/usr\/local\/bin\u306e\u4e0b\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3067\u304d\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\ud83d\ude0e\n<div class=\"code\">\n[panda@pandanote.info go-ipfs]$ ls -l \/usr\/local\/bin<br \/>\n\u5408\u8a08 108044<br \/>\n-rwxr-xr-x. 1 panda panda 61998400 10\u6708  2 02:37 ipfs<br \/>\n(\u4ee5\u4e0b\u7565)<\/div>\n<p>&nbsp;<\/li>\n<\/ol>\n<h2>PC\u5074\u306e\u8a2d\u5b9a<\/h2>\n<p>IPFS\u3092\u7a3c\u50cd\u3055\u305b\u308b\u305f\u3081\u306b\u306fPC\u5074\u3067\u3082\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<h3>UDP\u306e\u53d7\u4fe1\u30d0\u30c3\u30d5\u30a1\u306e\u30b5\u30a4\u30ba\u306e\u5909\u66f4<\/h3>\n<p>IPFS\u306fQUIC\u306b\u3088\u308b\u901a\u4fe1\u3092\u884c\u3044\u307e\u3059\u304c\u3001UDP\u306e\u53d7\u4fe1\u30d0\u30c3\u30d5\u30a1\u306e\u30b5\u30a4\u30ba\u3092\u5927\u304d\u304f\u3059\u308b\u3068QUIC\u306b\u3088\u308b\u9ad8\u5e2f\u57df\u5e45\u306e\u901a\u4fe1\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001UDP\u306e\u53d7\u4fe1\u30d0\u30c3\u30d5\u30a1\u306e\u30b5\u30a4\u30ba\u3092\u5909\u66f4(\u5927\u304d\u304f)\u3057\u307e\u3059\u3002<\/p>\n<div class=\"code\">\n[panda@pandanote.info ~]$ sudo sysctl -w net.core.rmem_max=2500000<br \/>\nnet.core.rmem_max = 2500000<\/div>\n<p>&nbsp;<\/p>\n<p>\u8a2d\u5b9a\u304c\u3067\u304d\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001\u8d77\u52d5\u6642\u306e\u8a2d\u5b9a\u7528\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div class=\"code\"># echo &#8220;net.core.rmem_max=2500000&#8221; > \/etc\/sysctl.d\/98-ipfs.conf<\/div>\n<p>&nbsp;<\/p>\n<h3>IPFS\u304c\u4f7f\u7528\u3059\u308b\u30dd\u30fc\u30c8\u306e\u958b\u653e<\/h3>\n<p>IPFS\u306e\u4ed6\u30ce\u30fc\u30c9\u3068\u901a\u4fe1\u3092\u884c\u3046\u305f\u3081\u306b\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001TCP\u53ca\u3073UDP\u306e4001\u756a\u30dd\u30fc\u30c8\u3060\u3051\u3092\u958b\u3051\u307e\u3059\u3002\u4ed6\u306e\u30ce\u30fc\u30c9\u3068\u306e\u901a\u4fe1\u306fIPv6\u306b\u3088\u308b\u3082\u306e\u306b\u9650\u5b9a\u3057\u305f\u3044\u306e\u3067\u3001\u30ea\u30c3\u30c1\u30eb\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u30dd\u30fc\u30c8\u3092\u958b\u653e\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"code\">\n[panda@pandanote.info ~]$ sudo firewall-cmd &#45;&#45;zone=FedoraServer &#45;&#45;add-rich-rule=&#8221;rule family=ipv6 destination address=&lt;IPv6 address&gt; port port=4001 protocol=tcp accept&#8221;<br \/>\n[sudo] panda \u306e\u30d1\u30b9\u30ef\u30fc\u30c9:<br \/>\nsuccess<br \/>\n[panda@pandanote.info ~]$ sudo firewall-cmd &#45;&#45;zone=FedoraServer &#45;&#45;add-rich-rule=&#8221;rule family=ipv6 destination address=&lt;IPv6 address&gt; port port=4001 protocol=udp accept&#8221;<br \/>\nsuccess<br \/>\n[panda@pandanote.info ~]$ sudo firewall-cmd &#45;&#45;zone=FedoraServer &#45;&#45;add-rich-rule=&#8221;rule family=ipv6 destination address=&lt;IPv6 address&gt; port port=4001 protocol=tcp accept&#8221; &#8211;permanent<br \/>\nsuccess<br \/>\n[panda@pandanote.info ~]$ sudo firewall-cmd &#45;&#45;zone=FedoraServer &#45;&#45;add-rich-rule=&#8221;rule family=ipv6 destination address=&lt;IPv6 address&gt; port port=4001 protocol=udp accept&#8221; &#8211;permanent<br \/>\nsuccess<\/div>\n<p>&nbsp;<\/p>\n<h2>IPFS\u30ce\u30fc\u30c9\u306e\u8a66\u904b\u8ee2<\/h2>\n<h3>\u30ce\u30fc\u30c9\u306e\u521d\u671f\u5316<\/h3>\n<p>\u8a2d\u5b9a\u304c\u3067\u304d\u305f\u3089ipfs init\u3092\u5b9f\u884c\u3057\u3066\u3001\u30ce\u30fc\u30c9\u3092\u521d\u671f\u5316\u3057\u307e\u3059\u3002<\/p>\n<div class=\"code\">\n[panda@pandanote.info ~]$ ipfs init<br \/>\ngenerating ED25519 keypair&#8230;done<br \/>\npeer identity: &lt;hash&gt;<br \/>\ninitializing IPFS node at \/home\/panda\/.ipfs<br \/>\nto get started, enter:<\/p>\n<p>        ipfs cat \/ipfs\/QmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc\/readme<\/p><\/div>\n<p>&nbsp;<br \/>\nIPFS\u306e\u30ce\u30fc\u30c9\u3092\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u76f4\u4e0b\u306e.ipfs\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u751f\u6210\u3057\u305f\u65e8\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u4e0a\u8a18\u306e\u51fa\u529b\u306bIPFS\u306eREADME\u306eIPFS\u4e0a\u3067\u306e\u7f6e\u304d\u5834\u304c\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u898b\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/pandanote.info\/?attachment_id=8214\" rel=\"attachment wp-att-8214\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2021\/12\/ipfs_on_fedora35_20211204-300x264.png\" alt=\"\" width=\"300\" height=\"264\" class=\"alignnone size-medium wp-image-8214\" srcset=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2021\/12\/ipfs_on_fedora35_20211204-300x264.png 300w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2021\/12\/ipfs_on_fedora35_20211204-660x580.png 660w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2021\/12\/ipfs_on_fedora35_20211204.png 672w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u7aef\u672b\u306b\u3088\u3063\u3066\u306fAA\u306e\u8868\u793a\u304c\u5d29\u308c\u308b\u3053\u3068\u304c\u3042\u308b\u306e\u3067\u3001\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u3067\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001peer identity\u306e\u884c\u306b\u8868\u793a\u3055\u308c\u308b\u30cf\u30c3\u30b7\u30e5\u5024\u306f\u521d\u671f\u5316\u3057\u305f\u30ce\u30fc\u30c9\u306eID\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u30ce\u30fc\u30c9\u306e\u521d\u671f\u5316\u5f8c\u3067\u3042\u3063\u3066\u3082\u5fc5\u8981\u306b\u5fdc\u3058\u3066ipfs id\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"code\">[panda@pandanote.info ~]$ ipfs id<br \/>\n{<br \/>\n        &#8220;ID&#8221;: &#8220;12D3KooWAvFheJxW9Em7TKXS9W5jwjnF7BMriUQjLpKHD8RWPN66&#8221;,<br \/>\n(\u4ee5\u4e0b\u7565)<br \/>\n}<\/div>\n<p>&nbsp;<\/p>\n<p>ID\u30ad\u30fc\u306b\u5bfe\u5fdc\u3059\u308b\u5024\u304c\u521d\u671f\u5316\u3057\u305f\u30ce\u30fc\u30c9\u306eID\u3067\u3059\u3002<\/p>\n<h3>IPFS\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u30b5\u30a4\u30ba\u306e\u78ba\u8a8d<\/h3>\n<p>IPFS\u306e\u30ce\u30fc\u30c9\u306b\u306a\u308b\u306e\u3067\u3001IPFS\u304c\u4f7f\u7528\u3067\u304d\u308b\u30b9\u30c8\u30ec\u30fc\u30b8\u30b5\u30a4\u30ba\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>IPFS\u304c\u4f7f\u7528\u3067\u304d\u308b\u30b9\u30c8\u30ec\u30fc\u30b8\u30b5\u30a4\u30ba\u306f.ipfs\/config\u30d5\u30a1\u30a4\u30eb\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"code\">[panda@pandanote.info ~]$ grep StorageMax .ipfs\/config<br \/>\n    &#8220;StorageMax&#8221;: &#8220;10GB&#8221;,<\/div>\n<p>&nbsp;<br \/>\n\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u4e0a\u8a18\u306e\u8a2d\u5b9a\u5024\u3092\u5909\u66f4\u3059\u308b\u3079\u304d\u3068\u3053\u308d\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u5bb9\u91cf\u306b\u82e5\u5e72\u306e\u4f59\u88d5\u306e\u3042\u308bPC\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u5909\u66f4\u305b\u305a\u306b\u305d\u306e\u307e\u307e\u4f7f\u7528\u3059\u308b\u3053\u3068\u3068\u3057\u307e\u3057\u305f\u3002<\/p>\n<h3>daemon\u306e\u5b9f\u884c<\/h3>\n<p>\u521d\u671f\u5316\u304c\u5b8c\u4e86\u3057\u305f\u3068\u3053\u308d\u3067\u3001\u5225\u7aef\u672b\u304b\u3089ipfs daemon\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p>\u3059\u308b\u3068\u3001\u8a2d\u5b9a\u306b\u554f\u984c\u304c\u306a\u3051\u308c\u3070\u2026<\/p>\n<div class=\"code\">[panda@pandanote.info ~]$ ipfs daemon<br \/>\nInitializing daemon&#8230;<br \/>\ngo-ipfs version: 0.10.0<br \/>\nRepo version: 11<br \/>\nSystem version: amd64\/linux<br \/>\nGolang version: go1.16.8<br \/>\nSwarm listening on \/ip4\/127.0.0.1\/tcp\/4001<br \/>\nSwarm listening on \/ip4\/127.0.0.1\/udp\/4001\/quic<br \/>\n(\u4e2d\u7565, \u5916\u5411\u3051\u306eIP\u30a2\u30c9\u30ec\u30b9\u3068listen\u3059\u308b\u30dd\u30fc\u30c8\u756a\u53f7\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002)<br \/>\nSwarm listening on \/ip6\/::1\/tcp\/4001<br \/>\nSwarm listening on \/ip6\/::1\/udp\/4001\/quic<br \/>\nSwarm listening on \/p2p-circuit<br \/>\nSwarm announcing \/ip4\/127.0.0.1\/tcp\/4001<br \/>\nSwarm announcing \/ip4\/127.0.0.1\/udp\/4001\/quic<br \/>\n(\u4e2d\u7565, announce\u306e\u5bfe\u8c61\u3068\u306a\u308b\u5916\u5411\u3051\u306eIP\u30a2\u30c9\u30ec\u30b9\u53ca\u3073\u30dd\u30fc\u30c8\u756a\u53f7\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002)<br \/>\nSwarm announcing \/ip6\/::1\/tcp\/4001<br \/>\nSwarm announcing \/ip6\/::1\/udp\/4001\/quic<br \/>\nAPI server listening on \/ip4\/127.0.0.1\/tcp\/5001<br \/>\nWebUI: http:\/\/127.0.0.1:5001\/webui<br \/>\nGateway (readonly) server listening on \/ip4\/127.0.0.1\/tcp\/8080<br \/>\nDaemon is ready<\/div>\n<p>&nbsp;<\/p>\n<p>\u3068\u8868\u793a\u3055\u308c\u3066\u3001daemon\u304cforeground\u3067\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<h3>\u63a5\u7d9a\u72b6\u6cc1\u306e\u78ba\u8a8d<\/h3>\n<p>\u63a5\u7d9a\u72b6\u6cc1\u306fipfs swarm peers\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"code\">[panda@pandanote.info ~]$ ipfs swarm peers<br \/>\n(\u63a5\u7d9a\u53ef\u80fd\u306apeer\u306e\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u7d50\u69cb\u9577\u3044\u3067\u3059\u3002)<\/div>\n<p>&nbsp;<\/p>\n<h3>\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/h3>\n<p>\u300c\u30ce\u30fc\u30c9\u306e\u521d\u671f\u5316\u300d\u306e\u7bc0\u306e\u753b\u50cf\u3092\u8a66\u3057\u306bIPFS\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u300cipfs_on_fedora35_20211204.png\u300d\u3068\u3057\u3066\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<div class=\"code\">[panda@pandanote.info ~]$ ipfs add ipfs_on_fedora35_20211204.png          added QmXix6awDMwNPU8PeLmQbNfxzvV48GuV7h4oGpugWwwRW7 ipfs_on_fedora35_20211204.png<br \/>\n 98.47 KiB \/ 98.47 KiB [===============================================] 100.00%<\/div>\n<p>&nbsp;<\/p>\n<p>\u3053\u308c\u3067\u4ee5\u4e0b\u306eURL\u306b\u30a2\u30af\u30bb\u30b9\u3092\u3059\u308b\u3068\u3001\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059(\u8868\u793a\u306b\u6642\u9593\u3092\u8981\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059)\u3002<\/p>\n<ol>\n<li><a href=\"https:\/\/cloudflare-ipfs.com\/ipfs\/QmXix6awDMwNPU8PeLmQbNfxzvV48GuV7h4oGpugWwwRW7\">https:\/\/cloudflare-ipfs.com\/ipfs\/QmXix6awDMwNPU8PeLmQbNfxzvV48GuV7h4oGpugWwwRW7<\/a><\/li>\n<li><a href=\"https:\/\/ipfs.io\/ipfs\/QmXix6awDMwNPU8PeLmQbNfxzvV48GuV7h4oGpugWwwRW7\">https:\/\/ipfs.io\/ipfs\/QmXix6awDMwNPU8PeLmQbNfxzvV48GuV7h4oGpugWwwRW7<\/a><\/li>\n<\/ol>\n<p>Brave browser\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u306b\u306f\u3001\u4ee5\u4e0b\u306eURL\u3067\u3082\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059(Brave browser\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308bIPFS Gateway\u3092\u7d4c\u7531\u3057\u3066IPFS\u3078\u306e\u30a2\u30af\u30bb\u30b9\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059)\u3002<\/p>\n<p><a href=\"ipfs:\/\/bafybeieln6pm3xkyz4idfhskdbeybgif44pq7mrw4qhfmbgfbyjnos7vva\/\">ipfs:\/\/bafybeieln6pm3xkyz4idfhskdbeybgif44pq7mrw4qhfmbgfbyjnos7vva\/<\/a><\/p>\n<h2>daemon\u306e\u30b5\u30fc\u30d3\u30b9\u5316<\/h2>\n<p>ipfs daemon\u30b3\u30de\u30f3\u30c9\u3092PC\u306e\u8d77\u52d5\u3054\u3068\u306b\u5b9f\u884c\u3059\u308b\u306e\u306f\u9762\u5012\u3067\u3042\u308b\u4e0a\u306b\u5fd8\u308c\u304c\u3061\u306a\u306e\u3067\u3001\u30b5\u30fc\u30d3\u30b9\u5316\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/pandanote.info\/?p=5864\">\u3053\u306e\u8a18\u4e8b<\/a>\u306egrowi.service\u3092\u53c2\u8003\u306b\u30b5\u30fc\u30d3\u30b9\u306e\u30e6\u30cb\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb(ipfs.service)\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u203bIPFS\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u76f4\u5f8c\u306f\u30e6\u30cb\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u8d77\u52d5\u3059\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8(startipfs.sh)\u3092\u66f8\u3044\u3066\u3044\u307e\u3057\u305f\u304c\u3001ipfs\u306f\u30e1\u30e2\u30ea\u3092\u304b\u306a\u308a\u6d88\u8cbb\u3059\u308b\u305f\u3081\u306bOOM Killer\u3067kill\u3055\u308c\u308b\u73fe\u8c61\u304c\u983b\u767a\u3057\u305f\u305f\u3081\u3001\u30b5\u30fc\u30d3\u30b9\u306e\u30e6\u30cb\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb(ipfs.service)\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u306b\u5909\u66f4\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>ipfs.service\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/h3>\n<p>ipfs.service\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<br \/>\n<script src=\"https:\/\/gist.github.com\/pandanote-info\/756b23a357aaaa0d8e00d491007adb22.js\"><\/script><\/p>\n<h3>ipfs.service\u306e\u6982\u8981\u306e\u8aac\u660e<\/h3>\n<p>\u524d\u7bc0\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u6982\u8981\u306e\u8aac\u660e\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>User\u53ca\u3073WorkingDirectory\u306fIPFS\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u884c\u3063\u305f\u30e6\u30fc\u30b6\u53ca\u3073IPFS\u30ce\u30fc\u30c9\u304c\u4f7f\u7528\u3059\u308b\u30c7\u30fc\u30bf\u4e00\u5f0f\u3092\u7f6e\u304f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a\u3057\u307e\u3059(5,6\u884c\u76ee)\u3002<\/li>\n<li>ipfs\u306f\u30e1\u30e2\u30ea\u3092\u6d88\u8cbb\u3059\u308b\u305f\u3081\u306bOOM Killer\u306b\u72d9\u308f\u308c\u304c\u3061\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001OOMScoreAdjust\u3092-1000\u306b\u8a2d\u5b9a\u3057\u3066OOM Killer\u306b\u3088\u308b\u5f37\u5236\u7d42\u4e86\u306e\u5b9f\u884c\u5bfe\u8c61\u304b\u3089\u9664\u5916\u3057\u307e\u3059(7\u884c\u76ee)\u3002<\/li>\n<li>\u8d77\u52d5\u6642\u306b\u306fenable-namesys-pubsub\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\u3057\u3066\u3001IPNS\u304c\u5229\u7528\u3067\u304d\u308b(=\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u6539\u5584\u3059\u308b)\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059(8\u884c\u76ee\u3002IPNS\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/pandanote.info\/?p=8226\">\u6b21\u306e\u8a18\u4e8b<\/a>\u53c2\u7167\u3067\u3059)\u3002<\/li>\n<\/ul>\n<h3>\u30e1\u30e2\u30ea\u3092\u6d88\u8cbb\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306e\u81ea\u52d5\u5b9f\u884c\u306e\u6291\u6b62<\/h3>\n<p>IPFS\u3068\u306f\u76f4\u63a5\u95a2\u9023\u3057\u307e\u305b\u3093\u304c\u3001OOM Killer\u306e\u5b9f\u884c\u72b6\u6cc1\u3092\u89b3\u5bdf\u3057\u3066\u3044\u305f\u3068\u3053\u308d\u3001dnf\u306b\u3088\u308b\u81ea\u52d5\u30d1\u30c3\u30b1\u30fc\u30b8\u66f4\u65b0\u7528\u306e\u30b3\u30de\u30f3\u30c9\u304c\u304b\u306a\u308a\u983b\u7e41\u306bOOM Killer\u306e\u990c\u98df\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3042\u308b\u7a0b\u5ea6\u306e\u6642\u9593\u306b\u308f\u305f\u308a\u9023\u7d9a\u3057\u3066\u7a3c\u50cd\u3055\u305b\u308b\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d0\u306b\u5bfe\u3057\u3066\u81ea\u52d5\u30d1\u30c3\u30b1\u30fc\u30b8\u66f4\u65b0\u3092\u884c\u3046\u3068\u4e88\u671f\u305b\u306c\u30c8\u30e9\u30d6\u30eb\u3092\u5f15\u304d\u8d77\u3053\u3059\u6050\u308c\u304c\u3042\u308a\u305d\u3046\u3067\u3059\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u3092\u6291\u6b62\u3057\u307e\u3059\u3002<\/p>\n<div class=\"code\"># systemctl disable dnf-makecache.timer<\/div>\n<p>&nbsp;<\/p>\n<h3>\u8a66\u904b\u8ee2<\/h3>\n<p>\u8a66\u904b\u8ee2\u306e\u524d\u306b\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001\u8ffd\u52a0\u3057\u305f\u30e6\u30cb\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u304c\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<div class=\"code\">[panda@pandanote.info ~]$ sudo systemctl daemon-reload<\/div>\n<p>&nbsp;<br \/>\n\u8d77\u52d5\u2192\u505c\u6b62\u306e\u9806\u3067\u5b9f\u884c\u3057\u3001\u52d5\u304f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<div class=\"code\"># ps aux | grep ipfs<br \/>\nroot      105863  0.0  0.2 221672  2172 pts\/0    S+   21:20   0:00 grep &#8211;color=auto ipfs<br \/>\n# systemctl start ipfs<br \/>\n# ps aux | grep ipfs<br \/>\npanda       1127 15.6 38.3 1988428 379156 ?      Ssl  17:02  49:08 \/usr\/local\/bin\/ipfs daemon &#8211;enable-gc &#8211;enable-namesys-pubsub<br \/>\npanda       7910  0.0  0.2 221800  2420 pts\/0    S+   22:16   0:00 grep &#8211;color=auto ipfs<br \/>\n# systemctl stop ipfs<br \/>\n# ps aux | grep ipfs<\/div>\n<p>&nbsp;<br \/>\n\u554f\u984c\u306a\u3055\u305d\u3046\u3067\u3059\u3002\ud83d\udc4d<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3053\u3053\u307e\u3067\u306e\u624b\u9806\u306b\u3088\u308b\u4f5c\u696d\u624b\u9806\u3067Fedora 35\u3067IPFS\u306e\u30ce\u30fc\u30c9\u3092\u7acb\u3061\u4e0a\u3052\u308b\u3053\u3068\u304c\u3067\u304d\u305f\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u72b6\u614b\u3067\u3057\u3070\u3089\u304f\u69d8\u5b50\u3092\u898b\u3064\u3064\u3001IPFS\u306b\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u3092\u7f6e\u3044\u305f\u308a\u306a\u3069\u3057\u3066\u307f\u305f\u3044\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u306f\u4ee5\u4e0a\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b Tezos\u3084NFT\u306e\u6587\u732e\u3092\u3044\u304f\u3064\u304b\u8aad\u3093\u3067\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u9014\u4e2d\u3067\u300cIPFS\u300d\u3068\u3044\u3046\u30ad\u30fc\u30ef\u30fc\u30c9\u304c\u76ee\u306b\u5165\u308a\u307e\u3057\u305f\u3002 \u3082\u3046\u5c11\u3057\u8abf\u3079\u3066\u307f\u308b\u3068\u3001IPFS\u3068\u306f\u60d1\u661f\u9593(InterPlanetary(!))\u306e\u5206\u6563\u578b\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u3088\u3046\u3067\u3059\u3002 \u5206\u6563\u578b\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306a\u306e\u3067\u3001\u516c\u958b\u3057\u3066\u3082\u3088\u3044\u30b3\u30f3\u30c6\u30f3\u30c4\u3067\u3042\u308c\u3070\u7f6e\u304f\u3053\u3068\u304c\u3067\u304d\u305d\u3046\u3067\u3059\u3002 \u4ee5\u4e0a\u3001\u96d1\u306a\u8aac\u660e\u3067\u3057\u305f\u3002\ud83d\ude47 IPFS\u306fIPFS\u306a\u308a\u306b\u9762\u767d\u305d\u3046\u3060\u3068\u601d\u3063\u305f\u306e\u3067\u2026 <span class=\"read-more\"><a href=\"https:\/\/pandanote.info\/?p=8205\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":8214,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41,8,15],"tags":[],"class_list":["post-8205","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cryptocurrency-","category-fedora","category-pc"],"_links":{"self":[{"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/posts\/8205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pandanote.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8205"}],"version-history":[{"count":21,"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/posts\/8205\/revisions"}],"predecessor-version":[{"id":8860,"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/posts\/8205\/revisions\/8860"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/media\/8214"}],"wp:attachment":[{"href":"https:\/\/pandanote.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandanote.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandanote.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}