Network Security

Kali installed, what next?

This port will be a part continuation to my Installing Kali on VirtualBox and what things to do once you have just done a basic Kali install.

 

One of the first thing i would suggest is to install the VirtualBox tools, this will improve your experience 10 fold, not least allowing you to use higher resolutions and boosting general VM performance.

 

Installing VirtualBox Guest Additions to your Kali Linux

The VirtualBox Guest Additions provide proper mouse and screen integration, as well as folder sharing, with your host operating system. To install them, proceed as follows.

Start up your Kali Linux virtual machine, open a terminal window and input the following commands.

apt-get update
apt-get install -y virtualbox-guest-x11
reboot

Whats Does: apt-get update do?

Simply it downloads the package lists from the repositories and “updates” them, getting information on the newest versions of packages and their dependencies. It will do this for all repositories More information can be found here – http://linux.die.net/man/8/apt-get

What Does: apt-get install -y virtualbox-guest-x11 do?

apt-get install is the start command to install a new package, in this case the VirtualBox Guest Tools. The -y is a switch to just auto answer Yes to any prompts. An interesting things you can do if unsure as to what packages and configs an install will do is to use the -s syntax. For example: “apt-get -s install “. It will simulate the install so you can scan the output.

Update Kali

like any OS after a fresh install theirs bound to be updates available.

with your terminal session still open or start a new one type in the following command:

apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y

What does: apt-get clean do?

apt-get clean clears out the local repository of past package files. It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/.

 

What does: && do?

This is a particularly useful syntax when you want to perform several tasks. && lets you run another command based on whether the previous command completed successfully.

 

What does: apt-get upgrade do?

Upgrade syntax is used to install any newest versions of all packages currently installed on the system from the sources. New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version.

 

What does: apt-get dist-upgrade do?

Dist-upgrade in addition to performing the function upgrade, also looks after changing dependencies with new versions of packages and will attempt to upgrade the most important packages at the expense of less important ones if necessary.

 

Leave a Reply

Your email address will not be published. Required fields are marked *