Fresh Debian Trixie (Testing) Install
If the Debian Trixie installation fails, resort to installing Debian Bookworm netinst CD image and later update to Debian Trixie.
Login as root and install sudo:
su -
apt install sudo vim git zram-tools
/usr/sbin/usermod -aG sudo twilightAdd myself to sudoers file: vim /etc/sudoers:
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) NOPASSWD: ALLEdit zramswap file: sudo vim /etc/default/zramswap:
ALGO=lz4
PERCENT=25Check if you're on debian trixie:
lsb_release -a
cat /etc/os-releaseIf you're on bookworm, update to debian trixie.
You also need to uncomment the lines with deb-src if they're commented out.
sudo sed -i 's/bookworm/trixie/g' /etc/apt/sources.listUpdate changes and reboot:
sudo apt update
sudo apt upgrade
sudo rebootExecute the install.sh script:
git clone --depth=1 https://github.com/Twilight4/debian-setup.git
cd debian-setup
./install.shEdit apt repositories: sudo vim /etc/apt/sources.list
# See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/
deb http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmwareAdd Kali GPG Key:
wget -q -O - https://archive.kali.org/archive-key.asc | sudo apt-key add -Update changes:
sudo apt update
sudo apt upgrade