Boot up the virtual machince
Insert the “Guest Additions CD Image…” from the Devices menu
In the VM, open up Files/Nautilus or Dolphin and find the CD. Open a terminal in the same directory and execute the auto run script
sudo sh autorun.sh
It should pop up another window to install the guest additions. After it is installed, you’ll need to reboot the VM for the new changes to take effect.
The dig utility is apart of the dnsutils package
sudo apt-get install dnsutils -y
Posted in Command Line, Debian, Linux, Ubuntu |
Tagged apt, apt-get, debian, dig, DNS, install, kali, linux, ubuntu |
You can change the default shell for a Linux user with the following command. Change “/bin/bash” to whatever shell you want and replace USERNAME with the Linux user.
chsh /bin/bash USERNAME
Enter in the users password and then log out and back in and the users shell will be whatever shell you specified. In this case bash.
You can also do this by manually editing the /etc/passwd file. Find the user by their username, and then replace the last part of the line with the new shell path.
Some Linux distributions (like Kali Linux) use /bin/sh as the default shell for new users. Changing it to bash makes the shell a little more usable.
I had issues after installing Kali Linux with apt not working, ended up there were no repositories in the apt sources list, added the following line and did an apt-get update and everything started working.
Add this line to /etc/apt/sources.list
deb http://http.kali.org/kali kali-rolling main non-free contrib
And dist upgrade
You may need to reboot.
Run the following commands to update, and install the needed NVIDIA driver
apt-get install linux-headers-$(uname -r)
apt-get install nvidia-kernel-dkms nvidia-xconfig
Disable the nouveau driver, and reboot.
sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
You also might want to install these.
apt-get install nvidia-settings nvidia-smi nvidia-cuda-toolkit