From 5e33fa31998bc42491d5f9f8655a31333a52f97d Mon Sep 17 00:00:00 2001 From: qo-op Date: Sun, 13 Dec 2020 20:21:00 +0100 Subject: [PATCH] ipfs +++ --- .install/ipfs_alone.sh | 10 ---------- install.sh | 21 +++------------------ 2 files changed, 3 insertions(+), 28 deletions(-) diff --git a/.install/ipfs_alone.sh b/.install/ipfs_alone.sh index 28f82f4..dbd65d8 100755 --- a/.install/ipfs_alone.sh +++ b/.install/ipfs_alone.sh @@ -69,10 +69,6 @@ fi # INIT ipfs [[ $isLAN ]] && ipfs init -p lowpower \ || ipfs init -p server -# TODO try ipfs init --profile=badgerds (for better performance) -# https://discuss.ipfs.io/t/adding-content-to-ipfs-is-quite-slow-any-ideas-on-why-and-how-to-speed-things-up/8135/3 - -sudo chown -R $USER:$USER ~/.ipfs || exit 1 ########################################### # ACTIVATE IPFS OPTIONS: #swarm0 INIT @@ -101,11 +97,5 @@ ipfs bootstrap add /ip6/fe80::208:a2ff:fe0c:20d8/tcp/4001/p2p/12D3KooWBYme2BsNUr # AVOID CONFLICT WITH KODI REMOTE ipfs config Addresses.Gateway "/ip4/127.0.0.1/tcp/8181" -sudo service ipfs start || err "Start IPFS daemon" - -sleep 5 - -echo "Peers: " && ipfs swarm peers && sleep 0.3 - } # this ensures the entire script is downloaded # # IPFS CONFIG documentation: https://github.com/ipfs/go-ipfs/blob/master/docs/config.md#addressesswarm diff --git a/install.sh b/install.sh index 5a455c5..2c112ae 100755 --- a/install.sh +++ b/install.sh @@ -24,25 +24,10 @@ echo -e "${c_green}AstrXbian installer # Full automatic (you trust this git depot) curl -s $gitpath/.install/ipfs_alone.sh | bash || exit 1 -# Set environment variables -curl -s $gitpath/.install/sys_checkOS.sh noexec | bash || exit 1 +mkdir ~/.zen +cd ~/.zen +git clone https://git.p2p.legal/axiom-team/astrXbian.git -# SSB install (now using cesium+/gchange+) -# echo -e "${c_green}2. Ḡ1/ScuttleButt anoptical layer$c_" -# ONCE YOU READ and AGREE. Run TrustFull QUICK Install !! -# curl -s $gitpath/zen/tools/make_G1SSB_secret.sh | bash || exit 1 - - -# LOVEland install -curl -s $gitpath/.install/loveland.sh | bash || exit 1 - - - - - -# Customs install -## Nextcloud -[[ $args =~ nextcloud ]] && cd /home/$USER/.zen/astrXbian && sudo -E bash .install/nextcloud/install.sh echo -e "${c_green}Installation complete$c_"