ipfs stuff
This commit is contained in:
parent
8539b23940
commit
701c052cc0
|
@ -26,7 +26,7 @@ if [[ $(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | ta
|
||||||
echo "ipfs daemon already running...! Must STOP ipfs AND remove ~/.ipfs to install again !!"
|
echo "ipfs daemon already running...! Must STOP ipfs AND remove ~/.ipfs to install again !!"
|
||||||
ipfs id && echo "ipfs swarm peers: " && ipfs swarm peers
|
ipfs id && echo "ipfs swarm peers: " && ipfs swarm peers
|
||||||
echo "ipfs bootstrap list: " && ipfs bootstrap list
|
echo "ipfs bootstrap list: " && ipfs bootstrap list
|
||||||
echo "Please RUN : sudo systemctl stop ipfs"
|
echo "Please RUN : sudo service ipfs stop"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ echo "INSTALL ipfs 0.7.0 >>>>>>>>>>>>>>>>>>>>>>>>>>"
|
||||||
sudo ipfs-update install 0.7.0 || err "Install IPFS"
|
sudo ipfs-update install 0.7.0 || err "Install IPFS"
|
||||||
|
|
||||||
## Special Xbian init.d config
|
## Special Xbian init.d config
|
||||||
if [[ -f ~/.zen/astrXbian/.install/templates/ipfs/ipfs-initV.sh ]]; then
|
if [[ -f ~/.zen/astrXbian/.install/templates/ipfs/ipfs-initV.sh ]]; then
|
||||||
sudo cp ~/.zen/astrXbian/.install/templates/ipfs/ipfs-initV.sh /etc/init.d/ipfs
|
sudo cp ~/.zen/astrXbian/.install/templates/ipfs/ipfs-initV.sh /etc/init.d/ipfs
|
||||||
sudo chmod 755 /etc/init.d/ipfs
|
sudo chmod 755 /etc/init.d/ipfs
|
||||||
sudo touch /var/log/ipfs.log && sudo chown xbian /var/log/ipfs.log
|
sudo touch /var/log/ipfs.log && sudo chown xbian /var/log/ipfs.log
|
||||||
|
|
|
@ -7,7 +7,7 @@ sudo apt install git fail2ban curl net-tools libsodium23 libsodium-dev python3-d
|
||||||
pip3 install cryptography Ed25519 base58 google protobuf
|
pip3 install cryptography Ed25519 base58 google protobuf
|
||||||
|
|
||||||
# git clone astrXbian
|
# git clone astrXbian
|
||||||
mkdir ~/.zen
|
mkdir -p ~/.zen
|
||||||
cd ~/.zen
|
cd ~/.zen
|
||||||
git clone https://git.p2p.legal/axiom-team/astrXbian.git
|
git clone https://git.p2p.legal/axiom-team/astrXbian.git
|
||||||
########################################################################
|
########################################################################
|
||||||
|
|
Loading…
Reference in New Issue