Add Lokinet app
parent
5677cc7f37
commit
bc58861001
@ -0,0 +1,2 @@
|
||||
This application is a product of ongoing research and various tool development of the Loki Foundation.
|
||||
https://loki.foundation/
|
@ -0,0 +1,5 @@
|
||||
Lokinet is an anonymous, decentralized and IP based overlay network for the internet.
|
||||
|
||||
Service Nodes on the Loki network will operate a low latency onion routing protocol, forming a fully decentralised overlay network, called Lokinet. Onion routing protocols allow for users to form tunnels or paths through a distributed network, using multiple nodes as hops to obfuscate the destination and origin of data packets.
|
||||
|
||||
The network does not rely on trusted authorities and its state is fully derived from the blockchain. Users can connect to individual Service Nodes and create bidirectional paths for packets to be routed through. The network can be used to access internally hosted services called SNApps. Users can utilise Service Nodes exit functionality to browse the external internet without their IP address being exposed.
|
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
@ -0,0 +1,54 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||
|
||||
function error {
|
||||
echo -e "\\e[91m$1\\e[39m"
|
||||
exit 1
|
||||
}
|
||||
clear='\033[0m'
|
||||
green='\033[1;32m'
|
||||
cyan='\033[1;36m'
|
||||
yellow='\033[0;33m'
|
||||
grey='\033[0;37m'
|
||||
echo -e "${green} __ __ _ __ "
|
||||
echo -e " / / ____ / /__(_)___ ___ / /_"
|
||||
echo -e " / / / __ \/ //_/ / __ \/ _ \/ __/ "
|
||||
echo -e " / /___/ /_/ / ,< / / / / / __/ /_"
|
||||
echo -e " /_____/\____/_/|_/_/_/ /_/\___/\__/ "
|
||||
echo -e "${yellow}Pi-Apps Installer by Minotaurware.net${grey}_______________ "
|
||||
echo -e "|___|___|___|___|___|___|___|___|___|___|___|___|___| "
|
||||
echo -e "|_|___|___|___|___|___|___|___|___|___|___|___|___|_| "
|
||||
echo -e "${clear}"
|
||||
echo "Install public key and add packages."
|
||||
|
||||
sudo modprobe tun
|
||||
sudo curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg
|
||||
echo "deb https://deb.oxen.io $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/oxen.list
|
||||
|
||||
echo "Resync package repositories."
|
||||
|
||||
sudo apt update
|
||||
|
||||
echo "Install Lokinet-GUI"
|
||||
|
||||
sudo apt install lokinet-gui -y
|
||||
|
||||
echo "Enable tun module in systemd"
|
||||
|
||||
if [ ! -e /etc/systemd/system/lokinet.service.d/override.conf ]; then
|
||||
echo "Apply systemd tun override"
|
||||
sudo mkdir /etc/systemd/system/lokinet.service.d/
|
||||
echo '[Service]' | sudo tee -a /etc/systemd/system/lokinet.service.d/override.conf >/dev/null
|
||||
echo 'ExecStartPre=+modprobe tun' | sudo tee -a /etc/systemd/system/lokinet.service.d/override.conf >/dev/null
|
||||
sudo systemctl daemon-reload
|
||||
fi
|
||||
|
||||
echo "Install resolvconf and configure"
|
||||
|
||||
sudo apt install resolvconf -y
|
||||
sudo resolvconf -u
|
||||
sudo systemctl restart lokinet
|
||||
#/usr/bin/lokinet-gui --notray >/dev/null 2>&1 &
|
||||
|
||||
echo "Installation complete!"
|
@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||
|
||||
function error {
|
||||
echo -e "\\e[91m$1\\e[39m"
|
||||
exit 1
|
||||
}
|
||||
|
||||
sudo apt remove lokinet-gui -y && sudo apt remove lokinet -y
|
||||
|
||||
if [ -e /etc/systemd/system/lokinet.service.d ]; then
|
||||
echo "removing systemd override"
|
||||
sudo rm -r /etc/systemd/system/lokinet.service.d
|
||||
fi
|
||||
|
||||
if [ -e /etc/systemd/system/lokinet.service ]; then
|
||||
echo "removing lokinet service"
|
||||
sudo rm /etc/systemd/system/lokinet.service
|
||||
fi
|
||||
|
||||
if [ -e /etc/systemd/system/lokinet-testnet.service ]; then
|
||||
echo "removing lokinet-testnet.service"
|
||||
sudo rm /etc/systemd/system/lokinet-testnet.service
|
||||
fi
|
||||
|
||||
sudo systemctl restart dhcpcd
|
@ -0,0 +1 @@
|
||||
https://lokinet.org/
|
Loading…
Reference in New Issue