yes you can
This commit is contained in:
parent
2b9749fd25
commit
4141c43313
|
@ -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')
|
IPFSNODEID=$(ipfs id -f='<id>\n')
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
## INSTALL TOOLS
|
## INSTALL
|
||||||
|
echo '
|
||||||
|
______ __ ____ ___
|
||||||
|
/ ____/___ ____ __ __/ / ____ _/ __ \____ _____/ (_)___
|
||||||
|
/ / / __ \/ __ \/ / / / / / __ `/ /_/ / __ `/ __ / / __ \
|
||||||
|
/ /___/ /_/ / /_/ / /_/ / /___/ /_/ / _, _/ /_/ / /_/ / / /_/ /
|
||||||
|
\____/\____/ .___/\__, /_____/\__,_/_/ |_|\__,_/\__,_/_/\____/
|
||||||
|
/_/ /____/
|
||||||
|
|
||||||
|
Multimedia Layer installation
|
||||||
|
'
|
||||||
######## YOUTUBE-DL ##########
|
######## YOUTUBE-DL ##########
|
||||||
if [[ ! $(which youtube-dl) ]]; then
|
if [[ ! $(which youtube-dl) ]]; then
|
||||||
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl || exit 1
|
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
|
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
|
if [[ ! -L /var/www/loveland ]]; then
|
||||||
sudo ln -s /home/$YOU/.zen/astroport/www/LOVELand /var/www/loveland
|
sudo ln -s /home/$YOU/.zen/astroport/www/LOVELand /var/www/loveland
|
||||||
fi
|
fi
|
||||||
|
@ -89,7 +99,7 @@ sudo rm -f /etc/nginx/sites-enabled/default
|
||||||
|
|
||||||
sudo systemctl restart nginx || err=1
|
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}')
|
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)
|
extension=$(echo $nodename | cut -d '.' -f 2)
|
||||||
myip=$(hostname -I | awk '{print $1}')
|
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
|
if [[ ! $isLAN ]]; then
|
||||||
oasis --allow-host $nodename 2>&1>/dev/null &
|
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 "BE CAREFULL your SSB identity could be publicly controled..."
|
echo "TODO correct 'Not Found' error (cors problem related)"
|
||||||
else
|
else
|
||||||
oasis --allow-host $nodename --host $nodename 2>&1>/dev/null &
|
oasis --allow-host $nodename --host $nodename 2>&1>/dev/null &
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -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
|
- Cesium ease your life and manage all your wallets
|
||||||
- Gchange is a market for your local and global exchanges
|
- 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)
|
[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]
|
![https://solarpunk.cool/zines/map-is-the-territory/aesthetic/tmitt_dither.png]
|
||||||
|
|
||||||
```
|
```
|
||||||
|
[[ ! -d ~/.zen ]] && mkdir ~/.zen
|
||||||
cd ~/.zen/
|
cd ~/.zen/
|
||||||
|
|
||||||
curl -L coolguy.website/earth | grep "~~*" -A2 | tail -2 >> earth
|
curl -L coolguy.website/earth | grep "~~*" -A2 | tail -2 >> earth
|
||||||
|
|
Loading…
Reference in New Issue