1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-12-26 08:41:57 -05:00

https Debian repositories

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2022-11-20 17:05:22 -05:00
parent 3d39e5594f
commit 96845e68db
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2
2 changed files with 12 additions and 1 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
find /etc/apt/sources.list.d -type f -exec sed -i 's/http:/https:/g' {} \;
apt update
apt upgrade -y
apt install -y tuned apparmor-profiles ufw

View File

@ -1,7 +1,16 @@
#!/bin/bash
sed -i '1 {s/^/#/}' /etc/apt/sources.list.d/pve-enterprise.list
sed -i 's/main contrib/main contrib non-free/' /etc/apt/sources.list
echo 'deb https://deb.debian.org/debian/ bullseye main contrib non-free
deb https://deb.debian.org/debian/ bullseye-updates main contrib non-free
# security updates
deb https://security.debian.org bullseye-security main contrib non-free
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription' | tee /etc/apt/sources.list
apt update
apt upgrade -y
apt install -y intel-microcode tuned apparmor-profiles fwupd