Update 'setup_tor.sh'

This commit is contained in:
dimon 2024-08-21 17:53:43 +00:00
parent 3580356333
commit 0bf43ac210

View File

@ -1,25 +1,22 @@
#!/bin/sh
sh /setup_programs.sh
# libevent
wget --user ${FTP_USER} --password ${FTP_PASSWORD} ftp://${FTP_HOST}:${FTP_PORT}/libevent-2.1-6_2.1.8-stable-4build1_amd64.deb -O /tmp/libevent.deb
dpkg -i /tmp/libevent.deb
#gcc (>= 4:9)
#g++ (>= 4:9.2)
#dpkg-dev (>= 1.17.11)
# libc6
wget --user ${FTP_USER} --password ${FTP_PASSWORD} ftp://${FTP_HOST}:${FTP_PORT}/libc6_2.34-0ubuntu3_amd64.deb -O /tmp/libc6_2.34.deb
dpkg -i /tmp/libc6_2.34.deb
#apt show -a libc6
apt install libc6="2.31-0ubuntu9"
apt install build-essential
apt install --allow-downgrades -y libc6=2.35-0ubuntu3
# obfs4proxy
wget --user ${FTP_USER} --password ${FTP_PASSWORD} ftp://${FTP_HOST}:${FTP_PORT}/obfs4proxy_0.0.14-1build1_amd64.deb -O /tmp/obfs4proxy.deb
dpkg -i /tmp/obfs4proxy.deb
# libevent
wget --user ${FTP_USER} --password ${FTP_PASSWORD} ftp://${FTP_HOST}:${FTP_PORT}/libevent-2.1-6_2.1.8-stable-4build1_amd64.deb -O /tmp/libevent.deb
dpkg -i /tmp/libevent.deb
# libssl
wget --user ${FTP_USER} --password ${FTP_PASSWORD} ftp://${FTP_HOST}:${FTP_PORT}/libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb -O /tmp/libssl.deb
dpkg -i /tmp/libssl.deb
# tor
# see https://deb.torproject.org/torproject.org/pool/main/t/tor/
# see https://support.torproject.org/apt/tor-deb-repo/