Official blog of KEINOS but mostly for my own reference. A Japanese made in Mexico with Mexican quality. Who monkey around the jungle of codes. ;-)

Project maintained by KEINOS Hosted on GitHub Pages — Theme by mattgraham



Create IPFS system user with no home

sudo useradd -m -r -s /sbin/nologin ipfs

Create IPFS systemd service

List peer nodes (Observe peers)

ipfs swarm peers

Wrap files with a directory object when adding to IPFS

ipfs add -w <file>

View all pinned files

ipfs pin ls

How to generate swarm-key for private IPFS network

How to set swarm-key for JS-IPFS

How to find/show the current peer ID of the node

# Show IPFS node id information
ipfs id

Run as a service via brew install

#To restart ipfs after an upgrade:
brew services restart ipfs
#Or, if you don't want/need a background service you can just run:
/usr/local/opt/ipfs/bin/ipfs daemon