From 4141c43313f61a6ce0a84122af6be49d12050b1e Mon Sep 17 00:00:00 2001 From: qo-op Date: Thu, 14 May 2020 16:40:34 +0200 Subject: [PATCH] yes you can --- .install/loveland.sh | 18 ++++++++++++++---- ANA/Readme.md | 3 ++- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.install/loveland.sh b/.install/loveland.sh index 7344ec3..11df630 100755 --- a/.install/loveland.sh +++ b/.install/loveland.sh @@ -23,7 +23,17 @@ YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail IPFSNODEID=$(ipfs id -f='\n') ################################## -## INSTALL TOOLS +## INSTALL +echo ' + ______ __ ____ ___ + / ____/___ ____ __ __/ / ____ _/ __ \____ _____/ (_)___ + / / / __ \/ __ \/ / / / / / __ `/ /_/ / __ `/ __ / / __ \ +/ /___/ /_/ / /_/ / /_/ / /___/ /_/ / _, _/ /_/ / /_/ / / /_/ / +\____/\____/ .___/\__, /_____/\__,_/_/ |_|\__,_/\__,_/_/\____/ + /_/ /____/ + +Multimedia Layer installation +' ######## YOUTUBE-DL ########## if [[ ! $(which youtube-dl) ]]; then sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl || exit 1 @@ -77,7 +87,7 @@ read nodename sudo sed -i "s/_SERVERNAME_/$nodename/g" /etc/nginx/conf.d/loveland.conf -# INSTALL LOVELand WebSite LINKs +echo "INSTALL LOVELand WebSite" if [[ ! -L /var/www/loveland ]]; then sudo ln -s /home/$YOU/.zen/astroport/www/LOVELand /var/www/loveland fi @@ -89,7 +99,7 @@ sudo rm -f /etc/nginx/sites-enabled/default sudo systemctl restart nginx || err=1 -echo "Trying to REstarting OASIS and find good 'host' options" +echo "Trying to REstart OASIS with good $nodename security options" kill -9 $(ps auxf --sort=+utime | grep -w oasis | grep -v -E 'color=auto|grep' | tail -n 1 | awk '{print $2}') extension=$(echo $nodename | cut -d '.' -f 2) myip=$(hostname -I | awk '{print $1}') @@ -98,7 +108,7 @@ isLAN=$(echo $myip | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|( if [[ ! $isLAN ]]; then oasis --allow-host $nodename 2>&1>/dev/null & echo "BE CAREFULL your SSB identity could be publicly controled..." - echo "BE CAREFULL your SSB identity could be publicly controled..." + echo "TODO correct 'Not Found' error (cors problem related)" else oasis --allow-host $nodename --host $nodename 2>&1>/dev/null & fi diff --git a/ANA/Readme.md b/ANA/Readme.md index b659bde..79d5d70 100644 --- a/ANA/Readme.md +++ b/ANA/Readme.md @@ -16,7 +16,7 @@ Each one opening a new "cabin" offering different interfaces and uses with the M - Cesium ease your life and manage all your wallets - Gchange is a market for your local and global exchanges -- Patchwork, Oasis, Feedless, ... and more Fabulous ScuttleButt Apps to come +- Patchwork, Oasis, Feedless, ... and more Fabulous ScuttleButt & IPFS Apps to come [CODE](https://git.p2p.legal/axiom-team/astroport) @@ -65,6 +65,7 @@ Let's join our efforts and invent protocols to make our systems able to communic ![https://solarpunk.cool/zines/map-is-the-territory/aesthetic/tmitt_dither.png] ``` +[[ ! -d ~/.zen ]] && mkdir ~/.zen cd ~/.zen/ curl -L coolguy.website/earth | grep "~~*" -A2 | tail -2 >> earth