mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
Feat/use modern tor (#1575)
* Add guardian project repo and install latest stable tor * Apt appendage
This commit is contained in:
@@ -21,7 +21,7 @@ apt-mark hold raspberrypi-kernel
|
|||||||
|
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
tor \
|
apt-transport-https \
|
||||||
nginx \
|
nginx \
|
||||||
libavahi-client3 \
|
libavahi-client3 \
|
||||||
avahi-daemon \
|
avahi-daemon \
|
||||||
@@ -42,6 +42,13 @@ apt-get install -y \
|
|||||||
jq \
|
jq \
|
||||||
ncdu
|
ncdu
|
||||||
|
|
||||||
|
# Setup repository from The Guardian Project and install latest stable Tor daemon
|
||||||
|
touch /etc/apt/sources.list.d/tor.list
|
||||||
|
echo "deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org bullseye main" >> /etc/apt/sources.list.d/tor.list
|
||||||
|
echo "deb-src [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org bullseye main" >> /etc/apt/sources.list.d/tor.list
|
||||||
|
wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --dearmor | tee /usr/share/keyrings/tor-archive-keyring.gpg >/dev/null
|
||||||
|
apt update && apt install -y tor deb.torproject.org-keyring
|
||||||
|
|
||||||
curl -fsSL https://get.docker.com | sh # TODO: commit this script into git instead of live fetching it
|
curl -fsSL https://get.docker.com | sh # TODO: commit this script into git instead of live fetching it
|
||||||
|
|
||||||
apt-get purge openresolv dhcpcd5 -y
|
apt-get purge openresolv dhcpcd5 -y
|
||||||
|
|||||||
Reference in New Issue
Block a user