Skip to content

Instantly share code, notes, and snippets.

@vladbabii
Last active April 24, 2024 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vladbabii/bd65932b553eb6d21acf44dd6c64951f to your computer and use it in GitHub Desktop.
Save vladbabii/bd65932b553eb6d21acf44dd6c64951f to your computer and use it in GitHub Desktop.
debian init
echo "#manual" > >> /etc/apt.sources.list
echo "deb https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware" >> /etc/apt.sources.list
echo "deb https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware" >> /etc/apt.sources.list
echo "deb https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware" >> /etc/apt.sources.list
echo "deb https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware" >> /etc/apt.sources.list
echo "deb https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware" >> /etc/apt.sources.list
apt update
apt install -y sudo
/usr/sbin/usermod -aG sudo blue
echo "blue ALL=(ALL) NOPASSWD: ALL" > "etc/sudoers"
echo "Acquire::http::Proxy \"http://10.11.9.154:3142\";" > /etc/apt/apt.conf.d/00aptproxy
apt update
apt upgrade -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment