GitBook for better(but less content) reading experience
*Kali 2021 version already using zsh by default. You probably won't setup that much. Just do powerlevel10K with mate/Konsole terminal
tips for Kali 2020.3: Restart the machine after installing oh-my-zsh. It's the most simple way to do it.
sudo dpkg-reconfigure kali-grant-root
- Goto
~/.config/qterminal.org
folder - Change
fontFamily
toFira Code
,Fira-Code
or something else and save exit. - All set, remember don't use Qterminal to do the above steps, otherwise, changes won't take place. Use editor directly open file instead.
- Should all working now. Either use mate-terminal or do it with GUI editor.
-
remove the %(percent sign) when starting a terminal
unsetopt PROMPT_SP
-
make tmux support 256 color
if [ "$TERM" != "xterm-256color" ]; then
export TERM=xterm-256color
fi
alias tmux='TERM=xterm-256color tmux -2'
- you know the drill
alias apt-get='sudo apt-get'
Better alternative choice https://mac.getutm.app/
- convert .iso to .qcow2
qemu-img convert kali.iso kali.qcow2
- Resize the QCOW2 image
qemu-img create -f qcow2 kali.qcow2 50G
- Magic (no warnings tested on Jul 2021)
qemu-system-x86_64 \
-m 8192 \
-cpu host \
-vga std \
-cdrom ./kali.iso \
-accel hvf \
-drive file=./kali.qcow2
Install:
qemu-system-x86_64 \
-m 8192 \
-cpu host \
-vga std \
-cdrom /Users/AlvinSmith/Images/Kali/kali-linux-2021.2-installer-amd64.iso \
-accel hvf \
-drive file=/Users/AlvinSmith/Images/Kali/kali-linux-2021.2-installer-amd64.qcow2
Run:
qemu-system-x86_64 \
-m 8192 \
-cpu host \
-device bochs-display \
-accel hvf \
-drive file=/Users/AlvinSmith/Images/Kali/kali-linux-2021.2-installer-amd64.qcow2
apt install apt-transport-https
https://www.kali.org/blog/kali-linux-repository-https-support/
https://gist.github.com/plembo/21d4a1579850f7fe84301a90f4fcdf9a