Update DebianTweaks.sh
This commit is contained in:
@@ -58,25 +58,25 @@ chmod 444 /sys/devices/virtual/dmi/id/product_serial
|
||||
systemctl restart snmpd
|
||||
|
||||
echo "--------------------"
|
||||
echo Debian Bookworm apt sources
|
||||
cat > /etc/apt/sources.list << "EOF"
|
||||
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
|
||||
deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
|
||||
deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
|
||||
deb-src http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
|
||||
deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
|
||||
deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
|
||||
#echo Debian Bookworm apt sources
|
||||
#cat > /etc/apt/sources.list << "EOF"
|
||||
#deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
|
||||
#deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
|
||||
#deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
|
||||
#deb-src http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
|
||||
#deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
|
||||
#deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
|
||||
EOF
|
||||
cd $HOME
|
||||
wget https://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2024.9.1_all.deb
|
||||
apt install ./deb-multimedia-keyring_2024.9.1_all.deb
|
||||
cat >> /etc/apt/sources.list.d/multimedia.list << "EOF"
|
||||
deb [arch=amd64 signed-by=/usr/share/keyrings/deb-multimedia-keyring.pgp] https://www.deb-multimedia.org bookworm main non-free
|
||||
EOF
|
||||
curl -s https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo sh -c 'gpg --dearmor > /usr/share/keyrings/google-chrome-keyring.gpg'
|
||||
cat >> /etc/apt/sources.list.d/chrome.list << "EOF"
|
||||
deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome-keyring.gpg] http://dl.google.com/linux/chrome/deb/ stable main
|
||||
deb [arch=amd64 signed-by=/usr/share/keyrings/deb-multimedia-keyring.pgp] https://www.deb-multimedia.org trixie main non-free
|
||||
EOF
|
||||
#curl -s https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo sh -c 'gpg --dearmor > /usr/share/keyrings/google-chrome-keyring.gpg'
|
||||
#cat >> /etc/apt/sources.list.d/chrome.list << "EOF"
|
||||
#deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome-keyring.gpg] http://dl.google.com/linux/chrome/deb/ stable main
|
||||
#EOF
|
||||
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /usr/share/keyrings/packages.microsoft.gpg
|
||||
cat >> /etc/apt/sources.list.d/microsoft.list << "EOF"
|
||||
deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/debian/12/prod bookworm main
|
||||
|
||||
Reference in New Issue
Block a user