ipfs listen to all ip addresses as default
This commit is contained in:
parent
cdf1e4eed3
commit
2d548cb995
@ -23,5 +23,9 @@ update-rc.d ipfs defaults
|
|||||||
# chmod 770 `whereis -b ipfs | cut -d ":" -f 1`
|
# chmod 770 `whereis -b ipfs | cut -d ":" -f 1`
|
||||||
# chown ipfs:ipfs `whereis -b ipfs | cut -d ":" -f 1`
|
# chown ipfs:ipfs `whereis -b ipfs | cut -d ":" -f 1`
|
||||||
|
|
||||||
|
## init ipfs
|
||||||
|
su ipfs -c "ipfs init"
|
||||||
|
#sed -i 's/127.0.0.1/0.0.0.0/g' /var/spool/ipfs/.ipfs/config
|
||||||
|
|
||||||
|
|
||||||
service ipfs start
|
service ipfs start
|
||||||
|
Loading…
Reference in New Issue
Block a user