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 twilight
Add myself to sudoers file: vim /etc/sudoers
:
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) NOPASSWD: ALL
Edit zramswap file: sudo vim /etc/default/zramswap
:
ALGO=lz4
PERCENT=25
Check if you're on debian trixie:
lsb_release -a
cat /etc/os-release
If 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.list
Update changes and reboot:
sudo apt update
sudo apt upgrade
sudo reboot
Execute the install.sh
script:
git clone --depth=1 https://github.com/Twilight4/debian-setup.git
cd debian-setup
./install.sh
Edit 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-firmware
Add 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