Kali In the Lab
Instructions to get Kali Linux Running in the University PC's
Downloading a Pre Made Image
First you need to download the Pre Built Kali Image on my Onedrive
I have just stashed it in the Dowloads folder
Once it has finished downloading unzip the file.
Starting Virtual Box
Start Virtualbox.
- Go to the start menu
- Type Virt...
- Start the "Oracle Virtual Box" program
Adding the Virtual Machine
- Click Add (The Big Green Plus Icon)
- Navigate to where you unzipped the VM
- Select the
Kali-Linux-2020.3-vbox-amd64.vbox
file
Starting the VM
You can now start the VM by clicking run
Login with
- username: kali
- password: kali
Post Setup Steps
Depending on the version of the machine I uploaded you may also need to do the following.
You should only have to do this once, but the instructions are here incase you get a clean copy of the machine.
HTTP
It looks like the http repositorys are being blocked.
If you run any of the apt
commands and get a server error
Edit /etc/apt/sources-list
change the line
deb http://http.kali.org
to
deb https://http.kali.org
Add user to the docker group
This saves you having to type sudo
every time
- In a terminal type
sudo usermod -aG docker kali
- log out
- log back in
You can test if this has worked by typing docker ps
If it doenst error about permissions, then everything is good.
Install docker-compose
Docker compose gives us an easy way to install stacks of software.
First we need to install python3-pip
sudo apt install python3-pip
Then install docker-compose
sudo pip3 install docker-compose
You can test this now by typing docker-compose