Skip to content

Instantly share code, notes, and snippets.

View zakery1369's full-sized avatar
πŸ¦‚
Angry

Mohammad Zakery zakery1369

πŸ¦‚
Angry
View GitHub Profile
@zakery1369
zakery1369 / sources.list
Created May 20, 2025 06:40
Debian 12 sources.list
deb https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware
@zakery1369
zakery1369 / docker-installer.sh
Last active May 20, 2025 06:39
Debian Docker Auto-Installer Script
#!/bin/sh
sudo apt update
sudo apt upgrade -y
sudo apt autoremove -y
# Docker has restricted access to some countries
# echo "nameserver 192.168.X.X" | sudo tee /etc/resolv.conf >/dev/null
sudo apt install ca-certificates curl gnupg -y
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg