Mix settings list (both for hardware install and virtualization):
[VM] Disable screen lock (Power Manager -> Display, Security -> OFF)[VM] Configure networks (+ remember to configure VBox DHCP first)[All] Update && Upgrade (+ change /etc/apt/sources.list to HTTPS if getting "403 Forbidden" because of AV)$ sudo apt update && sudo upgrade -y$ sudo reboot[VM] Install guest additions* Insert Guest Additions CD image and open terminal there$ cp /media/cdrom0/VBoxLinuxAdditions.run ~/Desktop && chmod 755 ~/Desktop/VBoxLinuxAdditions.run && sudo ~/Desktop/VBoxLinuxAdditions.run$ sudo reboot$ rm ~/Desktop/VBoxLinuxAdditions.run && sudo eject[ALL] Manage users* Enable root or create new userSWITCH {CASE (root):$ sudo -i$ passwd root* Re-login as rootCASE (non-root):$ sudo useradd -m -s /bin/bash -u 1337 snovvcrash$ sudo passwd snovvcrash$ sudo usermod -aG sudo snovvcrash* Re-login as snovvcrash}* Disable kali user [VM]SWITCH {CASE (lock):$ sudo usermod -L kali$ sudo usermod -s /sbin/nologin kali$ sudo chage -E0 kaliCASE (delete):$ sudo userdel -r kali}[ALL] Configure sudo* Increase sudo password timeout value or disable password prompt completely$ sudo visudoSWITCH {CASE (increase timeout):$ sudo sh -c 'echo "Defaults env_reset,timestamp_timeout=45" > /etc/sudoers.d/snovvcrash'CASE (disable password):$ sudo sh -c 'echo "snovvcrash ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/snovvcrash'}[ALL] Install cmake$ sudo apt install cmake -y[ALL] Clone dotfiles$ git clone https://github.com/snovvcrash/dotfiles-linux ~/.dotfiles[ALL] Run ~/.dotfiles/00-autoconfig scripts on the discretion
Known issues:
Configure multiple interfaces to work simultaneously:
$ cat /etc/network/interfaces# This file describes the network interfaces available on your system# and how to activate them. For more information, see interfaces(5).​source /etc/network/interfaces.d/*​# NATallow-hotplug eth0iface eth0 inet dhcp​# Internalallow-hotplug eth1iface eth1 inet dhcp​# Host-onlyallow-hotplug eth2iface eth2 inet dhcp​# The loopback network interfaceauto loiface lo inet loopback
$ ifup eth0$ ifup eth1$ ifup eth2
Mount:
$ mkdir ~/Desktop/Share$ mount -t vboxsf /mnt/share-host ~/Desktop/ShareOr (if mounted from VBox settings)$ ln -s /mnt/share-host ~/Desktop/Share​$ sudo adduser $USER vboxsf
Automount:
$ crontab -e"@reboot sleep 10; mount -t vboxsf /mnt/share-host ~/Desktop/Share"