Skip to content

Latest commit

 

History

History
61 lines (59 loc) · 1.67 KB

README.md

File metadata and controls

61 lines (59 loc) · 1.67 KB

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.

Sudoers permissions

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

Zram swap

Edit zramswap file: sudo vim /etc/default/zramswap:

ALGO=lz4
PERCENT=25

Running the installer script

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

Post-Install (Optional)

Enable kali repositories (needed for install-pen-pkgs.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