Browse Source

yes you can

dev-install-poka
qo-op 8 months ago
parent
commit
4141c43313
2 changed files with 16 additions and 5 deletions
  1. +14
    -4
      .install/loveland.sh
  2. +2
    -1
      ANA/Readme.md

+ 14
- 4
.install/loveland.sh View File

@ -23,7 +23,17 @@ YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail
IPFSNODEID=$(ipfs id -f='<id>\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

+ 2
- 1
ANA/Readme.md View File

@ -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

Loading…
Cancel
Save