This commit is contained in:
dpo9ScYw 2021-10-27 09:48:29 +02:00
parent 5d3c664747
commit 2c0d217c76
2 changed files with 39 additions and 5 deletions

View File

@ -0,0 +1,15 @@
#Turn off the network interface
ifconfig wlp3s0 down
#Change the interface's MAC to a random value
macchanger -r wlp3s0
#Turn on the network interface
ifconfig wlp3s0 up
#Connect to wireguard server
wg quick up contabo
#Clear output
echo Connect to the internet and press any key, system will be updated afterwards.
#Wait for input
read dummy
#Update the system
apt update
apt upgrade -y

View File

@ -1,23 +1,42 @@
# Update our system and repos
apt update
apt upgrade -y
user=$(whoami)
cp files/start.sh /home/$user/start.sh
#Copy the starting script to our home directory
cp files/start.sh ~/start.sh
#enable snap
mv /etc/apt/preferences.d/nosnap.pref ~
#Install snap
apt install -y snapd
#Install keepass and vscodium
snap install keepassxc
snap install codium
#Install wget
apt install -y wget apt-transport-https
#Add signal, element and microsoft repositories
get -O /usr/share/keyrings/element-io-archive-keyring.gpg https://packages.element.io/debian/element-io-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] https://packages.element.io/debian/ default main" | sudo tee /etc/apt/sources.list.d/element-io.list
wget -O- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg
cat signal-desktop-keyring.gpg | sudo tee -a /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' |\
tee -a /etc/apt/sources.list.d/signal-xenial.list
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
#Update repos
apt update
apt install element-desktop
apt install signal-desktop
apt install macchanger
#Install element, signal and macchanger and .NET SDK
apt install -y element-desktop
apt install -y signal-desktop
apt install -y macchanger
apt install -y dotnet-sdk-5.0