add requierements

change setup
This commit is contained in:
6543 2018-02-25 16:38:01 +01:00
parent 6a9fe3a833
commit 108af31c60
2 changed files with 4 additions and 1 deletions

View File

@ -1,8 +1,11 @@
# Install IPFS as Daemon # Install IPFS as Daemon



used on Debian based Distros used on Debian based Distros


apt-get install -y git wget tar gzip sudo
git clone https://github.com/6543/ipfs_daemon git clone https://github.com/6543/ipfs_daemon
cd ipfs_daemon
sudo ./setup-ipfs-daemon sudo ./setup-ipfs-daemon


ipfs sores its file on /var/spool/ipfs/.ipfs/ ipfs sores its file on /var/spool/ipfs/.ipfs/

View File

@ -62,7 +62,7 @@ cp go-ipfs/ipfs $AIM


#set permissions #set permissions
chmod 770 $AIM chmod 770 $AIM
chown ipfs:ipfs $AIM chown ipfs $AIM


## init ipfs ## init ipfs
export "HOME=$DATA_DIR" export "HOME=$DATA_DIR"